xwm: Dont queue repaints unless we have a frame window
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 21 May 2012 16:05:32 +0000 (12:05 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 21 May 2012 16:15:50 +0000 (12:15 -0400)
src/xserver-launcher.c

index 6885496..f101c87 100644 (file)
@@ -962,7 +962,7 @@ weston_wm_window_schedule_repaint(struct weston_wm_window *window)
 {
        struct weston_wm *wm = window->wm;
 
-       if (window->repaint_source)
+       if (window->frame_id == XCB_WINDOW_NONE || window->repaint_source)
                return;
 
        window->repaint_source =