all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob f00a0d4614f7dc5027d75d6092dacabf4a4e8c4e 757 bytes (raw)
name: gnu/packages/patches/slim-reset.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
Do not reset chosen session and maintain the session-choser dialog after a
failed login attempt.

--- slim-1.3.6/panel.cpp.orig	1969-12-31 18:00:00.000000000 -0600
+++ slim-1.3.6/panel.cpp	2016-10-17 17:00:07.259649063 -0500
@@ -260,13 +260,12 @@
 }
 
 void Panel::ClearPanel() {
-	session_name = "";
-    session_exec = "";
 	Reset();
 	XClearWindow(Dpy, Root);
 	XClearWindow(Dpy, Win);
 	Cursor(SHOW);
 	ShowText();
+	ShowSession();
 	XFlush(Dpy);
 }
 
@@ -760,9 +760,7 @@
         pair<string,string> ses = cfg->nextSession();
         session_name = ses.first;
         session_exec = ses.second;
-        if (session_name.size() > 0) {
-                ShowSession();
-        }
+        ShowSession();
  }
 
 /* Display session type on the screen */

debug log:

solving f00a0d4 ...
found f00a0d4 in https://yhetil.org/guix/20161018003156.78e68be2@centurylink.net/

applying [1/1] https://yhetil.org/guix/20161018003156.78e68be2@centurylink.net/
diff --git a/gnu/packages/patches/slim-reset.patch b/gnu/packages/patches/slim-reset.patch
new file mode 100644
index 0000000..f00a0d4

1:14: trailing whitespace.
 
1:18: space before tab in indent.
 	Reset();
1:19: space before tab in indent.
 	XClearWindow(Dpy, Root);
1:20: space before tab in indent.
 	XClearWindow(Dpy, Win);
1:21: space before tab in indent.
 	Cursor(SHOW);
Checking patch gnu/packages/patches/slim-reset.patch...
Applied patch gnu/packages/patches/slim-reset.patch cleanly.
warning: squelched 4 whitespace errors
warning: 9 lines add whitespace errors.

index at:
100644 f00a0d4614f7dc5027d75d6092dacabf4a4e8c4e	gnu/packages/patches/slim-reset.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.