sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit bcdb676abb34de49c57a11059658427f675ccec4
parent 9253278328524e4f483a66aa54ed11fd8538ace8
Author: Ryan Dwyer <ryandwyer1@gmail.com>
Date:   Mon,  4 Jun 2018 11:31:25 +1000

Don't set focus to NULL when clicking a surface which has no container

Diffstat:
Msway/input/cursor.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/input/cursor.c b/sway/input/cursor.c @@ -264,7 +264,7 @@ void dispatch_cursor_button(struct sway_cursor *cursor, if (new_ws != old_ws) { seat_set_focus(cursor->seat, cont); } - } else { + } else if (cont) { seat_set_focus(cursor->seat, cont); }