diff options
| author | phintuka <phintuka> | 2011-07-01 13:01:02 +0000 |
|---|---|---|
| committer | phintuka <phintuka> | 2011-07-01 13:01:02 +0000 |
| commit | ed49dce6c60f5cc84035a76b7046eb3de303ddf3 (patch) | |
| tree | 685421caedb2d1a80062f4776b839ccadb144c2a | |
| parent | 8234051525f927c70c7c0d966243ab1d691e2339 (diff) | |
| download | xineliboutput-ed49dce6c60f5cc84035a76b7046eb3de303ddf3.tar.gz xineliboutput-ed49dce6c60f5cc84035a76b7046eb3de303ddf3.tar.bz2 | |
Cosmetics (removed duplicate if())
| -rw-r--r-- | xine_sxfe_frontend.c | 10 |
1 files 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; |
