LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: Jimmy on September 15, 2007, 18:26:35

Title: Minimize the window, or alt-tab in Linux?
Post by: Jimmy on September 15, 2007, 18:26:35
There has to be a way to do this.  Alt-tabbing is the most basic of features.  Works in Windows, and not in Linux.

Basically I tried to implement it myself just using the keyboard input, and then I was unable to find any way to minimize a lwjgl window.

Somebody please tell me I am making this way harder than it should be and that there's a way to do this =P
Title: Re: Minimize the window, or alt-tab in Linux?
Post by: Jimmy on September 17, 2007, 19:44:30
Going to update this post in case anyone else searches for the same problem.

This problem has been discussed in IRC, and here is what we know:

-Only effects later versions of Gnome, such as the one used in Ubuntu (Feisty and the upcoming Gutsy have been confirmed to have this problem).  KDE works perfectly.
-Only occurs when the mouse is in it's "Grabbed" state, which unfortunately is always when the game is in fullscreen mode
-Cannot be worked around because LWJGL does not provide a method to minimize the window.  I asked the developers if they would, and they do not seem to want to at this time, citing that the window manager is at fault and not lwjgl.

Note:  I am not complaining about LWJGL and am very grateful for the work the developers have and continue to put into the library.  I have updated this post simply for archival purposes, as Ubuntu is one of the most popular Linux distributions and it may save someone a lot of time that I have spent trying to figure out why it happens