X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fbsod.c;h=ce2e496916d38eae5328a860a4702f67cf7b8a60;hb=b81f521c5ad7022ac12db18ca8fcdd9fb063831e;hp=5bfc225b1653b3a7f7e33f3b280ba614cc731cb2;hpb=f8cf5ac7b2f53510f80a0eaf286a25298be17bfe;p=xscreensaver diff --git a/hacks/bsod.c b/hacks/bsod.c index 5bfc225b..ce2e4969 100644 --- a/hacks/bsod.c +++ b/hacks/bsod.c @@ -2452,7 +2452,7 @@ hppa_linux (Display *dpy, Window window) { -1, "Soft power switch enabled, polling @ 0xf0400804.\n" }, { -1, "pty: 256 Unix98 ptys configured\n" }, { -1, "Generic RTC Driver v1.07\n" }, - { -1, "Serial: 8250/16550 driver $Revision: 1.96 $ 13 ports, " + { -1, "Serial: 8250/16550 driver $Revision: 1.97 $ 13 ports, " "IRQ sharing disabled\n" }, { -1, "ttyS0 at I/O 0x3f8 (irq = 0) is a 16550A\n" }, { -1, "ttyS1 at I/O 0x2f8 (irq = 0) is a 16550A\n" }, @@ -3922,6 +3922,8 @@ bsod_event (Display *dpy, Window window, void *closure, XEvent *event) /* pick a new mode and restart when mouse clicked, or certain keys typed. */ if (event->type == ButtonPress) + return True; + else if (event->type == ButtonRelease) reset_p = True; else if (event->type == KeyPress) {