5559N/AFrom 57558315b40a1159a14aa05b6420d6b601e3318b Mon Sep 17 00:00:00 2001
5559N/AFrom: Alan Coopersmith <alan.coopersmith@oracle.com>
5559N/ADate: Sat, 2 Jan 2016 22:55:58 -0800
5559N/ASubject: [PATCH] bug 15412661
5559N/A
5398N/A15412661 SUNBT6585644 xscreensaver can cause KeyPress event loop between
5398N/A itself and xscreensaver-lock.
5398N/A
5398N/AUpstream status unknown - suspect to be specific to our GTK unlock dialog.
5398N/A---
5559N/A driver/timers.c | 7 +++++++
5559N/A 1 file changed, 7 insertions(+)
5398N/A
5398N/Adiff --git a/driver/timers.c b/driver/timers.c
5559N/Aindex 32728a0..825c2d9 100644
5398N/A--- a/driver/timers.c
5398N/A+++ b/driver/timers.c
5398N/A@@ -131,6 +131,13 @@ notice_events (saver_info *si, Window window, Bool top_p)
5398N/A unsigned int nkids;
5398N/A int screen_no;
5398N/A
5398N/A+ if ((si->pw_data->got_windowid) && (window == si->passwd_dialog))
5398N/A+ {
5398N/A+ if (p->verbose_p)
5398N/A+ fprintf (stderr, "--> notice_events() breaking out of loop!\n");
5398N/A+ return;
5398N/A+ }
5398N/A+
5398N/A if (XtWindowToWidget (si->dpy, window))
5398N/A /* If it's one of ours, don't mess up its event mask. */
5398N/A return;
5559N/A--
5559N/A2.6.1
5398N/A