diff options
author | Johns <johns98@gmx.net> | 2012-02-26 20:54:31 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2012-02-26 20:54:31 +0100 |
commit | 51eb720265546e5874b458e037c50d1cb29746d6 (patch) | |
tree | a3938450cddece2d92b4c3f7331d461e455a8ebd | |
parent | e977007dd37ba7b67b78079602105c6b6c2da6c6 (diff) | |
download | vdr-plugin-softhddevice-51eb720265546e5874b458e037c50d1cb29746d6.tar.gz vdr-plugin-softhddevice-51eb720265546e5874b458e037c50d1cb29746d6.tar.bz2 |
VideoSetFullscreen needs X11 connection.
-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; |