summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-08 23:50:13 +0000
committerDana Jansens <danakj@orodu.net>2007-05-08 23:50:13 +0000
commit48d7045208e935da4cf8ac500f761fbfb934af77 (patch)
treea7615a22f17254df4da69ce8b4e7856d37bf48a5 /openbox/client.c
parentc54cb4a83cbbe741a21c6a6cd468ef45a5537a85 (diff)
update the client menu when you do stuff without closing it.
but this means we can't use actions in it. oh well? can kill the desktop notifiers now too. yay for more obvious code paths.
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 8c8abee7..ded81e38 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -64,7 +64,6 @@ typedef struct
GList *client_list = NULL;
static GSList *client_destructors = NULL;
-static GSList *client_desktop_notifies = NULL;
static void client_get_all(ObClient *self);
static void client_toggle_border(ObClient *self, gboolean show);
@@ -128,29 +127,6 @@ void client_remove_destructor(ObClientCallback func)
}
}
-void client_add_desktop_notify(ObClientCallback func, gpointer data)
-{
- ClientCallback *d = g_new(ClientCallback, 1);
- d->func = func;
- d->data = data;
- client_desktop_notifies = g_slist_prepend(client_desktop_notifies, d);
-}
-
-void client_remove_desktop_notify(ObClientCallback func)
-{
- GSList *it;
-
- for (it = client_desktop_notifies; it; it = g_slist_next(it)) {
- ClientCallback *d = it->data;
- if (d->func == func) {
- g_free(d);
- client_desktop_notifies =
- g_slist_delete_link(client_desktop_notifies, it);
- break;
- }
- }
-}
-
void client_set_list()
{
Window *windows, *win_it;
@@ -3043,13 +3019,6 @@ void client_set_desktop_recursive(ObClient *self,
client_raise(self);
if (STRUT_EXISTS(self->strut))
screen_update_areas();
-
- /* call the notifies */
- GSList *it;
- for (it = client_desktop_notifies; it; it = g_slist_next(it)) {
- ClientCallback *d = it->data;
- d->func(self, d->data);
- }
}
/* move all transients */