summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r--libvo/x11_common.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index a02303c60b..4a78b25b04 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -1588,6 +1588,12 @@ void vo_x11_ontop(void)
vo_x11_setlayer(mDisplay, vo_window, vo_ontop);
}
+void vo_x11_border(void)
+{
+ vo_border = !vo_border;
+ vo_x11_decoration(mDisplay, vo_window, vo_border && !vo_fs);
+}
+
/*
* XScreensaver stuff
*/