diff options
author | emersion <contact@emersion.fr> | 2018-04-06 11:43:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-06 11:43:55 -0400 |
commit | d447460c0153a76a0bc484bb9866cef658b3102f (patch) | |
tree | 4323a9130346ca4d836b0ae70c03877e13310bfc /sway/desktop/xwayland.c | |
parent | Avoid arranging windows while reloading config (diff) | |
parent | Send surface enter/leave events to view children (diff) | |
download | sway-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.c | 3 |
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 | ||
63 | static void unmanaged_handle_unmap(struct wl_listener *listener, void *data) { | 66 | static void unmanaged_handle_unmap(struct wl_listener *listener, void *data) { |