summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2012-01-24 14:32:38 +0000
committerphintuka <phintuka>2012-01-24 14:32:38 +0000
commitd0da20fbec0ebbda34b94ecf03961291e118050a (patch)
tree4356e6eacf50e8c535fe10e3d10b63d4a15767cb
parent175f30faff39467f19fcd2fdc3eb0b05843e3aa4 (diff)
downloadxineliboutput-d0da20fbec0ebbda34b94ecf03961291e118050a.tar.gz
xineliboutput-d0da20fbec0ebbda34b94ecf03961291e118050a.tar.bz2
Removed opengl check from hud focus handler
-rw-r--r--xine_sxfe_frontend.c8
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);