]> Dogcows Code - chaz/openbox/blobdiff - scripts/stackedcycle.py
use the new atoms global
[chaz/openbox] / scripts / stackedcycle.py
index 49ac6848c6c0d0d3b93be98baf7d1df7e453f1c3..bfeaf31d918333ad601282b606c035f3881c26c8 100644 (file)
@@ -165,7 +165,7 @@ class _cycledata:
         if not (client.iconic() or client.desktop() == 0xffffffff or \
                 client.desktop() == self.screen.desktop()):
             root = self.screeninfo.rootWindow()
-            ob.send_client_msg(root, otk.Property_atoms().net_current_desktop,
+            ob.send_client_msg(root, otk.atoms.net_current_desktop,
                                root, client.desktop())
         
         # send a net_active_window message for the target
@@ -173,7 +173,7 @@ class _cycledata:
             if final: r = focuscycle.RAISE_WINDOW
             else: r = 0
             ob.send_client_msg(self.screeninfo.rootWindow(),
-                               otk.Property_atoms().openbox_active_window,
+                               otk.atoms.openbox_active_window,
                                client.window(), final, r)
 
     def cycle(self, data, forward):
This page took 0.0201 seconds and 4 git commands to generate.