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 50b9fa1 commit 2251803Copy full SHA for 2251803
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
@@ -1394,6 +1394,11 @@ public void setRegion (Region region) {
1394
long topHandle = topHandle ();
1395
1396
if (OS.G_OBJECT_TYPE(topHandle) == GTK.GTK_TYPE_WINDOW()) {
1397
+ if (GTK.GTK4) {
1398
+ //TODO gtk_widget_shape_combine_region is removed and one has to hook at the rendering layer as per
1399
+ // https://gitlab.gnome.org/GNOME/gtk/-/commit/0ce19eed083c79c5fb4091db3ecaf528346e610f
1400
+ return;
1401
+ }
1402
GTK3.gtk_widget_shape_combine_region(topHandle, shape_region);
1403
/*
1404
* Bug in GTK: on Wayland, pixels in window outside shape_region
0 commit comments