Revert "desktop: No need to schedule a compositor repaint" 40/27440/1
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 4 May 2022 07:27:21 +0000 (10:27 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Wed, 4 May 2022 08:17:23 +0000 (11:17 +0300)
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

src/desktop.c

index bc1e33f..01e4539 100644 (file)
@@ -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: