]> Dogcows Code - chaz/openbox/blobdiff - scripts/focus.py
rm debug prints
[chaz/openbox] / scripts / focus.py
index e766f1344f7ace90ebab8b4c43533d09b389e64b..6bb6499283c13d2d659796dc4109b7ec7c376d83 100644 (file)
@@ -90,11 +90,8 @@ def _focused(data):
     global _doing_stacked
     global _cyc_w
 
-    print "FOCUSED " + str(data.client)
-    
     if data.client:
         if not _doing_stacked: # only move the window when we're not cycling
-            print "HI"
             win = data.client.window()
             # move it to the top
             _clients.remove(win)
@@ -102,7 +99,7 @@ def _focused(data):
         else: # if we are cycling, then update our pointer
             _cyc_w = data.client.window()
             _hilite_popup_list(data)
-    elif fallback: 
+    elif fallback:
         # pass around focus
         desktop = ob.openbox.screen(_cyc_screen).desktop()
         for w in _clients:
@@ -158,7 +155,7 @@ def _focus_stacked_ungrab(data):
             client = ob.openbox.findClient(_cyc_w)
             if client:
                 data.client = client
-                _focused(data) # resort the list as appropriate
+                #_focused(data) # resort the list as appropriate
                 if cycle_raise:
                     ob.openbox.screen(data.screen).raiseWindow(client)
 
This page took 0.020842 seconds and 4 git commands to generate.