From 1a084807ce6ce1d8e4b8c35e3195240507ebffe8 Mon Sep 17 00:00:00 2001 From: emersion Date: Thu, 18 Jan 2018 03:31:46 +0100 Subject: rootston: do not redraw if output has no damage --- rootston/xdg_shell_v6.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rootston/xdg_shell_v6.c') 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) { -- cgit v1.2.3