summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-03-25 20:57:36 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-25 22:14:09 +0100
commit1daaa4f38d74572133f6bec1c66d2a7e806939a5 (patch)
tree2efed25be12993844b8371c12f9f4477caea4f49
parent115348147d41471423045bf8b1e457a26bb6dd5b (diff)
downloadserenity-1daaa4f38d74572133f6bec1c66d2a7e806939a5.zip
LibGUI: Add GUI::MenuBar::menubar_id()
Just exposing the menubar ID on the WindowServer side.
-rw-r--r--Userland/Libraries/LibGUI/MenuBar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/MenuBar.h b/Userland/Libraries/LibGUI/MenuBar.h
index 20c1b5678b..5e223cff9e 100644
--- a/Userland/Libraries/LibGUI/MenuBar.h
+++ b/Userland/Libraries/LibGUI/MenuBar.h
@@ -44,6 +44,8 @@ public:
void notify_added_to_application(Badge<Application>);
void notify_removed_from_application(Badge<Application>);
+ int menubar_id() const { return m_menubar_id; }
+
private:
MenuBar();