aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/xwayland.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-06 10:26:32 -0400
committeremersion <contact@emersion.fr>2018-04-06 10:26:32 -0400
commit290c9162901008d306b68566e4a5c2a778d19db8 (patch)
tree4323a9130346ca4d836b0ae70c03877e13310bfc /sway/desktop/xwayland.c
parentd77a0119f46ab977beca6725efed38fcb5f9e434 (diff)
Send surface enter/leave events to view children
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r--sway/desktop/xwayland.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index e3da1da7..10bfcc89 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -58,6 +58,9 @@ static void unmanaged_handle_map(struct wl_listener *listener, void *data) {
surface->lx = xsurface->x;
surface->ly = xsurface->y;
desktop_damage_whole_surface(xsurface->surface, surface->lx, surface->ly);
+
+ // TODO: we don't send surface enter/leave events to xwayland unmanaged
+ // surfaces, but xwayland doesn't support HiDPI anyway
}
static void unmanaged_handle_unmap(struct wl_listener *listener, void *data) {