summaryrefslogtreecommitdiff
path: root/lib/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/internal.h')
-rw-r--r--lib/internal.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/internal.h b/lib/internal.h
index 25169ac..adb06f6 100644
--- a/lib/internal.h
+++ b/lib/internal.h
@@ -91,6 +91,11 @@ struct render_api {
void (*grab_keyboard)(const struct bm_menu *menu, bool grab);
/**
+ * Control overlap with panels
+ */
+ void (*set_overlap)(const struct bm_menu *menu, bool overlap);
+
+ /**
* Version of the plugin.
* Should match BM_PLUGIN_VERSION or failure.
*/
@@ -296,6 +301,11 @@ struct bm_menu {
* Is menu grabbed?
*/
bool grabbed;
+
+ /**
+ * Should the menu overlap panels
+ */
+ bool overlap;
};
/* library.c */