projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2a893c
)
catch button presses on the client border (the plate's border)
author
Dana Jansens
<danakj@orodu.net>
Wed, 19 Feb 2003 12:12:32 +0000
(12:12 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 19 Feb 2003 12:12:32 +0000
(12:12 +0000)
src/frame.cc
patch
|
blob
|
history
diff --git
a/src/frame.cc
b/src/frame.cc
index d846692e0eb3417466343e8e3d5d8ab75b639bc0..94384b3d34817d621c1379c4e48471b472463efd 100644
(file)
--- a/
src/frame.cc
+++ b/
src/frame.cc
@@
-816,7
+816,9
@@
void Frame::grabClient()
_client->ignore_unmaps += 2;
// select the event mask on the client's parent (to receive config/map req's)
- XSelectInput(**otk::display, _plate, SubstructureRedirectMask);
+ // the ButtonPress is to catch clicks on the client border
+ XSelectInput(**otk::display, _plate, (SubstructureRedirectMask |
+ ButtonPressMask));
// map the client so it maps when the frame does
XMapWindow(**otk::display, _client->window());