Comment 2 for bug 240794

Revision history for this message
816_8055 (816-8055) wrote : Re: set_deletable(False) does not work on gtk windows with compiz enabled

It's still the same with 8.04.1 and 8.10.
I have tried the same in C as well:

-------
#include <gtk/gtk.h>

int main(int argc, char **argv)
{
 GtkWidget *window;
 gtk_init(&argc, &argv);
 window=gtk_window_new(GTK_WINDOW_TOPLEVEL);
 gtk_window_set_deletable((GtkWindow*) window, FALSE);
 gtk_signal_connect(GTK_OBJECT(window), "destroy", GTK_SIGNAL_FUNC(gtk_main_qui$
 gtk_widget_show(window);
 gtk_main();
 return 0;
}
-------

As a workaround I've disabled Compiz :)
But nevertheless it is a bug.