catch button presses on the client border (the plate's border)
This commit is contained in:
parent
d2a893c0b1
commit
1dac42d9ed
1 changed files with 3 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue