LibGUI: Ignore failing smo maps in resize event

This can be caused by sending two back-to-back resize requests. When
handling the first, the server may have already replaced the smo key
with a new one.
This commit is contained in:
2026-07-04 08:42:17 +03:00
parent a2691bd70d
commit 652e170da9
2 changed files with 14 additions and 11 deletions

View File

@@ -96,7 +96,7 @@ namespace LibGUI
void on_socket_error(BAN::StringView function);
void cleanup();
BAN::ErrorOr<void> handle_resize_event(const EventPacket::ResizeWindowEvent&);
BAN::ErrorOr<bool> handle_resize_event(const EventPacket::ResizeWindowEvent&);
template<typename T>
void send_packet(const T& packet, BAN::StringView function);