Skip to content

Commit 4852454

Browse files
committed
i3/sway: update nix package flag naming to i3
1 parent e899eb4 commit 4852454

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
withPipewire ? true,
3838
withPam ? true,
3939
withHyprland ? true,
40-
withSway ? true,
40+
withI3 ? true,
4141
}: buildStdenv.mkDerivation {
4242
pname = "quickshell${lib.optionalString debug "-debug"}";
4343
version = "0.1.0";
@@ -79,7 +79,7 @@
7979
(lib.cmakeBool "SERVICE_PIPEWIRE" withPipewire)
8080
(lib.cmakeBool "SERVICE_PAM" withPam)
8181
(lib.cmakeBool "HYPRLAND" withHyprland)
82-
(lib.cmakeBool "SWAY" withSway)
82+
(lib.cmakeBool "I3" withI3)
8383
];
8484

8585
# How to get debuginfo in gdb from a release build:

src/x11/i3/ipc/connection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ QByteArray I3Ipc::buildRequestMessage(EventCode cmd, const QByteArray& payload)
7272
std::memcpy(lenBytes.data(), &len, 4);
7373
std::memcpy(typeBytes.data(), &cmd, 4);
7474

75-
QByteArray data = QByteArray(MAGIC) + lenBytes + typeBytes + payload;
75+
QByteArray data = QByteArray(MAGIC.data()) + lenBytes + typeBytes + payload;
7676

7777
return data;
7878
}

0 commit comments

Comments
 (0)