summaryrefslogtreecommitdiff
path: root/openbox/focus.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2009-11-21 13:34:33 -0500
committerDana Jansens <danakj@orodu.net>2009-11-21 13:56:55 -0500
commitc828154886a40fa48b0545fd5d22e277f6d210e9 (patch)
tree5244d4a5acc0166260eaa81c6258ac3c2a41fae9 /openbox/focus.c
parentfa0ae17adbc8f73b707c33836d37841e81b9303a (diff)
Revert all commits for the Hooks feature to move it to a topic branch.
This reverts commit fd2f617be7ff57fcb187daa737f66d243544c8cd. This reverts commit a47d0a53652a96ca1df96fc9268757df1431ae55. This reverts commit a1908e076736e1a618bd305c5963dbfecaa30497. This reverts commit dc2e6f6bf7143a56de360a393b33906735e63625. This reverts commit 985e7dadf9a3ebf4bd265d955c3198e96405e5d2. This reverts commit db781556d63d1a50bd1b1b4b6b5423ef703bf2c7. This reverts commit feec8f663f0a11546c2da87575fecc8a88d97ca1.
Diffstat (limited to 'openbox/focus.c')
-rw-r--r--openbox/focus.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/openbox/focus.c b/openbox/focus.c
index baf88e81..2af0da9c 100644
--- a/openbox/focus.c
+++ b/openbox/focus.c
@@ -27,7 +27,6 @@
#include "focus_cycle.h"
#include "screen.h"
#include "keyboard.h"
-#include "hooks.h"
#include "focus.h"
#include "stacking.h"
#include "obt/prop.h"
@@ -73,7 +72,6 @@ static void push_to_top(ObClient *client)
void focus_set_client(ObClient *client)
{
Window active;
- ObClient *old;
ob_debug_type(OB_DEBUG_FOCUS,
"focus_set_client 0x%lx", client ? client->window : 0);
@@ -89,7 +87,6 @@ void focus_set_client(ObClient *client)
focus_cycle_stop(focus_client);
focus_cycle_stop(client);
- old = focus_client;
focus_client = client;
if (client != NULL) {
@@ -104,9 +101,6 @@ void focus_set_client(ObClient *client)
active = client ? client->window : None;
OBT_PROP_SET32(obt_root(ob_screen), NET_ACTIVE_WINDOW, WINDOW, active);
}
-
- hooks_queue(OB_HOOK_WIN_UNFOCUS, old);
- hooks_queue(OB_HOOK_WIN_FOCUS, client);
}
static ObClient* focus_fallback_target(gboolean allow_refocus,