diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-14 01:21:32 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-14 01:21:32 +0100 |
commit | f529b845ecd5d2f023ebb56b03afe086df6c21e2 (patch) | |
tree | dfcd320d70c26e879829779b6047789655429cb0 /WindowServer/WSWindowManager.h | |
parent | ef4e9860fdb013a5caf76dbd51b071914cb1588a (diff) | |
download | serenity-f529b845ecd5d2f023ebb56b03afe086df6c21e2.zip |
WindowServer: Convert entire API to be message-based.
One big step towards userspace WindowServer. :^)
Diffstat (limited to 'WindowServer/WSWindowManager.h')
-rw-r--r-- | WindowServer/WSWindowManager.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/WindowServer/WSWindowManager.h b/WindowServer/WSWindowManager.h index 9c15055265..707f82dc85 100644 --- a/WindowServer/WSWindowManager.h +++ b/WindowServer/WSWindowManager.h @@ -103,6 +103,7 @@ private: Color m_dragging_window_border_color2; Color m_dragging_window_title_color; + HashMap<int, OwnPtr<WSWindow>> m_windows_by_id; HashTable<WSWindow*> m_windows; InlineLinkedList<WSWindow> m_windows_in_order; @@ -144,8 +145,9 @@ private: Lockable<bool> m_flash_flush; bool m_buffers_are_flipped { false }; - int m_next_menubar_id = 100; - int m_next_menu_id = 900; + int m_next_menubar_id { 100 }; + int m_next_menu_id { 100 }; + int m_next_window_id { 1982 }; OwnPtr<WSMenu> m_system_menu; Color m_menu_selection_color; |