- fix taskbar-entry being visible with gtk+ 2.14.4 by setting the toolwindow window-type using standard gtk-functions
This commit is contained in:
parent
5f33ee8501
commit
b2670d098c
|
@ -49,8 +49,9 @@ gkrellm_winop_options(gint argc, gchar **argv)
|
||||||
{
|
{
|
||||||
HWND hWnd = GDK_WINDOW_HWND(gkrellm_get_top_window()->window);
|
HWND hWnd = GDK_WINDOW_HWND(gkrellm_get_top_window()->window);
|
||||||
|
|
||||||
// Get rid of task list icon
|
// This essentially hides the taskbar entry on win32, unfortunately
|
||||||
SetWindowLong(hWnd, GWL_EXSTYLE, WS_EX_TOOLWINDOW);
|
// 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
|
// Set stay-on-top flag if requested
|
||||||
if (_GK.on_top)
|
if (_GK.on_top)
|
||||||
|
|
Loading…
Reference in New Issue