]> git.sur5r.net Git - i3/i3/commit
Check container existance during drag events
authorOrestis Floros <orestisf1993@gmail.com>
Fri, 22 Sep 2017 16:25:02 +0000 (19:25 +0300)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 24 Sep 2017 15:07:13 +0000 (17:07 +0200)
commiteadc9a84616a78575d4311abb662ef469715ad08
tree9f7941c2755b3f6ab37c1a08183b2d5e36e4599a
parent2e83d2193eab403673340c19dd785f2708be12b3
Check container existance during drag events

This fixes a crash that occurs when disabling floating for a container
while it is being moved or resized.

@Deiz describes the problem:
> It occurs because the command that disables floating runs before the
event loop. So, the window is tiled, its floating parent is destroyed,
but then a key event is handled which causes the position/size of the
now-destroyed parent to be modified.

Fixes #1627
src/floating.c