aboutsummaryrefslogtreecommitdiff
path: root/libs/libgui/msg.h
diff options
context:
space:
mode:
authorMarvin Borner2021-05-22 12:36:08 +0200
committerMarvin Borner2021-05-22 12:36:08 +0200
commit0bf64a113f3d3baa110b362fd6a215ef29182671 (patch)
tree5af1c862945741aa2a56b0e72cc25c845eaac12a /libs/libgui/msg.h
parent93174e167a6aa313fca43f4cb0e9b975e1618468 (diff)
Enabled window ping-pong checks
Diffstat (limited to 'libs/libgui/msg.h')
-rw-r--r--libs/libgui/msg.h5
1 files changed, 3 insertions, 2 deletions
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,