X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=scripts%2Ffocus.py;h=6bb6499283c13d2d659796dc4109b7ec7c376d83;hb=f6085d780192b805ef61678cdc0935a917cc2b3f;hp=e766f1344f7ace90ebab8b4c43533d09b389e64b;hpb=046df3e746fc608bf202419028549b9cff149db5;p=chaz%2Fopenbox diff --git a/scripts/focus.py b/scripts/focus.py index e766f134..6bb64992 100644 --- a/scripts/focus.py +++ b/scripts/focus.py @@ -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)