Re: Beginner's Rep Question

Timo Korvola <[email protected]>
Newsgroups gmane.comp.window-managers.sawfish
Message-ID <[email protected]>
On 31.01.2013 00:42, Richard wrote:
> (rplacd (nth 2 (nth 3 b)) 100)
>   -> shows (right-edge . 100)
>
> Now is where it starts to go wrong.

Indeed.  Never use rplacd or any other destructive modifications on 
shared data.  Here you don't know what other windows might share the 
same frame definition or parts thereof.  Hence you need to make a copy 
of the frame definition, modify the copy and install it with 
set-window-frame.

Even so, your changes would be undone by reframe-window because it 
rebuilds the frame definition from the frame style.  It looks like you 
need to define your own frame style, which involves providing a function 
that constructs the frame definition.  You should find plenty of 
examples in the various themes.

-- 
	Timo Korvola		<URL:http://www.iki.fi/tkorvola>

-- 
Sawfish ML
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.