diff options
author | Marvin Borner | 2021-03-29 23:44:07 +0200 |
---|---|---|
committer | Marvin Borner | 2021-03-29 23:44:07 +0200 |
commit | 6549b1087628a405a1e4cb1f81562a830515a5b5 (patch) | |
tree | 8fed89cd81e616ba552c03179e8d20957968f998 /apps/wm.c | |
parent | f946ff13cab962d94ccaf6cb57e125e52900f371 (diff) |
Added more GUI stuff
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)); } |