diff options
-rw-r--r-- | video.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |