summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2022-05-04 10:27:21 +0300
committerMarius Vlad <marius.vlad@collabora.com>2022-05-04 11:17:23 +0300
commit5274f6ea9da2f119fb67cf6b531e2db20139b5c8 (patch)
treea2ffe04903346c337280a4547a6eccbf8753bc3a
parent71deafe03f41738bfcd7eafd21c3262c29f45ee7 (diff)
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 <marius.vlad@collabora.com> Change-Id: I3702fa0a9c29290746250992d8921f777daa9fbf
-rw-r--r--src/desktop.c2
1 files changed, 2 insertions, 0 deletions
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: