diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-06-17 20:19:32 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-06-17 20:19:32 +0000 |
commit | 23fabedc9d8ce980618b356fdb4c4c9904a9ca2c (patch) | |
tree | a0afd50bf698ac4186730e9d931dc89f6296c074 /gtk/gtkwindow.h | |
parent | 015b3c5671ae257b284e3f6df53273f69b9916de (diff) | |
download | gdk-pixbuf-23fabedc9d8ce980618b356fdb4c4c9904a9ca2c.tar.gz |
Support the ICCCM urgency hint. (#61858, Havoc Pennington)
2005-06-17 Matthias Clasen <mclasen@redhat.com>
Support the ICCCM urgency hint. (#61858, Havoc Pennington)
* gtk/gtk.symbols:
* gtk/gtkwindow.[hc]: Add a GtkWindow::urgency-hint property
with getter and setter.
* gdk/gdk.symbols:
* gdk/gdkwindow.h:
* gdk/x11/gdkwindow-x11.c (gdk_window_set_urgency_hint):
Add a setter for the urgency hint.
* gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Store
urgency hint here.
* gdk/x11/gdkwindow-x11.c (update_wm_hints): Set the urgency
hint in the WM_HINTS property when appropriate.
Diffstat (limited to 'gtk/gtkwindow.h')
-rw-r--r-- | gtk/gtkwindow.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h index 177290f21..5c4e4a8d7 100644 --- a/gtk/gtkwindow.h +++ b/gtk/gtkwindow.h @@ -204,6 +204,9 @@ gboolean gtk_window_get_skip_taskbar_hint (GtkWindow *window); void gtk_window_set_skip_pager_hint (GtkWindow *window, gboolean setting); gboolean gtk_window_get_skip_pager_hint (GtkWindow *window); +void gtk_window_set_urgency_hint (GtkWindow *window, + gboolean setting); +gboolean gtk_window_get_urgency_hint (GtkWindow *window); void gtk_window_set_accept_focus (GtkWindow *window, gboolean setting); gboolean gtk_window_get_accept_focus (GtkWindow *window); |