From 3ca451fc00eccb2ded41cc4b02e51fd4ad0c3265 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 5 Feb 2003 16:24:00 +0000 Subject: [PATCH] use the new atoms global --- scripts/stackedcycle.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/stackedcycle.py b/scripts/stackedcycle.py index 49ac6848..bfeaf31d 100644 --- a/scripts/stackedcycle.py +++ b/scripts/stackedcycle.py @@ -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): -- 2.45.2