aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xwayland.c
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-04-06 11:43:55 -0400
committerLibravatar GitHub <noreply@github.com>2018-04-06 11:43:55 -0400
commitd447460c0153a76a0bc484bb9866cef658b3102f (patch)
tree4323a9130346ca4d836b0ae70c03877e13310bfc /sway/desktop/xwayland.c
parentAvoid arranging windows while reloading config (diff)
parentSend surface enter/leave events to view children (diff)
downloadsway-d447460c0153a76a0bc484bb9866cef658b3102f.tar.gz
sway-d447460c0153a76a0bc484bb9866cef658b3102f.tar.zst
sway-d447460c0153a76a0bc484bb9866cef658b3102f.zip
Merge pull request #1755 from emersion/view-child-hidpi
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) {