kill debug prints
This commit is contained in:
parent
e238e4ac2d
commit
44c5552427
1 changed files with 0 additions and 4 deletions
|
@ -223,7 +223,6 @@ void event_process(XEvent *e)
|
||||||
!(e->xfocus.detail == NotifyNonlinearVirtual ||
|
!(e->xfocus.detail == NotifyNonlinearVirtual ||
|
||||||
e->xfocus.detail == NotifyNonlinear))
|
e->xfocus.detail == NotifyNonlinear))
|
||||||
return;
|
return;
|
||||||
g_message("FOCUS IN %lx", window);
|
|
||||||
break;
|
break;
|
||||||
case FocusOut:
|
case FocusOut:
|
||||||
if (e->xfocus.mode == NotifyGrab ||
|
if (e->xfocus.mode == NotifyGrab ||
|
||||||
|
@ -236,13 +235,10 @@ void event_process(XEvent *e)
|
||||||
{
|
{
|
||||||
XEvent fi;
|
XEvent fi;
|
||||||
if (XCheckTypedEvent(ob_display, FocusIn, &fi)) {
|
if (XCheckTypedEvent(ob_display, FocusIn, &fi)) {
|
||||||
g_message("FOCUS OUT %lx IN %lx", e->xfocus.window, fi.xfocus.window);
|
|
||||||
event_process(&fi);
|
event_process(&fi);
|
||||||
|
|
||||||
if (fi.xfocus.window == e->xfocus.window)
|
if (fi.xfocus.window == e->xfocus.window)
|
||||||
return;
|
return;
|
||||||
} else {
|
|
||||||
g_message("FOCUS OUT %lx IN 0x0", e->xfocus.window);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue