multi-headed Gnome based linux systems, this provides an extra hint that we
really wish to open up our full screen window spanning all physical displays.
This works around a kink in the gnome window manager where it tries to "lie"
to applications about the full screen size assuming most applications don't
wish their windows to span multiple physical displays.
traitsSet |= setFromProperty(traits->screenNum, winNode, "screen");
const SGPropertyNode* fullscreenNode = winNode->getNode("fullscreen");
+ const SGPropertyNode* ordNode = winNode->getNode("overrideRedirect");
if (fullscreenNode && fullscreenNode->getBoolValue()) {
// fullscreen mode
traits->width = width;
traits->height = height;
traits->supportsResize = false;
+ bool overrideRedirect = ordNode && ordNode->getBoolValue();
+ traits->overrideRedirect = overrideRedirect;
traits->x = 0;
traits->y = 0;
traitsSet = 1;