]> Dogcows Code - chaz/openbox/commitdiff
remove the highlight action. its not useful without event bindings
authorDana Jansens <danakj@orodu.net>
Tue, 26 Jun 2007 12:55:14 +0000 (12:55 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 26 Jun 2007 12:55:14 +0000 (12:55 +0000)
openbox/actions/all.c
openbox/actions/all.h
openbox/actions/focus.c
openbox/actions/highlight.c

index e034feaa1cbd2e8c07d0ec7f28592a5beed2a8bd..51996de829f7f3ee69e46283ae15a9f9c8d0f079 100644 (file)
@@ -41,5 +41,4 @@ void action_all_startup()
     action_movetofromedge_startup();
     action_growtoedge_startup();
     action_if_startup();
-    action_highlight_startup();
 }
index fc01df907b6e4c14f8f10acef226b281cd3a0de2..fd71e4b12d671ba6e11804cb4a8bd071ff853027 100644 (file)
@@ -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
index de2bd6d5eb7a189867c6659e2101832be19e12c8..afa5f8ff14d9ac4bf4ea361ee75becc5cdb58148 100644 (file)
@@ -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))
index 95ba7723aa1f31f02f35c932e79990fc1edce1df..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -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;
-}
This page took 0.024026 seconds and 4 git commands to generate.