]> git.sur5r.net Git - i3/i3/commit
fix crash: send non-floating window with floating parent to scratchpad (thanks pkordy)
authorSimon Elsbrock <simon@iodev.org>
Thu, 27 Sep 2012 22:38:02 +0000 (00:38 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Fri, 28 Sep 2012 15:58:58 +0000 (17:58 +0200)
commitda2b47c1e5d145c5029421129264dfaa986d94f5
tree151790b8bff1e1f34d348a5149db8f97258a840c
parent584a6b6b5951b5acd6839baae74c8306fd048fd1
fix crash: send non-floating window with floating parent to scratchpad (thanks pkordy)

Fix a crash that occured when moving a window to the scratchpad that is
seemingly floating to the user, but actually a descendant of a floating
parent con (and itself non-floating). If that is the case, move the
floating parent container to scratchpad instead of the window.

fixes #740
src/scratchpad.c
testcases/t/185-scratchpad.t