aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r--src/mainwindow.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c
index b4a073e9..21e65e98 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -2948,6 +2948,8 @@ static gboolean main_window_window_state_cb(GtkWidget *widget,
if (mainwin->window_hidden &&
prefs_common.show_trayicon && prefs_common.minimize_to_tray)
gtk_window_set_skip_taskbar_hint(GTK_WINDOW(widget), TRUE);
+ else if (!mainwin->window_hidden)
+ gtk_window_set_skip_taskbar_hint(GTK_WINDOW(widget), FALSE);
return FALSE;
}