Re: [Sawfish] Beginner's Rep Question

[ Thread Index | Date Index | More lists.tuxfamily.org/sawfish Archives ]


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


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/