apprt/gtk: close keybind doesn't leak memory

This commit is contained in:
Mitchell Hashimoto
2023-03-27 10:24:01 -07:00
parent f36a35ecc9
commit 16244d0dab
2 changed files with 33 additions and 2 deletions

View File

@@ -346,6 +346,11 @@ pub const Config = struct {
.{ .key = .w, .mods = .{ .ctrl = true, .shift = true } },
.{ .close_surface = {} },
);
try result.keybind.set.put(
alloc,
.{ .key = .q, .mods = .{ .ctrl = true, .shift = true } },
.{ .quit = {} },
);
try result.keybind.set.put(
alloc,
.{ .key = .f4, .mods = .{ .alt = true } },