aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xwayland.c
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-04-06 10:26:32 -0400
committerLibravatar emersion <contact@emersion.fr>2018-04-06 10:26:32 -0400
commit290c9162901008d306b68566e4a5c2a778d19db8 (patch)
tree4323a9130346ca4d836b0ae70c03877e13310bfc /sway/desktop/xwayland.c
parentAvoid arranging windows while reloading config (diff)
downloadsway-290c9162901008d306b68566e4a5c2a778d19db8.tar.gz
sway-290c9162901008d306b68566e4a5c2a778d19db8.tar.zst
sway-290c9162901008d306b68566e4a5c2a778d19db8.zip
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) {
58 surface->lx = xsurface->x; 58 surface->lx = xsurface->x;
59 surface->ly = xsurface->y; 59 surface->ly = xsurface->y;
60 desktop_damage_whole_surface(xsurface->surface, surface->lx, surface->ly); 60 desktop_damage_whole_surface(xsurface->surface, surface->lx, surface->ly);
61
62 // TODO: we don't send surface enter/leave events to xwayland unmanaged
63 // surfaces, but xwayland doesn't support HiDPI anyway
61} 64}
62 65
63static void unmanaged_handle_unmap(struct wl_listener *listener, void *data) { 66static void unmanaged_handle_unmap(struct wl_listener *listener, void *data) {