Hi,
how do you do that? In normal session, this is how you do it with python:
import gtk
import wnck
def workspace_changed(screen):
workspace = screen.get_active_workspace()
print workspace.get_name()
screen = wnck.screen_get_default()
screen.connect("active_workspace_changed", workspace_changed)
gtk.main()
With compiz, that code does not work because compiz use only one
workspace (that is very very big). So how do you catch event when
workspace is changing in compiz session? Python api would be nice, but
C api is okay.
Thank you.
_______________________________________________
compiz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/compiz