mirror of
https://github.com/swaywm/sway.git
synced 2025-11-15 06:59:50 -05:00
Send surface enter/leave events to view children
This commit is contained in:
parent
d77a0119f4
commit
290c916290
4 changed files with 49 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue