~ruther/dwl

c03fd74da8d5e685cb85ce255243a23b566b1f7b — Rutherther 1 year, 2 months ago 3470344 + c07400a
Merge branch 'patch/focus-empty-mon' into v0.6-a/patched-base
1 files changed, 2 insertions(+), 0 deletions(-)

M dwl.c
M dwl.c => dwl.c +2 -0
@@ 747,6 747,8 @@ buttonpress(struct wl_listener *listener, void *data)
		xytonode(cursor->x, cursor->y, NULL, &c, NULL, NULL, NULL);
		if (c && (!client_is_unmanaged(c) || client_wants_focus(c)))
			focusclient(c, 1);
		else if (!c) /* Change monitor if the button was _pressed_ over an empty space */
			selmon = xytomon(cursor->x, cursor->y);

		keyboard = wlr_seat_get_keyboard(seat);
		mods = keyboard ? wlr_keyboard_get_modifiers(keyboard) : 0;

Do not follow this link