mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-30 09:46:50 +00:00
spicec-x11: protect against recursive incr properties
This commit is contained in:
parent
ca3d290294
commit
b74f21ce66
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user