summary refs log tree commit diff stats
path: root/src/fe-gtk/maingui.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-05-11 04:43:01 -0400
committerTingPing <tingping@tingping.se>2014-05-11 04:50:35 -0400
commitfea144dd19be5a8af2ddb94c8eda1e323d3cb69c (patch)
treef5a7d546e4e058ab7f8f4e2cd6592ff7a2e778d2 /src/fe-gtk/maingui.c
parentfea528c39d3af1b8a877d9e0a9c9f927136944a9 (diff)
Add option to bounce dock icon on OSX
Diffstat (limited to 'src/fe-gtk/maingui.c')
-rw-r--r--src/fe-gtk/maingui.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fe-gtk/maingui.c b/src/fe-gtk/maingui.c
index 29980a70..2f624dd0 100644
--- a/src/fe-gtk/maingui.c
+++ b/src/fe-gtk/maingui.c
@@ -146,6 +146,9 @@ set_window_urgency (GtkWidget *win, gboolean set)
 static void
 flash_window (GtkWidget *win)
 {
+#ifdef HAVE_GTK_MAC
+	gtkosx_application_attention_request (osx_app, INFO_REQUEST);
+#endif
 	set_window_urgency (win, TRUE);
 }