summaryrefslogtreecommitdiff
path: root/video.c
diff options
context:
space:
mode:
authorcyril <>2013-03-06 17:07:30 +0100
committerJohns <johns98@gmx.net>2013-03-06 17:07:30 +0100
commita747829ffb807a7e75b6a11128e1dfe5d95948f9 (patch)
tree67a1b457f3a96529299bab45b4b57533beff78ef /video.c
parent7db63875d0198c92e0ab554147ad78f88623b173 (diff)
downloadvdr-plugin-softhddevice-a747829ffb807a7e75b6a11128e1dfe5d95948f9.tar.gz
vdr-plugin-softhddevice-a747829ffb807a7e75b6a11128e1dfe5d95948f9.tar.bz2
Adds raise softhddevice video window support.
Diffstat (limited to 'video.c')
-rw-r--r--video.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/video.c b/video.c
index baddb81..aabe4ab 100644
--- a/video.c
+++ b/video.c
@@ -10822,6 +10822,19 @@ void VideoSetAutoCrop(int interval, int delay, int tolerance)
}
///
+/// Raise video window.
+///
+int VideoRaiseWindow(void)
+{
+ const static uint32_t values[] = { XCB_STACK_MODE_ABOVE };
+
+ xcb_configure_window(Connection, VideoWindow, XCB_CONFIG_WINDOW_STACK_MODE,
+ values);
+
+ return 1;
+}
+
+///
/// Initialize video output module.
///
/// @param display_name X11 display name