From 0bf64a113f3d3baa110b362fd6a215ef29182671 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 22 May 2021 12:36:08 +0200 Subject: Enabled window ping-pong checks --- libs/libgui/msg.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libs/libgui/msg.h') diff --git a/libs/libgui/msg.h b/libs/libgui/msg.h index 4bffb74..71491c4 100644 --- a/libs/libgui/msg.h +++ b/libs/libgui/msg.h @@ -26,8 +26,9 @@ struct message_header { enum message_state state; }; -struct message_ping { +struct message_ping_window { struct message_header header; + u32 id; u32 ping; }; @@ -64,7 +65,7 @@ struct message_mouse { }; enum message_type { - GUI_PING, + GUI_PING_WINDOW, GUI_NEW_WINDOW, GUI_REDRAW_WINDOW, GUI_DESTROY_WINDOW, -- cgit v1.2.3