diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-26 12:55:14 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-26 12:55:14 +0000 |
| commit | 85c7635b9b163face21b460de7fd3877baea321b (patch) | |
| tree | 15d5b6b639551186566648a88f1ca8edc0623bd2 | |
| parent | 41010812fa1e891e162c88a3c962522832517cc4 (diff) | |
remove the highlight action. its not useful without event bindings
| -rw-r--r-- | openbox/actions/all.c | 1 | ||||
| -rw-r--r-- | openbox/actions/all.h | 1 | ||||
| -rw-r--r-- | openbox/actions/focus.c | 3 | ||||
| -rw-r--r-- | openbox/actions/highlight.c | 21 |
4 files changed, 0 insertions, 26 deletions
diff --git a/openbox/actions/all.c b/openbox/actions/all.c index e034feaa..51996de8 100644 --- a/openbox/actions/all.c +++ b/openbox/actions/all.c @@ -41,5 +41,4 @@ void action_all_startup() action_movetofromedge_startup(); action_growtoedge_startup(); action_if_startup(); - action_highlight_startup(); } diff --git a/openbox/actions/all.h b/openbox/actions/all.h index fc01df90..fd71e4b1 100644 --- a/openbox/actions/all.h +++ b/openbox/actions/all.h @@ -42,6 +42,5 @@ void action_layer_startup(); void action_movetofromedge_startup(); void action_growtoedge_startup(); void action_if_startup(); -void action_highlight_startup(); #endif diff --git a/openbox/actions/focus.c b/openbox/actions/focus.c index de2bd6d5..afa5f8ff 100644 --- a/openbox/actions/focus.c +++ b/openbox/actions/focus.c @@ -45,13 +45,10 @@ static gboolean run_func(ObActionsData *data, gpointer options) Options *o = options; if (data->client) { -/* ob_debug("button %d focusable %d context %d %d %d\n", data->button, client_mouse_focusable(data->client), data->context, OB_FRAME_CONTEXT_CLIENT, OB_FRAME_CONTEXT_FRAME); -*/ - if (data->button == 0 || client_mouse_focusable(data->client) || (data->context != OB_FRAME_CONTEXT_CLIENT && data->context != OB_FRAME_CONTEXT_FRAME)) diff --git a/openbox/actions/highlight.c b/openbox/actions/highlight.c index 95ba7723..e69de29b 100644 --- a/openbox/actions/highlight.c +++ b/openbox/actions/highlight.c @@ -1,21 +0,0 @@ -#include "openbox/actions.h" -#include "openbox/client.h" - -static gboolean run_func(ObActionsData *data, gpointer options); - -void action_highlight_startup() -{ - actions_register("Highlight", - NULL, NULL, - run_func, - NULL, NULL); -} - -/* Always return FALSE because its not interactive */ -static gboolean run_func(ObActionsData *data, gpointer options) -{ - if (data->client) - client_hilite(data->client, TRUE); - - return FALSE; -} |
