summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/move.c
diff options
context:
space:
mode:
authormaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-10 12:31:12 +0000
committermaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-10 12:31:12 +0000
commit42aad3a3eb4ee011cff406082108ca4691ebc8ab (patch)
tree7c9849a758f9ac1b9904ba5d59d22c8c01b748de /beryl-plugins/src/move.c
parent484527448ffe4e1506fe82f188018c27cb5a682f (diff)
downloadmarex-dev-42aad3a3eb4ee011cff406082108ca4691ebc8ab.tar.gz
marex-dev-42aad3a3eb4ee011cff406082108ca4691ebc8ab.tar.bz2
move plugin: end window move on button release, closes #59
git-svn-id: file:///beryl/trunk@1646 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/move.c')
-rw-r--r--beryl-plugins/src/move.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/beryl-plugins/src/move.c b/beryl-plugins/src/move.c
index a63f2ee..ba2d8c3 100644
--- a/beryl-plugins/src/move.c
+++ b/beryl-plugins/src/move.c
@@ -429,6 +429,7 @@ static void moveHandleEvent(CompDisplay * d, XEvent * event)
switch (event->type) {
case ButtonPress:
+ case ButtonRelease:
s = findScreenAtDisplay(d, event->xbutton.root);
if (s) {
MOVE_SCREEN(s);