From fdc1560a0ed31f0c275c47ac8cb7521c0c636ddf Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 1 Mar 2013 11:17:56 +0100 Subject: core: move X11 specific code to x11_common.c Nothing changes, because vo_check_events() is called at the same place anyway. --- core/mplayer.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'core') diff --git a/core/mplayer.c b/core/mplayer.c index bd36056872..78de39cce7 100644 --- a/core/mplayer.c +++ b/core/mplayer.c @@ -3245,11 +3245,6 @@ static void run_playloop(struct MPContext *mpctx) // ================================================================ vo_check_events(vo); -#ifdef CONFIG_X11 - if (vo->x11) { - xscreensaver_heartbeat(vo->x11); - } -#endif if (heartbeat_cmd) { static unsigned last_heartbeat; unsigned now = GetTimerMS(); -- cgit v1.2.3