diff options
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r-- | libvo/x11_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c index 9faeb741b8..199992eeac 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -1512,6 +1512,8 @@ void vo_x11_fullscreen(void) vo_x11_setlayer(mDisplay, vo_window, vo_ontop); XMapRaised(mDisplay, vo_window); + if ( ! (vo_fs_type & vo_wm_FULLSCREEN) ) // some WMs change window pos on map + XMoveResizeWindow(mDisplay, vo_window, x, y, w, h); XRaiseWindow(mDisplay, vo_window); XFlush(mDisplay); } |