xwm: Dont queue repaints unless we have a frame window

dev
Kristian Høgsberg 13 years ago
parent 21a68913b9
commit de7d66f36b
  1. 2
      src/xserver-launcher.c

@ -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 =

Loading…
Cancel
Save