aboutsummaryrefslogtreecommitdiffstats
path: root/src/x.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-03-28 06:32:24 +0100
committerMattias Andrée <maandree@operamail.com>2015-03-28 06:32:27 +0100
commitda1eda0dbaa8bf4e1e01b1b06a6144c877b77f15 (patch)
treeab1ba81e021205a84412fb2f4fab00a2d209b6a5 /src/x.py
parentm todo (diff)
downloadxpybar-da1eda0dbaa8bf4e1e01b1b06a6144c877b77f15.tar.gz
xpybar-da1eda0dbaa8bf4e1e01b1b06a6144c877b77f15.tar.bz2
xpybar-da1eda0dbaa8bf4e1e01b1b06a6144c877b77f15.tar.xz
add rat button support
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/x.py')
-rw-r--r--src/x.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/x.py b/src/x.py
index 00252f6..da8c0f6 100644
--- a/src/x.py
+++ b/src/x.py
@@ -118,6 +118,7 @@ def create_panel(width, height, left, ypos, panel_height, at_top):
Xlib.X.CopyFromParent,
event_mask = (
Xlib.X.StructureNotifyMask |
+ Xlib.X.ButtonPressMask |
Xlib.X.ButtonReleaseMask |
Xlib.X.ExposureMask
),