Hello Tuomo,

    t> On 2006-01-31, Ulrich Pfeifer <[EMAIL PROTECTED]> wrote:
    >> Everything can be cleaned up manually and restarting a session before
    >> or after cleaning up does not change something.

    t> What do you mean? Does wrong layout persist over restarts or not?

it did persist.

    >> Has anybody seen this behavior?  I have started using gaim again, so
    >> there may be a connection - or *I* may be suffering from Alzheimer.

    t> Unless some script is messing up something, or there's some strange
    t> memory corruption going on, I'd bet on the latter...

I did switch back to an older snapshot as I needed the installation to
work.  Now that I have some time off I switched back.  I have not seen
the complete corruption yet.  But when e.g. "skype" (or gaim) starts
and especially when it shuts down, it sometimes not always throughly
de-arranges the workspaces.  After a few seconds workspaces are
re-sorted again.  What I saw earlier was probably the same without the
re-sorting phase.

I am using Xinerama and the attached two functions to "fold" Screen1
onto Screen0 when I leave my office.  Sometimes applications insist on
opening windows on the "invisible" empty Screen1 at home.  So I call
go_home() to force the windows on Screen0.  This leads sometimes to
ugly layouts for (ill behaved) applications.

The only other nonstandard thing I use is the "detach.lua" from the
script archive.

Ulrich Pfeifer

-- Xinerama configuration:
-- Screen               "Screen0"
-- Screen               "Screen1" LeftOf "Screen0"

function go_home ()
   local right_screen = ioncore.find_screen_id(0)
   local left_screen  = ioncore.find_screen_id(1)
   for _, r in WMPlex.llist(left_screen,1) do
       right_screen:attach(r)
   end
end

function to_other_screen (r)
   local left_screen  = ioncore.find_screen_id(1)
   local right_screen = ioncore.find_screen_id(0)
   local ws = ioncore.find_manager(r, "WGenWS")
   local sc = ioncore.find_manager(ws, "WScreen")
   if sc == left_screen then
        right_screen:attach(ws)
   else
        left_screen:attach(ws)
   end
end

Reply via email to