summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.c
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 /libvo/x11_common.c
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 'libvo/x11_common.c')
-rw-r--r--libvo/x11_common.c50
1 files changed, 25 insertions, 25 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index 0fa2fbf864..94573525b1 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -1405,13 +1405,13 @@ void vo_x11_fullscreen(void)
// fs->win
if ( ! (vo_fs_type & vo_wm_FULLSCREEN) ) // not needed with EWMH fs
{
- if (vo_dwidth != vo_screenwidth && vo_dheight != vo_screenheight)
- return;
- x = vo_old_x;
- y = vo_old_y;
- w = vo_old_width;
- h = vo_old_height;
- }
+ if (vo_dwidth != vo_screenwidth && vo_dheight != vo_screenheight)
+ return;
+ x = vo_old_x;
+ y = vo_old_y;
+ w = vo_old_width;
+ h = vo_old_height;
+ }
vo_x11_ewmh_fullscreen(_NET_WM_STATE_REMOVE); // removes fullscreen state if wm supports EWMH
vo_fs = VO_FALSE;
@@ -1423,18 +1423,18 @@ void vo_x11_fullscreen(void)
vo_fs = VO_TRUE;
if ( ! (vo_fs_type & vo_wm_FULLSCREEN) ) // not needed with EWMH fs
{
- if (vo_old_width &&
- (vo_dwidth == vo_screenwidth && vo_dwidth != vo_old_width) &&
- (vo_dheight == vo_screenheight && vo_dheight != vo_old_height))
- return;
- vo_old_x = vo_dx;
- vo_old_y = vo_dy;
- vo_old_width = vo_dwidth;
- vo_old_height = vo_dheight;
- x = 0;
- y = 0;
- w = vo_screenwidth;
- h = vo_screenheight;
+ if (vo_old_width &&
+ (vo_dwidth == vo_screenwidth && vo_dwidth != vo_old_width) &&
+ (vo_dheight == vo_screenheight && vo_dheight != vo_old_height))
+ return;
+ vo_old_x = vo_dx;
+ vo_old_y = vo_dy;
+ vo_old_width = vo_dwidth;
+ vo_old_height = vo_dheight;
+ x = 0;
+ y = 0;
+ w = vo_screenwidth;
+ h = vo_screenheight;
}
}
{
@@ -1455,14 +1455,14 @@ void vo_x11_fullscreen(void)
if ( ! (vo_fs_type & vo_wm_FULLSCREEN) ) // not needed with EWMH fs
{
- vo_x11_decoration(mDisplay, vo_window, (vo_fs) ? 0 : 1);
- vo_x11_sizehint(x, y, w, h, 0);
- vo_x11_setlayer(mDisplay, vo_window, vo_fs);
+ vo_x11_decoration(mDisplay, vo_window, (vo_fs) ? 0 : 1);
+ vo_x11_sizehint(x, y, w, h, 0);
+ vo_x11_setlayer(mDisplay, vo_window, vo_fs);
- if ((!(vo_fs)) & vo_ontop)
- vo_x11_setlayer(mDisplay, vo_window, vo_ontop);
+ if ((!(vo_fs)) & vo_ontop)
+ vo_x11_setlayer(mDisplay, vo_window, vo_ontop);
- XMoveResizeWindow(mDisplay, vo_window, x, y, w, h);
+ XMoveResizeWindow(mDisplay, vo_window, x, y, w, h);
}
#ifdef HAVE_XINERAMA
vo_x11_xinerama_move(mDisplay, vo_window);