[racket] fullscreen without windowmanager?

From: Laurent (laurent.orseau at gmail.com)
Date: Wed Jan 9 02:50:49 EST 2013

The "maximize" operation in general depends on the window manager (i.e., it
is up to the wm to interpret it the way it wants).
If you want your window to take the whole screen, maybe you can get the
screen height and width and set the window attributes to these values?

Laurent


On Wed, Jan 9, 2013 at 8:05 AM, Nikolaus Klepp <dr.klepp at gmx.at> wrote:

> Hi all!
>
> I want to make a follscreen window on Xorg without windowmanager. This code
> works, when a windowmanager is running, but it fails without, i.e. the
> window
> is 300x300.
>
> #lang racket/gui
> (define frame
>   (new frame%
>      [label "test"]
>      [width  300]
>      [height 300]
>      [style
> (list'no-resize-border 'no-caption 'no-system-menu 'hide-menu-bar)]))
> (send frame show #t)
>
> Even when I add a (send frame maximize #t), it does not work.
>
> Any idea how to get this working?
>
> Nik
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130109/ea818e64/attachment-0001.html>

Posted on the users mailing list.