···1{ lib
2, stdenv
3, fetchFromGitHub
04, nix-update-script
5, pkg-config
6, meson
···38 # We look for plugins in `/run/current-system/sw/lib/` because
39 # there are multiple plugin providers (e.g. gala and wingpanel).
40 ./plugins-dir.patch
00000000000000000000041 ];
4243 nativeBuildInputs = [
···1{ lib
2, stdenv
3, fetchFromGitHub
4+, fetchpatch
5, nix-update-script
6, pkg-config
7, meson
···39 # We look for plugins in `/run/current-system/sw/lib/` because
40 # there are multiple plugin providers (e.g. gala and wingpanel).
41 ./plugins-dir.patch
42+43+ # WindowClone: Don't calculate offset
44+ # https://github.com/elementary/gala/pull/1567
45+ (fetchpatch {
46+ url = "https://github.com/elementary/gala/commit/b7139add2333e5419afd1c82c3790d85044c1f76.patch";
47+ sha256 = "sha256-QhBARbA3YEXB/RIM/gmFiry1IzGvFFQVXGDs0kGjf20=";
48+ })
49+50+ # Map notification windows manually while switching workspace
51+ # https://github.com/elementary/gala/pull/1577
52+ (fetchpatch {
53+ url = "https://github.com/elementary/gala/commit/97b33173e2ee8b4a4af3fe0513b6d264de9d9b2a.patch";
54+ sha256 = "sha256-y2PicvHxtKlZTpr6a0Hua1ppXpRwDItsIoGG2r+DAjQ=";
55+ })
56+57+ # Use ClickAction for FramedBackground and close buttons
58+ # https://github.com/elementary/gala/pull/1579
59+ (fetchpatch {
60+ url = "https://github.com/elementary/gala/commit/79453b324d2e737ba32124212632e1269c6c9af1.patch";
61+ sha256 = "sha256-ipOoY3dn0Hs1U2d9OER+ZfgC5AL4yay4FD8ongID/xY=";
62+ })
63 ];
6465 nativeBuildInputs = [
···1-diff --git i/main.go w/main.go
2-index bf80f3d..632f7d6 100644
3---- i/main.go
4-+++ w/main.go
5-@@ -174,7 +174,7 @@ func handleAuthRequest(res http.ResponseWriter, r *http.Request) {
6- case plugins.ErrNoValidUserFound:
7- // No valid user found, check whether special anonymous "user" has access
8- // Username is set to 0x0 character to prevent accidental whitelist-match
9-- if mainCfg.ACL.HasAccess(string(0x0), nil, r) {
10-+ if mainCfg.ACL.HasAccess(string(rune(0x0)), nil, r) {
11- mainCfg.AuditLog.Log(auditEventValidate, r, map[string]string{"result": "anonymous access granted"}) // #nosec G104 - This is only logging
12- res.WriteHeader(http.StatusOK)
13- return