dbh201
2022-08-27 d93c25657908167b893b55bd44153c5b17d292ea
xscreensaver: workaround for #14940

1 files added
1 files modified
14 ■■■■■ changed files
components/desktop/xscreensaver/Makefile 2 ●●● patch | view | raw | blame | history
components/desktop/xscreensaver/patches/20-disable-new-login.patch 12 ●●●●● patch | view | raw | blame | history
components/desktop/xscreensaver/Makefile
@@ -20,7 +20,7 @@
COMPONENT_NAME=         xscreensaver
COMPONENT_VERSION=      6.4
HUMAN_VERSION=          6.04
COMPONENT_REVISION =    1
COMPONENT_REVISION =    2
COMPONENT_PROJECT_URL=  https://www.jwz.org/xscreensaver/
COMPONENT_SRC=          $(COMPONENT_NAME)-$(HUMAN_VERSION)
COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
components/desktop/xscreensaver/patches/20-disable-new-login.patch
New file
@@ -0,0 +1,12 @@
--- a/driver/dialog.c    Fri Aug 26 19:59:18 2022
+++ b/driver/dialog.c    Fri Aug 26 19:59:01 2022
@@ -1159,7 +1159,8 @@
                   xgwa.your_event_mask | SubstructureNotifyMask);
   }
-
+  /* switching users is broken as of 2022-08-26 */
+  ws->newlogin_button_state.disabled_p = True;
   ws->newlogin_button_state.cmd = ws->newlogin_cmd;
   ws->demo_button_state.cmd =
     get_string_resource (ws->dpy, "demoCommand", "Command");