summaryrefslogtreecommitdiffstats
path: root/Gui
diff options
context:
space:
mode:
authorrtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-07-11 22:27:18 +0000
committerrtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-07-11 22:27:18 +0000
commit1772486e476e0dd90fe69e4d363d96e9a81a3397 (patch)
tree0e208c265c6c50c5964f42154084560229b63a8c /Gui
parent9b0045f5e1cdf51113e601f79ad42b730c55594e (diff)
downloadmpv-1772486e476e0dd90fe69e4d363d96e9a81a3397.tar.bz2
mpv-1772486e476e0dd90fe69e4d363d96e9a81a3397.tar.xz
Indentation fix from previous patch, as discussed on IRC.
Patch by Alexander Strasser git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12799 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui')
-rw-r--r--Gui/wm/ws.c44
1 files changed, 22 insertions, 22 deletions
diff --git a/Gui/wm/ws.c b/Gui/wm/ws.c
index e57c8b05ce..186017ae6f 100644
--- a/Gui/wm/ws.c
+++ b/Gui/wm/ws.c
@@ -772,13 +772,13 @@ void wsFullScreen( wsTWindow * win )
{
vo_x11_ewmh_fullscreen( _NET_WM_STATE_REMOVE ); // removes fullscreen state if wm supports EWMH
if ( ! (vo_fs_type & vo_wm_FULLSCREEN) ) // shouldn't be needed with EWMH fs
- {
- win->X=win->OldX;
- win->Y=win->OldY;
- win->Width=win->OldWidth;
- win->Height=win->OldHeight;
- decoration=win->Decorations;
- }
+ {
+ win->X=win->OldX;
+ win->Y=win->OldY;
+ win->Width=win->OldWidth;
+ win->Height=win->OldHeight;
+ decoration=win->Decorations;
+ }
#ifdef ENABLE_DPMS
wsScreenSaverOn( wsDisplay );
@@ -789,12 +789,12 @@ void wsFullScreen( wsTWindow * win )
else
{
if ( ! (vo_fs_type & vo_wm_FULLSCREEN) ) // shouldn't be needed with EWMH fs
- {
- win->OldX=win->X; win->OldY=win->Y;
- win->OldWidth=win->Width; win->OldHeight=win->Height;
- win->X=wsOrgX; win->Y=wsOrgY;
- win->Width=wsMaxX; win->Height=wsMaxY;
- }
+ {
+ win->OldX=win->X; win->OldY=win->Y;
+ win->OldWidth=win->Width; win->OldHeight=win->Height;
+ win->X=wsOrgX; win->Y=wsOrgY;
+ win->Width=wsMaxX; win->Height=wsMaxY;
+ }
win->isFullScreen=True;
#ifdef ENABLE_DPMS
@@ -805,19 +805,19 @@ void wsFullScreen( wsTWindow * win )
}
if ( ! (vo_fs_type & vo_wm_FULLSCREEN) ) // shouldn't be needed with EWMH fs
- {
- vo_x11_decoration( wsDisplay,win->WindowID,decoration );
- vo_x11_sizehint( win->X,win->Y,win->Width,win->Height,0 );
- vo_x11_setlayer( wsDisplay,win->WindowID,win->isFullScreen );
+ {
+ vo_x11_decoration( wsDisplay,win->WindowID,decoration );
+ 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);
+ if ((!(win->isFullScreen)) & vo_ontop) vo_x11_setlayer(wsDisplay, win->WindowID,1);
+
+ XMoveResizeWindow( wsDisplay,win->WindowID,win->X,win->Y,win->Width,win->Height );
+ }
- XMoveResizeWindow( wsDisplay,win->WindowID,win->X,win->Y,win->Width,win->Height );
- }
-
if ( vo_wm_type == 0 && !(vo_fsmode&16) )
{
- XWithdrawWindow( wsDisplay,win->WindowID,wsScreen );
+ XWithdrawWindow( wsDisplay,win->WindowID,wsScreen );
}