Mercurial > mplayer.hg
diff gui/interface.c @ 33993:57d711d3dcca
Change parameter b of wsMoveWindow().
Make it Bool, rename it abs and reverse its meaning. The parameter now
indicates whether x and y shall be handled as real, absolute position
values or as possibly mock ones.
| author | ib |
|---|---|
| date | Thu, 08 Sep 2011 11:11:02 +0000 |
| parents | d99f341d8442 |
| children | afb361a00e1f |
line wrap: on
line diff
--- a/gui/interface.c Thu Sep 08 10:43:11 2011 +0000 +++ b/gui/interface.c Thu Sep 08 11:11:02 2011 +0000 @@ -742,7 +742,7 @@ if (!guiApp.subWindow.isFullScreen) wsResizeWindow(&guiApp.subWindow, guiInfo.VideoWidth, guiInfo.VideoHeight); - wsMoveWindow(&guiApp.subWindow, True, guiApp.sub.x, guiApp.sub.y); + wsMoveWindow(&guiApp.subWindow, False, guiApp.sub.x, guiApp.sub.y); if (!guiApp.subWindow.Mapped) wsVisibleWindow(&guiApp.subWindow, wsShowWindow); @@ -752,7 +752,7 @@ uiEventHandling(evFullScreen, 0); if (guiWinID >= 0) - wsMoveWindow(&guiApp.mainWindow, False, 0, guiInfo.VideoHeight); + wsMoveWindow(&guiApp.mainWindow, True, 0, guiInfo.VideoHeight); break; @@ -797,7 +797,7 @@ if (!guiApp.subWindow.isFullScreen) { wsResizeWindow(&guiApp.subWindow, guiInfo.VideoWidth, guiInfo.VideoHeight); - wsMoveWindow(&guiApp.subWindow, True, guiApp.sub.x, guiApp.sub.y); + wsMoveWindow(&guiApp.subWindow, False, guiApp.sub.x, guiApp.sub.y); } if (!guiApp.subWindow.Mapped)
