WindowServer: Move video mode setup to WSScreen.

This commit is contained in:
Andreas Kling 2019-02-17 01:43:01 +01:00
commit 82768e7ac5
Notes: sideshowbarker 2024-07-19 15:41:32 +09:00
6 changed files with 47 additions and 58 deletions

View file

@ -66,9 +66,6 @@ public:
Color menu_selection_color() const { return m_menu_selection_color; }
int menubar_menu_margin() const;
int framebuffer_fd() const { return m_framebuffer_fd; }
void set_framebuffer_fd(int fd) { m_framebuffer_fd = fd; }
private:
void process_mouse_event(WSMouseEvent&);
void handle_menu_mouse_event(WSMenu&, WSMouseEvent&);
@ -149,6 +146,4 @@ private:
Color m_menu_selection_color;
WeakPtr<WSMenuBar> m_current_menubar;
WeakPtr<WSMenu> m_current_menu;
int m_framebuffer_fd { -1 };
};