* plug-ins/common/screenshot.c: make " no decorations" option
	work; problem pointed out by Jean-Luc Coulon on dev list.
This commit is contained in:
William Skaggs
2005-06-05 15:50:20 +00:00
parent 157fd5bbca
commit 052d95c906
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-06-05 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/screenshot.c: make " no decorations" option
work; problem pointed out by Jean-Luc Coulon on dev list.
2005-06-05 Sven Neumann <sven@gimp.org>
* app/widgets/gimpviewrendererbrush.c

View File

@ -447,7 +447,9 @@ select_window_x11 (GdkScreen *screen)
x_win = x_root;
#ifdef HAVE_X11_XMU_WINUTIL_H
else if (! shootvals.decorate)
x_win = XmuClientWindow (x_dpy, x_win);
{
x_win = XmuClientWindow (x_dpy, x_win);
}
#endif
shootvals.x2 = shootvals.x1 = x_event.xbutton.x_root;
@ -839,7 +841,7 @@ shoot_dialog (GdkScreen **screen)
g_object_set_data (G_OBJECT (button), "set_sensitive", toggle);
g_signal_connect (button, "toggled",
g_signal_connect (toggle, "toggled",
G_CALLBACK (gimp_toggle_button_update),
&shootvals.decorate);