From 5274f6ea9da2f119fb67cf6b531e2db20139b5c8 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Wed, 4 May 2022 10:27:21 +0300 Subject: Revert "desktop: No need to schedule a compositor repaint" This reverts commit 8f85581e96bc71512cbef015ff12dc6441c07d9c. I incorrectly assumed that we don't need to schedule a repaint, but applications that do not set-up an appid would still need to go through a resize and we need to continue to allow doing that. Signed-off-by: Marius Vlad Change-Id: I3702fa0a9c29290746250992d8921f777daa9fbf --- src/desktop.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/desktop.c b/src/desktop.c index bc1e33f..01e4539 100644 --- a/src/desktop.c +++ b/src/desktop.c @@ -344,6 +344,8 @@ desktop_committed(struct weston_desktop_surface *dsurface, !wl_list_empty(&surface->ivi->desktop_clients)) wl_signal_emit(&surface->signal_advertise_app, surface); + weston_compositor_schedule_repaint(surface->ivi->compositor); + switch (surface->role) { case IVI_SURFACE_ROLE_DESKTOP: case IVI_SURFACE_ROLE_REMOTE: -- cgit 1.2.3-korg