summaryrefslogtreecommitdiffstats
path: root/libvo/vo_x11.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-08-02 22:04:35 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-08-02 22:04:35 +0300
commit6cce822505c0a76ac520909a895021b8f5b7e5ab (patch)
treef8ba954c698470208a243be3da216f7f54367f46 /libvo/vo_x11.c
parent04f3909a724a06ca5a5a3921061f2ba9fb9d8787 (diff)
parentded7033671fb7d84fbdb67ace46c1fc8833631bc (diff)
downloadmpv-6cce822505c0a76ac520909a895021b8f5b7e5ab.tar.bz2
mpv-6cce822505c0a76ac520909a895021b8f5b7e5ab.tar.xz
Merge svn changes up to r27399
Conflicts: libmpcodecs/vd.c libmpcodecs/ve_raw.c libvo/video_out.c libvo/x11_common.c mplayer.c
Diffstat (limited to 'libvo/vo_x11.c')
-rw-r--r--libvo/vo_x11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c
index fd44bbf3dd..4c2e1e5ff8 100644
--- a/libvo/vo_x11.c
+++ b/libvo/vo_x11.c
@@ -44,7 +44,7 @@ int XShmGetEventBase(Display *);
#include "mp_msg.h"
#include "help_mp.h"
-#ifdef HAVE_NEW_GUI
+#ifdef CONFIG_GUI
#include "gui/interface.h"
#include "mplayer.h"
#endif
@@ -369,7 +369,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
aspect = ((1 << 16) * d_width + d_height / 2) / d_height;
-#ifdef HAVE_NEW_GUI
+#ifdef CONFIG_GUI
if (use_gui)
guiGetEvent(guiSetShVideo, 0); // the GUI will set up / resize the window
else