c00kiemon5ter / monsterwm

tiny but monstrous tiling window manager
https://github.com/c00kiemon5ter/monsterwm
Other
334 stars 44 forks source link

Ensure XMoveResizeWindow cannot crash monsterwm #11

Closed mil closed 12 years ago

mil commented 12 years ago

Ensures that XMoveResizeWindow does set W/H to 0 and crash monsterwm.

Fixes bug described here: https://github.com/mil/monsterwm/commit/5e104b4eb299f569bea4034eebd3cf58d4efdfee

c00kiemon5ter commented 12 years ago

the check is against MINWMSZ (aka minimum window size). there was a wrong logic operator there. thanks for catching and reporting this ;)

closed by fixed commit 534c8e5d8d1d654ae52a0b1f10a24baec7c18739