diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2015-08-06 15:12:42 +0100 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2015-08-06 15:13:41 +0100 |
commit | 3ba719e70f547679bfe71a1529ee44e443847b71 (patch) | |
tree | dea85f5ed99aad044d873652d1300bae3bc9ef9d /retrace | |
parent | 57986f2ee2cb89f19518d8264b776c4980343d4f (diff) |
glws: Don't hide X windows.
Doesn't work with NVIDIA priprietary drivers.
Diffstat (limited to 'retrace')
-rw-r--r-- | retrace/glws_xlib.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/retrace/glws_xlib.cpp b/retrace/glws_xlib.cpp index 75bd156e..56bb043f 100644 --- a/retrace/glws_xlib.cpp +++ b/retrace/glws_xlib.cpp @@ -237,7 +237,9 @@ resizeWindow(Window window, int w, int h) void showWindow(Window window) { - if (!ws::headless) { + // FIXME: This works for DRI drivers, but not NVIDIA proprietary drivers, + // for which the only solution seems to be to use Pbuffers. + if (true || !ws::headless) { XMapWindow(display, window); waitForEvent(window, MapNotify); } |