diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2006-08-04 19:56:42 +0000 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2006-08-04 19:56:42 +0000 |
| commit | dce6247e693a4880b1f77252460d445825efc13c (patch) | |
| tree | ae807b0bb1d010907dc9c97a6fb5288174ffb43c /openbox/client.c | |
| parent | e3c52da8c3de8788aecb4ac15f428316e644e6ff (diff) | |
really fix focus_last?
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c index fdc8c108..d4759bb9 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -2833,13 +2833,15 @@ gboolean client_focus(ObClient *self) return TRUE; } +/* Used when the current client is closed, focus_last will then prevent + * focus from going to the mouse pointer */ void client_unfocus(ObClient *self) { if (focus_client == self) { #ifdef DEBUG_FOCUS ob_debug("client_unfocus for %lx\n", self->window); #endif - focus_fallback(OB_FOCUS_FALLBACK_UNFOCUSING); + focus_fallback(OB_FOCUS_FALLBACK_CLOSED); } } |
