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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user