diff options
Diffstat (limited to 'apps/wm.c')
-rw-r--r-- | apps/wm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -369,6 +369,7 @@ static void handle_event_mouse(struct event_mouse *event) msg.header.state = MSG_GO_ON; msg.id = win->id; msg.pos = vec2_sub(mouse.pos, win->pos); + msg.bits.click = event->but1; msg_send(win->client.pid, GUI_MOUSE, &msg, sizeof(msg)); } |