diff options
author | phintuka <phintuka> | 2012-01-24 14:32:38 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2012-01-24 14:32:38 +0000 |
commit | d0da20fbec0ebbda34b94ecf03961291e118050a (patch) | |
tree | 4356e6eacf50e8c535fe10e3d10b63d4a15767cb | |
parent | 175f30faff39467f19fcd2fdc3eb0b05843e3aa4 (diff) | |
download | xineliboutput-d0da20fbec0ebbda34b94ecf03961291e118050a.tar.gz xineliboutput-d0da20fbec0ebbda34b94ecf03961291e118050a.tar.bz2 |
Removed opengl check from hud focus handler
-rw-r--r-- | xine_sxfe_frontend.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/xine_sxfe_frontend.c b/xine_sxfe_frontend.c index a4a4e391..e8bd7e1c 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.180 2012-01-24 13:12:17 phintuka Exp $ + * $Id: xine_sxfe_frontend.c,v 1.181 2012-01-24 14:32:38 phintuka Exp $ * */ @@ -1308,14 +1308,12 @@ static void hud_osd_focus(sxfe_t *this, XFocusChangeEvent *fev) if (fev->type == FocusIn) { /* Show HUD again if sxfe window receives focus */ - if (!(this->opengl_always || this->opengl_hud)) - XMapWindow(this->display, this->hud_window); + XMapWindow(this->display, this->hud_window); } else if (fev->type == FocusOut) { /* Dismiss HUD window if focusing away from frontend window */ - if (!(this->opengl_always || this->opengl_hud)) - XUnmapWindow(this->display, this->hud_window); + XUnmapWindow(this->display, this->hud_window); } XUnlockDisplay(this->display); |