summaryrefslogtreecommitdiff
path: root/src/menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/menu.h')
-rw-r--r--src/menu.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/menu.h b/src/menu.h
index 39bb7fa3..5096c679 100644
--- a/src/menu.h
+++ b/src/menu.h
@@ -26,6 +26,9 @@
#include <gtk/gtk.h>
#include "frames.h"
+#ifdef MPX
+#include "devices.h"
+#endif
/* Stock icons */
#define METACITY_STOCK_DELETE "metacity-delete"
@@ -43,14 +46,27 @@ struct _MetaWindowMenu
MetaMenuOp insensitive;
};
+#ifdef MPX
MetaWindowMenu* meta_window_menu_new (MetaFrames *frames,
MetaMenuOp ops,
MetaMenuOp insensitive,
+ MetaDevices *devices,
Window client_xwindow,
unsigned long active_workspace,
int n_workspaces,
MetaWindowMenuFunc func,
gpointer data);
+
+#else
+MetaWindowMenu* meta_window_menu_new (MetaFrames *frames,
+ MetaMenuOp ops,
+ MetaMenuOp insensitive,
+ Window client_xwindow,
+ unsigned long active_workspace,
+ int n_workspaces,
+ MetaWindowMenuFunc func,
+ gpointer data);
+#endif
void meta_window_menu_popup (MetaWindowMenu *menu,
int root_x,
int root_y,