From 99d03b799574d1745bcc8dcc4780b10a68265611 Mon Sep 17 00:00:00 2001 From: Thomas Fitzsimmons Date: Fri, 9 Sep 2005 15:40:34 +0000 Subject: 2005-09-09 Thomas Fitzsimmons PR swing/23796 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Respect dialog's decorated flag. --- gnu/java/awt/peer/gtk/GtkDialogPeer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/java/awt') diff --git a/gnu/java/awt/peer/gtk/GtkDialogPeer.java b/gnu/java/awt/peer/gtk/GtkDialogPeer.java index c2cbc37dc..cfb54d6e9 100644 --- a/gnu/java/awt/peer/gtk/GtkDialogPeer.java +++ b/gnu/java/awt/peer/gtk/GtkDialogPeer.java @@ -83,7 +83,8 @@ public class GtkDialogPeer extends GtkWindowPeer void create () { // Create a decorated dialog window. - create (GDK_WINDOW_TYPE_HINT_DIALOG, true); + create (GDK_WINDOW_TYPE_HINT_DIALOG, + !((Dialog) awtComponent).isUndecorated ()); Dialog dialog = (Dialog) awtComponent; -- cgit v1.2.1