[Linux] Window sizes doesn't update after max.

Archives Forums/MaxGUI Bug Reports/[Linux] Window sizes doesn't update after max.

Matt Merkulov(Posted 2012) [#1]
Window's width and height doesn't update after maximization in Linux using FLTK.

uperStrict

Framework brl.basic
Import maxgui.drivers
Import brl.eventqueue

Local Window:TGadget = CreateWindow( AppTitle, 0, 0, 640, 480, Null, Window_TItleBar | Window_Resizable )
MaximizeWindow( Window )

DebugLog GadgetWidth( Window )
DebugLog GadgetHeight( Window )

Repeat
	Select PollEvent()
		Case EVENT_WINDOWCLOSE
			exit
	End Select
Forever

Result is:
640
480