Hi,
we use equalizer now with our powerwall and it works really nice.
Because we need keyboard interaction I had a look at
eq::Window::configInitGLX() to overcome the problem with redirect_overwrite.
I tried it with (using the WM)
Atom wmState = XInternAtom(display, "_NET_WM_STATE", False);
Atom fullScreenA = XInternAtom( display, "_NET_WM_STATE_FULLSCREEN", False
);
XEvent xev;
xev.xclient.type = ClientMessage;
xev.xclient.serial = 0;
xev.xclient.send_event = True;
xev.xclient.window = drawable;
xev.xclient.message_type = wmState;
xev.xclient.format = 32;
xev.xclient.data.l[0] = _NET_WM_STATE_ADD;
xev.xclient.data.l[1] = fullScreenA;
xev.xclient.data.l[2] = 0;
XSendEvent( display, parent, False, SubstructureRedirectMask |
SubstructureNotifyMask, &xev );
With
enum
{
_NET_WM_STATE_REMOVE =0,
_NET_WM_STATE_ADD = 1,
_NET_WM_STATE_TOGGLE =2
};
to get in fullscreen mode, but there is still a black space left. I had a
look at the freeglut fullscreen implementation, but I didn't get any new
information (except that direct_override is used in game mode and it should
work with XGrabKeyboard). Do you have an idea how get keyboard events in
fullscreen mode?
Another issue I observed is that the clients are nicely synced for mouse
interactions like rotation, but get asynchronous for zoom (both buttons
pressed).
Cheers,
Boris
--
Boris Neubert
University of Konstanz/ Germany
Computer Graphics and Media Design
room: Z706
phone: 0049 (0) 7531 88 2768
email: [EMAIL PROTECTED]
_______________________________________________
eq-dev mailing list
[email protected]
https://in-zueri.ch/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com