aboutsummaryrefslogtreecommitdiff
path: root/apps/wm.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/wm.c')
-rw-r--r--apps/wm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/wm.c b/apps/wm.c
index e522fc2..52c5932 100644
--- a/apps/wm.c
+++ b/apps/wm.c
@@ -367,6 +367,7 @@ static void handle_event_mouse(struct event_mouse *event)
struct message_mouse msg = { 0 };
msg.header.state = MSG_GO_ON;
+ msg.id = win->id;
msg.pos = vec2_sub(mouse.pos, win->pos);
msg_send(win->client.pid, GUI_MOUSE, &msg, sizeof(msg));
}