forked from pool/libX11
Stefan Dirsch
8e32ba6ef1
Replaces xorg-x11-libX11 OBS-URL: https://build.opensuse.org/request/show/104209 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libX11?expand=0&rev=1
24 lines
553 B
Diff
24 lines
553 B
Diff
diff --git a/modules/im/ximcp/imDefLkup.c b/modules/im/ximcp/imDefLkup.c
|
|
index aa1aaaf..b3b7a9f 100644
|
|
--- a/modules/im/ximcp/imDefLkup.c
|
|
+++ b/modules/im/ximcp/imDefLkup.c
|
|
@@ -661,6 +662,7 @@ _XimProcCommit(
|
|
return True;
|
|
}
|
|
|
|
+
|
|
Private Bool
|
|
_XimCommitRecv(
|
|
Xim im,
|
|
@@ -704,7 +706,9 @@ _XimCommitRecv(
|
|
|
|
(void)_XimRespSyncReply(ic, flag);
|
|
|
|
- MARK_FABLICATED(ic);
|
|
+ if (ic->private.proto.registed_filter_event
|
|
+ & (KEYPRESS_MASK | KEYRELEASE_MASK))
|
|
+ MARK_FABLICATED(ic);
|
|
|
|
ev.type = KeyPress;
|
|
ev.send_event = False;
|