LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: sindri on June 24, 2008, 00:01:37

Title: way to programmatically minimize the fullscreen window
Post by: sindri on June 24, 2008, 00:01:37
added this to the WindowsDisplay class and to the DisplayImplementation interface

    public void minimize()
    {
        setMinimized(true);
        showWindow(getHwnd(), SW_SHOWMINNOACTIVE);
    }

just posting it here in case someone is lookin to do the same thing

cheers
Title: Re: way to programmatically minimize the fullscreen window
Post by: Matzon on June 24, 2008, 07:06:45
I'm fairly certain that the solution only works on windows ;)
We might want to add this however, not sure whats needed for linux or mac