From b2670d098c03fae6c0ad36f55e194c7e742db5d9 Mon Sep 17 00:00:00 2001 From: Stefan Gehn Date: Fri, 24 Oct 2008 18:27:35 +0000 Subject: [PATCH] - fix taskbar-entry being visible with gtk+ 2.14.4 by setting the toolwindow window-type using standard gtk-functions --- src/winops-win32.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/winops-win32.c b/src/winops-win32.c index 72966f3..b612cb9 100644 --- a/src/winops-win32.c +++ b/src/winops-win32.c @@ -49,8 +49,9 @@ gkrellm_winop_options(gint argc, gchar **argv) { HWND hWnd = GDK_WINDOW_HWND(gkrellm_get_top_window()->window); - // Get rid of task list icon - SetWindowLong(hWnd, GWL_EXSTYLE, WS_EX_TOOLWINDOW); + // This essentially hides the taskbar entry on win32, unfortunately + // gtk_window_set_skip_taskbar_hint() is broken in GTK+ 2.14 + gtk_window_set_type_hint(GTK_WINDOW(gkrellm_get_top_window()), GDK_WINDOW_TYPE_HINT_UTILITY); // Set stay-on-top flag if requested if (_GK.on_top)