diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-19 12:12:32 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-19 12:12:32 +0000 |
| commit | 1dac42d9ed074bcd44f9d1016b0971ae473cc2eb (patch) | |
| tree | 33eaa56eddb6f6bfc4c55d80bb535f8b708e6066 /src | |
| parent | d2a893c0b12cf949b81e860ad11896b6a67d5190 (diff) | |
catch button presses on the client border (the plate's border)
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/frame.cc b/src/frame.cc index d846692e..94384b3d 100644 --- 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()); |
