summaryrefslogtreecommitdiff
path: root/scripts/globals.py
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-31 08:46:17 +0000
committerDana Jansens <danakj@orodu.net>2002-12-31 08:46:17 +0000
commitf7e3eb57294f9e73da2e342b503ca360485ae130 (patch)
tree17b11df55d04c342075e042347aa9c65abb51017 /scripts/globals.py
parent103372b02f783053c69f8f94db2c0e161f3e7d93 (diff)
add some globals to modify the default scripting behavior
Diffstat (limited to 'scripts/globals.py')
-rw-r--r--scripts/globals.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/globals.py b/scripts/globals.py
index 98f71c34..2a9d8240 100644
--- a/scripts/globals.py
+++ b/scripts/globals.py
@@ -6,4 +6,19 @@ screen = []
for i in range(Openbox_screenCount(openbox)):
screen.append(Openbox_screen(openbox, i))
+# client_buttons - a list of the modifier(s) and buttons which are grabbed on
+# client windows (for interactive move/resize, etc)
+# examples: "A-2", "C-A-2", "W-1"
+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
+# enter_focus - true if entering a client window will cause it to focus in the
+# default hook functions
+enter_focus = 1
+# leave_unfocus - true if leaving a client window will cause it to unfocus in
+# the default hook functions
+leave_unfocus = 1
+
print "Loaded globals.py"