1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 21:57:34 +00:00

WindowServer: Remove username from MenuManager.

Now, we have UserName applet.
This commit is contained in:
Hüseyin ASLITÜRK 2020-02-09 11:54:54 +03:00 committed by Andreas Kling
parent 57edcb54c2
commit 9b5e0b6247
3 changed files with 28 additions and 46 deletions

View file

@ -43,6 +43,7 @@ public:
virtual ~MenuManager() override;
void refresh();
void calculate_applet_rects();
virtual void event(Core::Event&) override;
@ -102,18 +103,14 @@ private:
void draw();
void draw_applet(const Window&);
void tick_clock();
RefPtr<Window> m_window;
String m_username;
WeakPtr<Menu> m_current_menu;
Vector<WeakPtr<Menu>> m_open_menu_stack;
Vector<WeakPtr<Window>> m_applets;
Gfx::Rect m_username_rect;
bool m_needs_window_resize { false };
bool m_bar_open { false };