diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/clicks.py | 3 | ||||
| -rw-r--r-- | scripts/globals.py | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/scripts/clicks.py b/scripts/clicks.py index 91429d1f..c6f47d58 100644 --- a/scripts/clicks.py +++ b/scripts/clicks.py @@ -28,7 +28,8 @@ def def_press_model(action, win, type, modifiers, button, xroot, yroot, time): return if click_focus != 0: OBClient_focus(client) - print "OBClient_raise(client)" + if click_raise != 0: + print "OBClient_raise(client)" def def_click_root(action, win, type, modifiers, button, time): if type == Type_Root: diff --git a/scripts/globals.py b/scripts/globals.py index 025ba5b5..0a3389ec 100644 --- a/scripts/globals.py +++ b/scripts/globals.py @@ -18,6 +18,9 @@ client_buttons = ["A-1", "A-2", "A-3"] # click_focus - true if clicking in a client will cause it to focus in the # default hook functions click_focus = 0 +# click_raise - true if clicking in a client will cause it to raise to the +# top of its stacking layer +click_raise = 0 # enter_focus - true if entering a client window will cause it to focus in the # default hook functions enter_focus = 1 |
