x11: Initialize wm->incr when converting the TARGETS target
This commit is contained in:
@@ -1046,6 +1046,7 @@ weston_wm_handle_xfixes_selection_notify(struct weston_wm *wm,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
wm->incr = 0;
|
||||||
xcb_convert_selection(wm->conn, wm->selection_window,
|
xcb_convert_selection(wm->conn, wm->selection_window,
|
||||||
wm->atom.clipboard,
|
wm->atom.clipboard,
|
||||||
wm->atom.targets,
|
wm->atom.targets,
|
||||||
|
|||||||
Reference in New Issue
Block a user