diff options
Diffstat (limited to 'client/x11/platform.cpp')
-rw-r--r-- | client/x11/platform.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/x11/platform.cpp b/client/x11/platform.cpp index c6b2d7de..c1c2a5a3 100644 --- a/client/x11/platform.cpp +++ b/client/x11/platform.cpp @@ -2373,6 +2373,10 @@ static int get_selection(XEvent &event, Atom type, Atom prop, int format, if (!incr) { if (type_ret == incr_atom) { + if (waiting_for_property_notify) { + LOG_WARN("received an incr property notify while still reading another incr property"); + goto exit; + } XSelectInput(x_display, platform_win, PropertyChangeMask); XDeleteProperty(x_display, platform_win, prop); XFlush(x_display); |