VideoSetFullscreen needs X11 connection.

This commit is contained in:
Johns 2012-02-26 20:54:31 +01:00
parent e977007dd3
commit 51eb720265

View File

@ -9144,6 +9144,10 @@ void VideoSetFullscreen(int onoff)
{
xcb_client_message_event_t event;
if (!XlibDisplay) { // needs running connection
return;
}
memset(&event, 0, sizeof(event));
event.response_type = XCB_CLIENT_MESSAGE;
event.format = 32;