using EWMH

MK halfcountplus at intergate.com
Thu Feb 4 10:32:10 PST 2010


I'm developing a openGL application for X windows and am currently looking at different ways to "fullscreen" a window, particularly EWMH which should cover a number of popular window managers  including ones which do not respond to Motif hints.

I've attached the code I am currently using, the relevant function is fullscreenEWMH (about 45 lines).  This works on fvwm, but returns an Xlib "Bad Request" (on XSendEvent() using ClientMessage) anyway.  It does the same thing in metacity, except that it will only work when issued from an external process (ie, it does not work within the application itself).

If anyone can provide me with some info/docs/advice/examples, I'm willing to prepare a brief sort of on-line tutorial on using EWMH, since as is now, the only material I could find was source code from other applications.

-- 
MK <halfcountplus at intergate.com>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: window.c
Url: http://lists.freedesktop.org/archives/xdg/attachments/20100204/ef2a78c0/attachment.c 


More information about the xdg mailing list