From ed49dce6c60f5cc84035a76b7046eb3de303ddf3 Mon Sep 17 00:00:00 2001 From: phintuka Date: Fri, 1 Jul 2011 13:01:02 +0000 Subject: Cosmetics (removed duplicate if()) --- xine_sxfe_frontend.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/xine_sxfe_frontend.c b/xine_sxfe_frontend.c index e146d7c7..0317c6ce 100644 --- a/xine_sxfe_frontend.c +++ b/xine_sxfe_frontend.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_sxfe_frontend.c,v 1.165 2011-07-01 12:57:39 phintuka Exp $ + * $Id: xine_sxfe_frontend.c,v 1.166 2011-07-01 13:01:02 phintuka Exp $ * */ @@ -2430,8 +2430,8 @@ static void XConfigureEvent_handler(sxfe_t *this, XConfigureEvent *cev) } } - if ((cev->x == 0) && (cev->y == 0)) { - if(!this->fullscreen) { + if (!this->fullscreen) { + if ((cev->x == 0) && (cev->y == 0)) { int tmp_x, tmp_y; Window tmp_win; XLockDisplay(this->display); @@ -2442,9 +2442,7 @@ static void XConfigureEvent_handler(sxfe_t *this, XConfigureEvent *cev) this->x.ypos = tmp_y; } XUnlockDisplay(this->display); - } - } else { - if(!this->fullscreen) { + } else { /* update video window position */ this->x.xpos = cev->x; this->x.ypos = cev->y; -- cgit v1.2.3