close one notification to close all
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#include "gtk4-layer-shell.h"
|
||||
#include "gtkmm/cssprovider.h"
|
||||
|
||||
BaseNotification::BaseNotification(std::shared_ptr<Gdk::Monitor> monitor) {
|
||||
BaseNotification::BaseNotification(uint64_t notificationId, std::shared_ptr<Gdk::Monitor> monitor) {
|
||||
ensure_notification_css_loaded();
|
||||
set_default_size(350, -1);
|
||||
gtk_layer_init_for_window(gobj());
|
||||
@@ -23,6 +23,8 @@ BaseNotification::BaseNotification(std::shared_ptr<Gdk::Monitor> monitor) {
|
||||
|
||||
this->set_hexpand(false);
|
||||
this->set_vexpand(false);
|
||||
|
||||
this->notificationId = notificationId;
|
||||
}
|
||||
|
||||
void BaseNotification::ensure_notification_css_loaded() {
|
||||
|
||||
Reference in New Issue
Block a user