mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-17 01:06:08 +03:00
apprt/gtk: use adwaita toasts regardless of gtk-titlebar
Signed-off-by: Tristan Partin <tristan@partin.io>
This commit is contained in:
@ -210,7 +210,7 @@ pub fn init(self: *Window, app: *App) !void {
|
|||||||
self.notebook = Notebook.create(self);
|
self.notebook = Notebook.create(self);
|
||||||
|
|
||||||
// Setup our toast overlay if we have one
|
// Setup our toast overlay if we have one
|
||||||
self.toast_overlay = if (self.isAdwWindow()) toast: {
|
self.toast_overlay = if (adwaita.enabled(&self.app.config)) toast: {
|
||||||
const toast_overlay = c.adw_toast_overlay_new();
|
const toast_overlay = c.adw_toast_overlay_new();
|
||||||
c.adw_toast_overlay_set_child(
|
c.adw_toast_overlay_set_child(
|
||||||
@ptrCast(toast_overlay),
|
@ptrCast(toast_overlay),
|
||||||
|
Reference in New Issue
Block a user