changeset 3066:3870d1df2f0e

Fix always on top.
author William Pitcock <nenolod@atheme-project.org>
date Fri, 13 Jul 2007 10:08:25 -0500
parents 0ed10679834b
children e1d86c047a60
files src/audacious/ui_skinned_window.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_skinned_window.c	Fri Jul 13 09:38:21 2007 -0500
+++ b/src/audacious/ui_skinned_window.c	Fri Jul 13 10:08:25 2007 -0500
@@ -78,10 +78,6 @@
     window->x = event->x;
     window->y = event->y;
 
-#if 0
-    g_print("%p window->x = %d, window->y = %d\n", window, window->x, window->y);
-#endif
-
     return FALSE;
 }
 
@@ -149,6 +145,7 @@
     GtkWindow *window = GTK_WINDOW(widget);
 
     window->type = type;
+    gtk_window_unstick(GTK_WINDOW(widget), FALSE);
 
     if (wmclass_name)
         gtk_window_set_wmclass(GTK_WINDOW(widget), wmclass_name, "Audacious");