[totem] lib: Fix possibly broken behaviour
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] lib: Fix possibly broken behaviour
- Date: Sun, 4 Dec 2011 11:39:14 +0000 (UTC)
commit b540d7983cdb63992cedf76fb88c91c8349afba3
Author: Bastien Nocera <hadess hadess net>
Date: Sun Dec 4 12:19:07 2011 +0100
lib: Fix possibly broken behaviour
lib/totem-scrsaver.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/totem-scrsaver.c b/lib/totem-scrsaver.c
index 0572610..f5ba2e1 100644
--- a/lib/totem-scrsaver.c
+++ b/lib/totem-scrsaver.c
@@ -278,7 +278,7 @@ fake_event (TotemScrsaver *scr)
* but we can't do much about that... */
if (scr->priv->window != NULL &&
gtk_window_has_toplevel_focus (scr->priv->window) == FALSE)
- return;
+ return TRUE;
XLockDisplay (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()));
XTestFakeKeyEvent (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), *scr->priv->keycode,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]