equal
deleted
inserted
replaced
1 15412661 SUNBT6585644 xscreensaver can cause KeyPress event loop between |
|
2 itself and xscreensaver-lock. |
|
3 |
|
4 Upstream status unknown - suspect to be specific to our GTK unlock dialog. |
|
5 --- |
|
6 driver/timers.c | 7 +++++++ |
|
7 1 files changed, 7 insertions(+), 0 deletions(-) |
|
8 |
|
9 diff --git a/driver/timers.c b/driver/timers.c |
|
10 --- a/driver/timers.c |
|
11 +++ b/driver/timers.c |
|
12 @@ -131,6 +131,13 @@ notice_events (saver_info *si, Window window, Bool top_p) |
|
13 unsigned int nkids; |
|
14 int screen_no; |
|
15 |
|
16 + if ((si->pw_data->got_windowid) && (window == si->passwd_dialog)) |
|
17 + { |
|
18 + if (p->verbose_p) |
|
19 + fprintf (stderr, "--> notice_events() breaking out of loop!\n"); |
|
20 + return; |
|
21 + } |
|
22 + |
|
23 if (XtWindowToWidget (si->dpy, window)) |
|
24 /* If it's one of ours, don't mess up its event mask. */ |
|
25 return; |
|
26 |
|