xwm: do not include shadow in input region
authorIan Ray <ian.ray@ge.com>
Thu, 18 Jan 2018 11:44:04 +0000 (11:44 +0000)
committerDaniel Stone <daniels@collabora.com>
Thu, 18 Jan 2018 11:50:13 +0000 (11:50 +0000)
commit332d1892bbb380b32ff1c9f99d20184b447535dd
treea79c038d772e0d6b12f0b2e006b339bd9da560ab
parent8564a0d109c9ebe41ea3664edf42265c2258ed2f
xwm: do not include shadow in input region

The window frame was created with position and size which include
an offset for margins and shadow.  Set the input region to ignore
shadow.

[daniels: Fixed type mismatch, removed unused variable.]

Signed-off-by: Ian Ray <ian.ray@ge.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Tested-by: Scott Moreau <oreaus@gmail.com>
xwayland/window-manager.c