From: Kristian Høgsberg Date: Mon, 21 May 2012 16:05:32 +0000 (-0400) Subject: xwm: Dont queue repaints unless we have a frame window X-Git-Tag: 20120702.1049~151 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=de7d66f36b1bc45268edc426627f138a3ebfe6dd;p=profile%2Fivi%2Fweston.git xwm: Dont queue repaints unless we have a frame window --- diff --git a/src/xserver-launcher.c b/src/xserver-launcher.c index 6885496..f101c87 100644 --- a/src/xserver-launcher.c +++ b/src/xserver-launcher.c @@ -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 =