summaryrefslogtreecommitdiff
path: root/lib/internal.h
diff options
context:
space:
mode:
authorIlia Bozhinov <ammen99@gmail.com>2019-03-25 22:21:17 +0100
committerJari Vetoniemi <mailRoxas@gmail.com>2019-03-25 23:21:17 +0200
commit38069992ec97aa22da84a1e1dbb5e8ff9cd03d60 (patch)
tree4c476d8c56c8b1fe84c7858b6c8b61a46cadae21 /lib/internal.h
parentb375ef8b0bd2c40b4fc26bd0c4d38dcb4374c149 (diff)
downloadbemenu-38069992ec97aa22da84a1e1dbb5e8ff9cd03d60.tar.gz
bemenu-38069992ec97aa22da84a1e1dbb5e8ff9cd03d60.tar.bz2
bemenu-38069992ec97aa22da84a1e1dbb5e8ff9cd03d60.zip
Add option to respect panel position (#48)
* implement option to make menu respect panel boundaries * fixup! implement option to make menu respect panel boundaries
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 */