summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xmga.c
diff options
context:
space:
mode:
authorhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-04-18 15:52:38 +0000
committerhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-04-18 15:52:38 +0000
commitdbb001bae23b18295014c9fc925538902f956c35 (patch)
treea7198cff9124bed9cbf3665c6f325c641330e092 /libvo/vo_xmga.c
parentda39de73a8f773d2516eadd20ea2172efc3df2a3 (diff)
downloadmpv-dbb001bae23b18295014c9fc925538902f956c35.tar.bz2
mpv-dbb001bae23b18295014c9fc925538902f956c35.tar.xz
replace VO and VF numeric flags with #defined identifiers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_xmga.c')
-rw-r--r--libvo/vo_xmga.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libvo/vo_xmga.c b/libvo/vo_xmga.c
index 008e5a424c..a5f020667a 100644
--- a/libvo/vo_xmga.c
+++ b/libvo/vo_xmga.c
@@ -177,7 +177,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width,
else
#endif
{
- if (flags & 1)
+ if (flags & VOFLAG_FULLSCREEN)
aspect(&dwidth, &dheight, A_ZOOM);
XGetWindowAttributes(mDisplay, mRootWin, &attribs);
@@ -237,13 +237,13 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width,
XStoreName(mDisplay, vo_window, mTitle);
XMapWindow(mDisplay, vo_window);
- if (flags & 1)
+ if (flags & VOFLAG_FULLSCREEN)
vo_x11_fullscreen();
#ifdef HAVE_XINERAMA
vo_x11_xinerama_move(mDisplay, vo_window);
#endif
- } else if (!(flags & 1))
+ } else if (!(flags & VOFLAG_FULLSCREEN))
XMoveResizeWindow(mDisplay, vo_window, vo_dx, vo_dy,
vo_dwidth, vo_dheight);
}
@@ -254,7 +254,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width,
} // !GUI
- if ((flags & 1) && (!WinID))
+ if ((flags & VOFLAG_FULLSCREEN) && (!WinID))
{
vo_dx = 0;
vo_dy = 0;