fix condition to restore window position when unmaximized
authorRenan Traba <rvt10@inf.ufpr.br>
Fri, 19 Apr 2013 20:01:15 +0000 (17:01 -0300)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 21 May 2013 10:24:35 +0000 (11:24 +0100)
commitf10ec42ba86f3a2c9e1de9f06989509ee89a4770
treeff15fa94c9cef97f18fe9623253bb416f9e49d21
parent5a65dbeb3dc1fdc25c0db4f4d49da5bbe55134ab
fix condition to restore window position when unmaximized

if a window was at x=0 or y=0, the original condition return
false and the window is not moved to original position,
but if width or height from old_geometry is set then wmaker
already saved old_geometry, and we can trust x=0 or y=0 is
original position.
src/actions.c