xwm: Dont queue repaints unless we have a frame window

This commit is contained in:
Kristian Høgsberg
2012-05-21 12:05:32 -04:00
parent 21a68913b9
commit de7d66f36b
+1 -1
View File
@@ -962,7 +962,7 @@ weston_wm_window_schedule_repaint(struct weston_wm_window *window)
{ {
struct weston_wm *wm = window->wm; struct weston_wm *wm = window->wm;
if (window->repaint_source) if (window->frame_id == XCB_WINDOW_NONE || window->repaint_source)
return; return;
window->repaint_source = window->repaint_source =