summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xine_sxfe_frontend.c10
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;