diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-22 14:24:23 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-22 14:24:23 +0000 |
| commit | a07465f376b0a33270532501127ec812efe2c2b2 (patch) | |
| tree | 43af75958d6e3f7b9a7e36c1ece9cd3e09d2302c /openbox/actions/focus.c | |
| parent | 6c5f6ed1f5d501c79977a55c0f2430ebdd32ef6c (diff) | |
add raise action
Diffstat (limited to 'openbox/actions/focus.c')
| -rw-r--r-- | openbox/actions/focus.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/openbox/actions/focus.c b/openbox/actions/focus.c index 9be6741c..254850ec 100644 --- a/openbox/actions/focus.c +++ b/openbox/actions/focus.c @@ -51,10 +51,9 @@ static gboolean run_func(ObActionsData *data, gpointer options) { client_activate(data->client, o->here, FALSE, FALSE, TRUE); } - } else { - /* focus action on something other than a client, make keybindings - work for this openbox instance, but don't focus any specific client - */ + } else if (data->context == OB_FRAME_CONTEXT_DESKTOP) { + /* focus action on the root window. make keybindings work for this + openbox instance, but don't focus any specific client */ focus_nothing(); } |
