From f9b0844e59bd490b2784ee226d42a7d1da93ebf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 3 Jan 2012 22:55:25 -0500 Subject: [PATCH] x11: Initialize wm->incr when converting the TARGETS target --- src/xserver-launcher.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xserver-launcher.c b/src/xserver-launcher.c index a032c791..0b7d706c 100644 --- a/src/xserver-launcher.c +++ b/src/xserver-launcher.c @@ -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,