
On Thu, Jan 31, 2008 at 08:20:53PM +0100, Andrea Rossato wrote:
On Thu, Jan 31, 2008 at 01:09:49PM -0600, Spencer Janssen wrote:
Think about what will happen when there are multiple visible workspaces -- ie. Xinerama.
actually we were discussing just that a couple of threads above with Brent, and we came up with a couple of class methods that could just solve this problem, by passing to the layout the Workspace it is going to be run on.
Brent rejected that, because it would bloat the LayoutClass. And he may have a point, as long as extending a class is bad.
as you know I don't get xinerama quite well, but as far as I get it in a xinerama setup a workspace cannot be in two screens at the same time.
Am I right?
cheers,
Andrea
The problem is that these EWMH events should be processed by the window manager only once, globally -- so we have a problem if two workspaces with the EWMH layout modifier are visible at the same time (this will always happen if the user defines it as part of their layout hook and there are two or more monitors).