diff options
author | emersion <contact@emersion.fr> | 2018-01-18 03:31:46 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-01-18 03:31:46 +0100 |
commit | 1a084807ce6ce1d8e4b8c35e3195240507ebffe8 (patch) | |
tree | 2b4ec8fe840621d58df77c4840a652df76dcbff6 /rootston/xdg_shell_v6.c | |
parent | bcb58b5caa203a5651a2a24d2038117a728348e7 (diff) |
rootston: do not redraw if output has no damage
Diffstat (limited to 'rootston/xdg_shell_v6.c')
-rw-r--r-- | rootston/xdg_shell_v6.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rootston/xdg_shell_v6.c b/rootston/xdg_shell_v6.c index 0515263b..e915d1a6 100644 --- a/rootston/xdg_shell_v6.c +++ b/rootston/xdg_shell_v6.c @@ -217,6 +217,8 @@ static void handle_commit(struct wl_listener *listener, void *data) { roots_surface->pending_move_resize_configure_serial = 0; } } + + desktop_damage_surface(view->desktop, view->wlr_surface, view->x, view->y); } static void handle_destroy(struct wl_listener *listener, void *data) { |