sway

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

commit c43374cdf043e913b48d3cdb31d0f716a2cf58bd
parent 08815f9cfb4d0e93d69997cb229333326212744b
Author: Brian Ashworth <RedSoxFan@users.noreply.github.com>
Date:   Tue, 25 Sep 2018 16:46:38 -0400

Merge pull request #2712 from alexbakker/fix-crash

Add a missing null check for moving tiling containers
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 @@ -897,7 +897,7 @@ void dispatch_cursor_button(struct sway_cursor *cursor, // Handle moving a tiling container if (config->tiling_drag && mod_pressed && state == WLR_BUTTON_PRESSED && - !is_floating_or_child && !cont->is_fullscreen) { + !is_floating_or_child && cont && !cont->is_fullscreen) { seat_pointer_notify_button(seat, time_msec, button, state); seat_begin_move_tiling(seat, cont, button); return;