We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b47c5fc commit b2dddb7Copy full SHA for b2dddb7
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
@@ -828,7 +828,9 @@ void createHandle (int index) {
828
gtk_container_set_border_width(shellHandle, 1);
829
}
830
if ((style & SWT.TOOL) != 0) {
831
- GTK3.gtk_window_set_type_hint(shellHandle, GDK.GDK_WINDOW_TYPE_HINT_UTILITY);
+ if (!GTK.GTK4) {
832
+ GTK3.gtk_window_set_type_hint(shellHandle, GDK.GDK_WINDOW_TYPE_HINT_UTILITY);
833
+ }
834
835
if ((style & SWT.NO_TRIM) != 0) {
836
GTK.gtk_window_set_decorated(shellHandle, false);
0 commit comments