if a window isn't resizeable, turn off maximize function. If min size is

* src/window.c (recalc_window_features): if a window isn't
	resizeable, turn off maximize function. If min size is equal to
	max size, turn off resize function.
This commit is contained in:
Christophe Fergeau 2002-08-01 15:14:14 +00:00
parent 43dd208874
commit 9e86812928
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2002-08-01 Christophe Fergeau <teuf@users.sourceforge.net>
* src/metacity-dialog.c: focus the "Close" button by default on
the dialog which appears at exit when some apps can't be session
managed
2002-08-01 Mark McLoughlin <mark@skynet.ie> 2002-08-01 Mark McLoughlin <mark@skynet.ie>
* src/session.c: * src/session.c:

View File

@ -228,6 +228,7 @@ warn_about_no_sm_support (char **lame_apps)
G_CALLBACK (gtk_main_quit), G_CALLBACK (gtk_main_quit),
NULL); NULL);
gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_CLOSE);
list = create_lame_apps_list (lame_apps); list = create_lame_apps_list (lame_apps);
sw = gtk_scrolled_window_new (NULL, NULL); sw = gtk_scrolled_window_new (NULL, NULL);