diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-07-22 18:46:07 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-07-22 18:46:07 +0000 |
commit | 983800b76f02482213c60f3a9d8604f9719a465e (patch) | |
tree | 6790310e760f62c5a41b80378d849635589a3867 /libvo/x11_common.c | |
parent | b9d2214eeeafb1cd829916ad41212af0d3ee7ebe (diff) | |
download | mpv-983800b76f02482213c60f3a9d8604f9719a465e.tar.bz2 mpv-983800b76f02482213c60f3a9d8604f9719a465e.tar.xz |
Enable runtime border/window decorations-toggling for Linux gl and gl2 vos.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27338 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r-- | libvo/x11_common.c | 6 |
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 */ |