mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-08 14:58:08 +02:00
//bugs.freedesktop.org/show_bug.cgi?id=1926) attachment #1482 (https://bugs.freedesktop.org/attachment.cgi?id=1482): Unregistering events in XSelectInput() when unregistering IM filter callbacks via |_XimUnRegisterIMInstantiateCallback| may be a bad idea as others may be interested in this event. Removed the call to XSelectInput() altogether as we are in root window anyway. Patch by Lubos Lunak and and Egbert Eich <eich@freedesktop.org>.
This commit is contained in:
parent
a07ccae36e
commit
af2711c531
1 changed files with 0 additions and 12 deletions
|
|
@ -254,18 +254,6 @@ _XimUnRegisterIMInstantiateCallback(
|
|||
_XUnregisterFilter( display, RootWindow(display, 0),
|
||||
_XimFilterPropertyNotify,
|
||||
(XPointer)NULL );
|
||||
#if 0
|
||||
/*
|
||||
* don't unregister the event mask
|
||||
* (not even the PropertyNotify mask)
|
||||
* as others may be interested.
|
||||
* It shouldn't matter if we don't unregister
|
||||
* as we are in the root window anyway so the
|
||||
* event won't be propagated any further.
|
||||
*/
|
||||
XSelectInput( display, RootWindow(display, 0),
|
||||
NoEventMask );
|
||||
#endif
|
||||
}
|
||||
else
|
||||
picb->next = icb->next;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue