change clicking to be like in dwm, fixes #6

This commit is contained in:
Rentib 2024-09-23 11:11:57 +02:00 committed by sewn
parent a052b3cdc9
commit a76f1dc808

1
dam.c
View file

@ -501,6 +501,7 @@ pointer_motion(void *data, struct wl_pointer *wl_pointer, uint32_t time,
{ {
pointer.x = wl_fixed_to_int(surface_x); pointer.x = wl_fixed_to_int(surface_x);
pointer.y = wl_fixed_to_int(surface_y); pointer.y = wl_fixed_to_int(surface_y);
pointer.button = 0;
} }
static void static void