summaryrefslogtreecommitdiff
path: root/openbox/action.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-15 04:32:59 +0000
committerDana Jansens <danakj@orodu.net>2007-05-15 04:32:59 +0000
commit361bf6af5c7de09f30f3cf4a220b3f84a3fe451d (patch)
treef028b6185726e8ebf0518cac40477ac7f9b75d29 /openbox/action.c
parentf5597c060e0fda3b8fffc19c9b8974dde463a962 (diff)
simplify focus handling a bit. no need to listen to focus going to the frame because if it ever does that, the window is unmapping and the frame will just unmap and send it to root.
make focus fallback a lil more robust, it checks for errors when it sets focus on the window, and if an error occured it will focus the next option.
Diffstat (limited to 'openbox/action.c')
-rw-r--r--openbox/action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/action.c b/openbox/action.c
index 3f43a238..50191859 100644
--- a/openbox/action.c
+++ b/openbox/action.c
@@ -1296,7 +1296,7 @@ void action_focus(union ActionData *data)
go moving on us */
event_halt_focus_delay();
- client_focus(data->client.any.c);
+ client_focus(data->client.any.c, FALSE);
}
} else {
/* focus action on something other than a client, make keybindings