diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-04-08 06:14:53 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-04-08 06:14:53 +0000 |
| commit | c99bb4a049d29d2546074365ab76cecad4d1f65b (patch) | |
| tree | d7e7ee3bf35428b5a1a92f9967363a36661c422c /openbox/client.c | |
| parent | 40bfb2b6e5249608f6f7d0c8012ca44f67883843 (diff) | |
add more options for focus fallback, use an enum for all the types of fallbacks.
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbox/client.c b/openbox/client.c index 68e1e098..22db6738 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -139,7 +139,7 @@ void client_manage_all() client_startup_stack_size = 0; if (focus_new) - focus_fallback(FALSE); + focus_fallback(Fallback_NoFocus); } void client_manage(Window window) @@ -312,7 +312,7 @@ void client_unmanage(Client *self) } } - focus_fallback(FALSE); + client_unfocus(self); /* remove from its group */ if (self->group) { @@ -2080,7 +2080,7 @@ void client_unfocus(Client *self) { g_assert(focus_client == self); g_message("client_unfocus"); - focus_fallback(FALSE); + focus_fallback(Fallback_Unfocusing); } gboolean client_focused(Client *self) |
