ignore focus events from grabs

This commit is contained in:
Dana Jansens 2003-01-08 09:05:38 +00:00
parent d5cff9617c
commit b8f89ee368

View file

@ -99,6 +99,9 @@ void OtkEventDispatcher::dispatchEvents(void)
void OtkEventDispatcher::dispatchFocus(const XEvent &e) void OtkEventDispatcher::dispatchFocus(const XEvent &e)
{ {
// ignore all focus changes from grabs
if (e.xfocus.mode != NotifyNormal)
return;
if (e.type == FocusIn) { if (e.type == FocusIn) {
//printf("Got FocusIn!\n"); //printf("Got FocusIn!\n");