Re: New Fullscreen Window Method



On Friday 03 of February 2012, Karl F. Glatzer wrote:
> I must admit that you are right about thinking that only the WM and
> Configuration Utilities should change the desktop resolution or similar
> changes.

 That's right. In fact, applications should never change desktop geometry at 
all. At most, they might want to resize the viewport.

 If you do not know what the difference is, then desktop geometry is what the 
applications see, while the viewport is the monitor resolution.

 Currently SDL resizes the desktop, which usually leads the WM to resize all 
windows to fit in the new size, panels are moved, etc. . If the size is 
something small, this usually ruins the setup, because going to something as 
small as e.g. 640x480 is a resize operation that most applications cannot 
revert to original.

 As such, I suggest you do not use the word "fullscreen" for this, as it is 
overloading the word with another meaning for a different concept. What you 
want is a window to be, uhm, "viewported".

 As for the actual implementation, I assume it might be sufficient to have 
another WM_STATE flag that will cause the viewport to be set to the window's 
geometry (or as closely as possible) whenever that window is the active one.

-- 
 Lubos Lunak
 l lunak suse cz


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]