close one notification to close all
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
BaseNotification::BaseNotification(std::shared_ptr<Gdk::Monitor> monitor) {
|
||||
ensure_notification_css_loaded();
|
||||
set_default_size(300, 100);
|
||||
set_default_size(350, -1);
|
||||
gtk_layer_init_for_window(gobj());
|
||||
gtk_layer_set_monitor(gobj(), monitor->gobj());
|
||||
gtk_layer_set_layer(gobj(), GTK_LAYER_SHELL_LAYER_OVERLAY);
|
||||
@@ -20,6 +20,9 @@ BaseNotification::BaseNotification(std::shared_ptr<Gdk::Monitor> monitor) {
|
||||
gtk_layer_set_margin(gobj(), GTK_LAYER_SHELL_EDGE_TOP, 2);
|
||||
gtk_layer_set_margin(gobj(), GTK_LAYER_SHELL_EDGE_RIGHT, 2);
|
||||
add_css_class("notification-popup");
|
||||
|
||||
this->set_hexpand(false);
|
||||
this->set_vexpand(false);
|
||||
}
|
||||
|
||||
void BaseNotification::ensure_notification_css_loaded() {
|
||||
|
||||
Reference in New Issue
Block a user