Fix size restore on unfullscreening
commit6fe0c279309cc2b26fb0795a77fab6f70a1074ac
authorUli Schlachter <psychon@znc.in>
Tue, 1 Mar 2011 21:15:56 +0000 (1 22:15 +0100)
committerUli Schlachter <psychon@znc.in>
Tue, 1 Mar 2011 21:15:56 +0000 (1 22:15 +0100)
treedf4df05dcf7f568aa96aeacfb299695ba97e2905
parentb2e2959be815401bba2f59aa3b027300b863b8f7
Fix size restore on unfullscreening

When a window is restored back to normal resize from fullscreen mode, its
geometry got smaller by its titlebar's size. Fix this by adding the titlebar
geometry to the client's geometry at the correct place.

Thanks to anrxc for reporting this and helping me debug it.

Signed-off-by: Uli Schlachter <psychon@znc.in>
client.c