summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY2
-rw-r--r--xine_sxfe_frontend.c13
2 files changed, 14 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index c4004af3..fffbf327 100644
--- a/HISTORY
+++ b/HISTORY
@@ -3,6 +3,7 @@ VDR Plugin 'xineliboutput' Revision History
????-??-??: Version 1.1.0
+- Fixed setting focus in vdr-sxfe fullscreen mode
- Added Gnome screensaver support to vdr-sxfe (Thanks to Alex Stansfield)
- Changed the default grab quality to match VDR's documentation.
- Added sharpness and noise reduction setup options for VDPAU.
@@ -22,6 +23,7 @@ VDR Plugin 'xineliboutput' Revision History
2009-02-12: Version 1.0.4 (branch-1_0_x)
Backported bugfixes from CVS trunk:
+- Updated Italian translations (Thanks to Diego Pierotto)
- Fixed default grab quality (Thanks to Jochen Dolze, patch #2454827)
- Added math library (-lm) to vdr-sxfe when building with
Xrender / HUD OSD support (Thanks to Anssi Hannula)
diff --git a/xine_sxfe_frontend.c b/xine_sxfe_frontend.c
index b38a8139..dfad4993 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.108 2009-02-17 16:18:28 phintuka Exp $
+ * $Id: xine_sxfe_frontend.c,v 1.109 2009-02-18 21:14:37 phintuka Exp $
*
*/
@@ -117,6 +117,7 @@ typedef struct sxfe_s {
Atom xa_MOTIF_WM_HINTS;
Atom xa_WIN_LAYER;
Atom xa_WIN_STATE;
+ Atom xa_NET_ACTIVE_WINDOW;
Atom xa_NET_WM_STATE;
Atom xa_NET_WM_STATE_ADD;
Atom xa_NET_WM_STATE_DEL;
@@ -196,6 +197,7 @@ static void init_atoms(sxfe_t *this)
this->xa_MOTIF_WM_HINTS = XInternAtom(this->display, "_MOTIF_WM_HINTS", False);
this->xa_WIN_LAYER = XInternAtom(this->display, "_WIN_LAYER", False);
this->xa_WIN_STATE = XInternAtom(this->display, "_WIN_STATE", False);
+ this->xa_NET_ACTIVE_WINDOW = XInternAtom(this->display, "_NET_ACTIVE_WINDOW", False);
this->xa_NET_WM_STATE = XInternAtom(this->display, "_NET_WM_STATE", False);
this->xa_NET_WM_STATE_ADD = XInternAtom(this->display, "_NET_WM_STATE_ADD", False);
this->xa_NET_WM_STATE_DEL = XInternAtom(this->display, "_NET_WM_STATE_DEL", False);
@@ -284,6 +286,15 @@ static void set_fullscreen_props(sxfe_t *this)
XSendEvent(this->display, DefaultRootWindow(this->display), False,
SubstructureNotifyMask|SubstructureRedirectMask, &ev);
XUnlockDisplay(this->display);
+
+ /* _NET_ACTIVE_WINDOW */
+ XLockDisplay(this->display);
+ ev.xclient.message_type = this->xa_NET_ACTIVE_WINDOW;
+ ev.xclient.data.l[0] = 0;
+ ev.xclient.data.l[1] = 0;
+ XSendEvent(this->display, DefaultRootWindow(this->display), False,
+ SubstructureNotifyMask|SubstructureRedirectMask, &ev);
+ XUnlockDisplay(this->display);
}
static void update_window_title(sxfe_t *this)