I did a bit of searching as I want to implement the same thing under
fpGUI. After seeing how well Xlib has been designed, I knew there had
to be something. For Xlib the magic keyword is:
_NET_WM_STATE_FULLSCREEN
It seems most window managers are likely to understand the _NET_WM
hints, so should work on most X11 based window managers. I know KDE
supports it and am 99% sure GNOME does as well.
For more details and a sample application have a look at the following
link. Please read the whole thread (only 3 messages).
http://tinyurl.com/yleur7
I will be trying this in fpGUI tomorrow and let you know how things
are going. Maybe we can add something like this into LCL as well.
Graeme.
On 12/23/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
On Fri, 22 Dec 2006 19:04:44 -0200
"Felipe Monteiro de Carvalho" <[EMAIL PROTECTED]> wrote:
> On 12/22/06, Aleš Katona <[EMAIL PROTECTED]> wrote:
> > Is there a way to switch to fullscreen mode via LCL so I don't have
> > to go about using base X11 stuff?
There is no platform independent procedure yet. But for gtk there is:
unit gtkproc
SetWindowFullScreen
> Is a maximized window without borders enougth?
>
> Does X11 support more fullscreen then that?
I guess yes, but I never played with it.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives