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

WindowServer: Moving a window to front should always activate it.

So instead of having move_to_front() + set_active_window(), let's have
move_to_front_and_make_active().
This commit is contained in:
Andreas Kling 2019-03-24 13:09:46 +01:00
parent 56ee8bfe2a
commit e84823360d
3 changed files with 12 additions and 18 deletions

View file

@ -49,7 +49,7 @@ public:
WSWindow* highlight_window() { return m_highlight_window.ptr(); }
void set_highlight_window(WSWindow*);
void move_to_front(WSWindow&);
void move_to_front_and_make_active(WSWindow&);
void invalidate_cursor();
void draw_cursor();