Mercurial > mplayer.hg
changeset 34003:a62eb0fc6562
Port r14245 change to wsFullScreen().
author | ib |
---|---|
date | Fri, 09 Sep 2011 13:57:19 +0000 |
parents | 1b9b9a987ec9 |
children | 7070033cf360 |
files | gui/wm/ws.c |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/wm/ws.c Fri Sep 09 13:53:23 2011 +0000 +++ b/gui/wm/ws.c Fri Sep 09 13:57:19 2011 +0000 @@ -973,13 +973,12 @@ vo_x11_decoration(wsDisplay, win->WindowID, win->Decorations && !win->isFullScreen); vo_x11_sizehint(win->X, win->Y, win->Width, win->Height, 0); vo_x11_setlayer(wsDisplay, win->WindowID, win->isFullScreen); - - if ((!(win->isFullScreen)) & vo_ontop) - vo_x11_setlayer(wsDisplay, win->WindowID, 1); - XMoveResizeWindow(wsDisplay, win->WindowID, win->X, win->Y, win->Width, win->Height); } + if ((!(win->isFullScreen)) & vo_ontop) + vo_x11_setlayer(wsDisplay, win->WindowID, 1); + wsRaiseWindowTop(wsDisplay, win->WindowID); XFlush(wsDisplay); }