File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -302,7 +302,6 @@ int dunst_main(int argc, char *argv[])
302302 guint term_src = g_unix_signal_add (SIGTERM , quit_signal , NULL );
303303 guint int_src = g_unix_signal_add (SIGINT , quit_signal , NULL );
304304
305- dunst_status_int (S_PAUSE_LEVEL , settings .default_pause_level );
306305
307306 if (startup_notification ) {
308307 struct notification * n = notification_create ();
@@ -321,6 +320,11 @@ int dunst_main(int argc, char *argv[])
321320
322321 setup_done = true;
323322 run (GINT_TO_POINTER (DUNST_TIMER )); // The first run() is a scheduled one
323+
324+
325+ // Set default_pause_level only after showing the startup notification
326+ dunst_status_int (S_PAUSE_LEVEL , settings .default_pause_level );
327+
324328 g_main_loop_run (mainloop );
325329 g_clear_pointer (& mainloop , g_main_loop_unref );
326330
You can’t perform that action at this time.
0 commit comments