diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-14 03:40:03 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-14 03:40:03 +0000 |
| commit | a019ee1028c396f7d5ec107d100b43222c945b59 (patch) | |
| tree | 01371bff8d54ae70b71983357a03c1c374c13d86 /openbox/event.c | |
| parent | d0a579eda06d11371ff6525ae9d96c1de72b75b0 (diff) | |
add a debug action.. change focus debug output a lil, no grab events
Diffstat (limited to 'openbox/event.c')
| -rw-r--r-- | openbox/event.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/event.c b/openbox/event.c index 0e731b08..a2571f0e 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -394,6 +394,9 @@ static void print_focusevent(XEvent *e) case NotifyDetailNone: detailstr="NotifyDetailNone"; break; } + if (mode == NotifyGrab || mode == NotifyUngrab) + return; + g_assert(modestr); g_assert(detailstr); ob_debug_type(OB_DEBUG_FOCUS, "Focus%s 0x%x mode=%s detail=%s\n", |
