ladybird/Servers
Shannon Booth 238b6871e0 WindowServer: Fix not all menus closing after system menu toggle
We were failing to check if the current menu being set was already open.
This could result in multiple occurrences of the menu in the open menu stack.

When we close all menus descending from a menu we only delete the first
occurrence of a given menu from the menu stack (a fair assumption to make as
a menu should only be open once).

Because of this a menu (or multiple instances of it) could remain in the open
menu stack when it should actually be closed, leading to goofy behaviour.

Fixes #1238
2020-02-20 15:11:31 +01:00
..
AudioServer AudioServer: Remove ASEventLoop class and do all the setup in main() 2020-02-17 16:50:48 +01:00
LookupServer LibCore: Replace manual forward declarations with <LibCore/Forward.h> 2020-02-15 00:13:44 +01:00
NotificationServer NotificationServer: Add new notification windows below the lowest one 2020-02-16 21:58:17 +01:00
ProtocolServer AK: Add basic Traits for RefPtr 2020-02-16 21:58:17 +01:00
SystemServer AK: Remove manual forward declarations with <AK/Forward.h> 2020-02-15 00:12:31 +01:00
TelnetServer TelnetServer: Protect the Client object during drain_socket() 2020-02-08 19:12:52 +01:00
TTYServer TTYServer: Include AK/LogStream.h for dbg() 2020-02-05 18:39:45 +01:00
WebServer LibCore: Replace manual forward declarations with <LibCore/Forward.h> 2020-02-15 00:13:44 +01:00
WindowServer WindowServer: Fix not all menus closing after system menu toggle 2020-02-20 15:11:31 +01:00
Makefile Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00