]> Dogcows Code - chaz/openbox/blobdiff - openbox/client_list_menu.c
make interactive actions a type and not special cases.
[chaz/openbox] / openbox / client_list_menu.c
index cf3b8d5de772111896f73f784c89fb4edb72a116..97c40fe52c9e447450aec8f4b530c37b25952efa 100644 (file)
@@ -1,10 +1,10 @@
-#include "kernel/openbox.h"
-#include "kernel/menu.h"
-#include "kernel/menuframe.h"
-#include "kernel/action.h"
-#include "kernel/screen.h"
-#include "kernel/client.h"
-#include "kernel/focus.h"
+#include "openbox.h"
+#include "menu.h"
+#include "menuframe.h"
+#include "action.h"
+#include "screen.h"
+#include "client.h"
+#include "focus.h"
 #include "gettext.h"
 
 #include <glib.h>
@@ -37,7 +37,7 @@ static void desk_menu_update(ObMenuFrame *frame, gpointer data)
             ObClientIcon *icon;
 
             act = action_from_string("activate");
-            act->data.activate.c = c;
+            act->data.activate.any.c = c;
             acts = g_slist_prepend(NULL, act);
             e = menu_add_normal(menu, i,
                                 (c->iconic ? c->icon_title : c->title), acts);
This page took 0.026769 seconds and 4 git commands to generate.