diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-25 15:02:20 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-25 15:02:20 +0000 |
| commit | 7cf4c970ae89f06aa77345900f96a310400c8595 (patch) | |
| tree | 9bd6f1d0d8acfc2ffbede90a5821df90a27c0387 /openbox/focus.c | |
| parent | 6a9d502f2020a73202b919ee3e9d85999ededd0f (diff) | |
debug print in focus.c
when focus goes to something that isn't a client (window already unmapped) then set focus_client to NULL so we know nothing has focus right now
Diffstat (limited to 'openbox/focus.c')
| -rw-r--r-- | openbox/focus.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openbox/focus.c b/openbox/focus.c index ae0294af..0f399be7 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -146,8 +146,9 @@ static ObClient* focus_fallback_target(gboolean allow_refocus, ObClient *old, /* if not just see if we could try, or it's already focused */ (!send_focus && (c == old || client_can_focus(c))))) { - ob_debug_type(OB_DEBUG_FOCUS, "found in focus order (%d)\n", - send_focus); + ob_debug_type(OB_DEBUG_FOCUS, "found in focus order (%d) 0x%x " + "from 0x%x\n", + send_focus, c, old); return c; } } |
