projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
51bc793
)
remove some verbose debug prints
author
Dana Jansens
<danakj@orodu.net>
Thu, 27 Mar 2008 13:44:40 +0000
(09:44 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 27 Mar 2008 13:45:28 +0000
(09:45 -0400)
openbox/hooks.c
patch
|
blob
|
history
diff --git
a/openbox/hooks.c
b/openbox/hooks.c
index
ad57fdb
..
53586db
100644
(file)
--- a/
openbox/hooks.c
+++ b/
openbox/hooks.c
@@
-73,8
+73,8
@@
void hooks_queue(ObHook hook, struct _ObClient *client)
g_assert(hook < OB_NUM_HOOKS && hook > OB_HOOK_INVALID);
g_assert(hook < OB_NUM_HOOKS && hook > OB_HOOK_INVALID);
- ob_debug("Queing hook %s for client 0x%x", names[hook],
- (client ? client->window : 0));
+
//
ob_debug("Queing hook %s for client 0x%x", names[hook],
+
//
(client ? client->window : 0));
q = &run_queue[queue_size++];
q->hook = hook;
q->client = client;
q = &run_queue[queue_size++];
q->hook = hook;
q->client = client;
@@
-106,8
+106,8
@@
void hooks_run_queue(void)
for (i = 0; i < queue_size; ++i) {
const ObHookQueue *q = &run_queue[i];
for (i = 0; i < queue_size; ++i) {
const ObHookQueue *q = &run_queue[i];
- ob_debug("Running hook %s for client 0x%x", names[q->hook],
- (q->client ? q->client->window : 0));
+
//
ob_debug("Running hook %s for client 0x%x", names[q->hook],
+
//
(q->client ? q->client->window : 0));
actions_run_acts(hooks[q->hook],
OB_USER_ACTION_HOOK,
0, -1, -1, 0,
actions_run_acts(hooks[q->hook],
OB_USER_ACTION_HOOK,
0, -1, -1, 0,