diff options
author | Marvin Borner | 2021-02-16 22:33:42 +0100 |
---|---|---|
committer | Marvin Borner | 2021-02-16 22:33:42 +0100 |
commit | 392b0ff1fcc52c189f131c71ea2a969d1b8c5690 (patch) | |
tree | 22cc9e27c09cb9887ca6972e07602070cda25451 /apps/wm.c | |
parent | 1287f9dfe987f0456e4fb0741385d5f0278ef53b (diff) |
Okay!
Diffstat (limited to 'apps/wm.c')
-rw-r--r-- | apps/wm.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -311,6 +311,8 @@ int main(int argc, char **argv) err(1, "POLL ERROR!\n"); } + assert(msg.magic == MSG_MAGIC); + switch (msg.type) { case GFX_NEW_CONTEXT: { struct context *ctx = msg.data; @@ -340,6 +342,7 @@ int main(int argc, char **argv) redraw_focused(); break; default: + log("Unknown WM request %d\n", msg.type); break; } }; |