Re: How to tell if a newt window is maximized?
Posted by
gouessej on
Feb 23, 2012; 9:44am
URL: https://forum.jogamp.org/How-to-tell-if-a-newt-window-is-maximized-tp3767837p3769216.html
setTopLevelSize was necessary because it would be tricky to set the size of the whole window by predicting the size of the insets after the resizing operation. However, I think that's enough. We should not add helpers requiring to make very dirty things to work. isMaximized() would have to compare the size of the window to the size of the current screen. What would happen if the window is displayed partially on one screen and on another one at the same time?