x11: Initialize wm->incr when converting the TARGETS target
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 4 Jan 2012 03:55:25 +0000 (22:55 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 4 Jan 2012 04:01:47 +0000 (23:01 -0500)
src/xserver-launcher.c

index a032c79..0b7d706 100644 (file)
@@ -1046,6 +1046,7 @@ weston_wm_handle_xfixes_selection_notify(struct weston_wm *wm,
                return;
        }
 
+       wm->incr = 0;
        xcb_convert_selection(wm->conn, wm->selection_window,
                              wm->atom.clipboard,
                              wm->atom.targets,