ignore focus events from grabs
This commit is contained in:
parent
d5cff9617c
commit
b8f89ee368
1 changed files with 3 additions and 0 deletions
|
@ -99,6 +99,9 @@ void OtkEventDispatcher::dispatchEvents(void)
|
|||
|
||||
void OtkEventDispatcher::dispatchFocus(const XEvent &e)
|
||||
{
|
||||
// ignore all focus changes from grabs
|
||||
if (e.xfocus.mode != NotifyNormal)
|
||||
return;
|
||||
|
||||
if (e.type == FocusIn) {
|
||||
//printf("Got FocusIn!\n");
|
||||
|
|
Loading…
Reference in a new issue