x11: further improvement to get maxwidth/maxheight fully working.
x11: further improvement to get maxwidth/maxheight fully working.

wkitty42/fpGUI,wkitty42/fpGUI,wkitty42/fpGUI,wkitty42/fpGUI,wkitty42/fpGUI,wkitty42/fpGUI