Fix gcc -O3 bug when resizing aspect-ratio windows.
commitbd3370ed1b0dd0cfc585b3e1ffb30e1ccab4a46e
authortadam <tadam>
Sat, 22 Aug 2009 15:58:22 +0000 (22 15:58 +0000)
committertadam <tadam>
Sat, 22 Aug 2009 15:58:22 +0000 (22 15:58 +0000)
tree5d71d57174f070f3cd564fefd12b519893e0fd4d
parent49ef5d0812f6dd29254cf1f3feab32f90cd37df4
Fix gcc -O3 bug when resizing aspect-ratio windows.

Due to how the calculations are done in
geometry.c:__cs_handle_aspect_ratio(), the compiler optimizes the out
completely -- make the local variables to that function volatile to stop an
infinite loop in FVWM when resizing a window with aspect ratio, such as
Mplayer.
ChangeLog
fvwm/geometry.c