GNOME Bugzilla – Bug 641997
nd-stack workarea code broken
Last modified: 2011-02-10 02:44:45 UTC
It uses the X protocol screen nr to pick from the _NET_WORKAREA array. But that array indexed by workspace, not by screen. You have to get _NET_CURRENT_DESKTOP (also a root window property), which gives you the index to use (and at least theoretically, the workare can change when the current desktop changes). I will probably end up adding a workarea api to GDK in 3.2