mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
Remove src/damage.c
This commit is contained in:
parent
e289100a54
commit
bd9ac3478a
15 changed files with 0 additions and 48 deletions
|
|
@ -20,7 +20,6 @@ unmanaged_handle_commit(struct wl_listener *listener, void *data)
|
|||
struct wlr_xwayland_surface *xsurface = unmanaged->xwayland_surface;
|
||||
unmanaged->lx = xsurface->x;
|
||||
unmanaged->ly = xsurface->y;
|
||||
damage_all_outputs(unmanaged->server);
|
||||
}
|
||||
|
||||
static struct view *
|
||||
|
|
@ -54,7 +53,6 @@ unmanaged_handle_map(struct wl_listener *listener, void *data)
|
|||
|
||||
unmanaged->lx = xsurface->x;
|
||||
unmanaged->ly = xsurface->y;
|
||||
damage_all_outputs(unmanaged->server);
|
||||
if (wlr_xwayland_or_surface_wants_focus(xsurface)) {
|
||||
seat_focus_surface(&unmanaged->server->seat, xsurface->surface);
|
||||
}
|
||||
|
|
@ -81,7 +79,6 @@ unmanaged_handle_unmap(struct wl_listener *listener, void *data)
|
|||
struct xwayland_unmanaged *unmanaged =
|
||||
wl_container_of(listener, unmanaged, unmap);
|
||||
struct wlr_xwayland_surface *xsurface = unmanaged->xwayland_surface;
|
||||
damage_all_outputs(unmanaged->server);
|
||||
wl_list_remove(&unmanaged->link);
|
||||
wl_list_remove(&unmanaged->commit.link);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue