I have a complete fullscreen function under Linux I wrote as part of the linux 
client for zybacafe.

Code:

Procedure LockDisplay;
Begin
  ZBLinMain.Visible := True;
 SetWindowFullScreen(ZBLinMain,true);
 GrabMouseToForm(ZBLinMain);
 GrabKeyBoardToForm(ZBLinMain);
  Writeln('Display locked');
end;

You may adapt as you see fit.

Notes: GTK1 only, the SetWindowFullScreen works under GTK2 as well (I added 
it) but the Grab functions are GTK1 only at this time.

A.J.
On Tuesday 26 December 2006 17:57, Graeme Geldenhuys wrote:
> On 12/23/06, Felipe Monteiro de Carvalho
>
> <[EMAIL PROTECTED]> wrote:
> > On 12/23/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
> > > > Does X11 support more fullscreen then that?
> > >
> > > I guess yes, but I never played with it.
> >
> > By more fullscreen I mean like games do on Windows, where they really
> > are fullscreen and nothing else will be allowed to show at the same
> > time as the game.
> >
> > I've never seen this on X11, so I have my doubts.
>
> The NeverWinter Nights game runs fullscreen under Linux.  You don't
> see any desktop windows like the taskbar, etc..

-- 
"Software developers have become adept at the difficult art of building 
reasonably reliable systems out of unreliable parts." - Bjarne Stroustrup 
A.J. Venter
Chief Software Architect
OpenLab International           | +27 83 455 99 78 (South Africa) 
http://www.getopenlab.com       | 086 654 2898 (Fax)
http://www.silentcoder.co.za    | +55 118 162 2079 (Brazil)
GPG Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x27CFFE5A

Attachment: pgpYZjli3E3ox.pgp
Description: PGP signature

Reply via email to