awesome/objects
Uli Schlachter 7dad0b3b87 Grab buttons on the child window
Since commit 102063dbbd, awesome is a reparenting WM. That means that we put our
own frame windows around child windows. This means that we have the option of
grabbing input events on the frame window or the child window. This commit chose
the frame window for this.

For keyboard events, this decision was already reverted in 532ec0cd90. This
commit does the same thing for mouse events.

This fixes the spurious leave/enter events that were visible on mouse clicks.
They occurred because the click activated a passive grab (all mouse events now
"belonged" to awesome). This passive grab caused the X server to inform clients
that they "lost" the mouse pointer (with the detail field set to "a grab
activated").

Fixes: https://github.com/awesomeWM/awesome/issues/427
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-05-08 17:30:01 +02:00
..
button.c Merge branch 'lua-index-handlers' of https://github.com/psychon/awesome 2016-03-06 14:19:00 +01:00
button.h Clean up header includes 2014-03-30 20:07:48 +02:00
client.c client_manage: Check for _NET_STARTUP_ID on WM_CLIENT_LEADER 2016-05-05 18:29:35 +02:00
client.h Merge pull request #713 from psychon/no_focus_window 2016-02-28 22:16:22 +01:00
drawable.c Merge branch 'lua-index-handlers' of https://github.com/psychon/awesome 2016-03-06 14:19:00 +01:00
drawable.h drawable/drawin: Pass both lua_State and stack index around 2014-12-06 10:46:45 +01:00
drawin.c geometry: Use the relevant rounding functions instead of integers 2016-04-18 04:20:22 -04:00
drawin.h drawin: lazily configure drawin windows 2015-08-23 15:25:23 +02:00
key.c Merge branch 'lua-index-handlers' of https://github.com/psychon/awesome 2016-03-06 14:19:00 +01:00
key.h remove encoding=utf-8 from modelines 2011-09-11 17:34:09 +02:00
screen.c drawin: Hide from ldoc 2016-05-03 17:12:54 -04:00
screen.h Add a screen checker. 2016-05-01 10:09:26 +02:00
tag.c luaobject: Make the miss_handlers documentation private 2016-04-11 23:54:28 -04:00
tag.h tag_client: Add explicit lua_State argument 2014-12-06 11:14:59 +01:00
window.c Grab buttons on the child window 2016-05-08 17:30:01 +02:00
window.h geometry: Use the relevant rounding functions instead of integers 2016-04-18 04:20:22 -04:00