Commit e50db6b
committed
[GTK] Revert unification of blank Image initialization #1891
A previous change unified the Image surface initialization for blank
Image instances just based on height and width. Because of the change,
screen capturing using a GC on the display does only work properly when
executed the first time in an application lifecycle and in specific
situation, the initial properties of a GC changed (such as the text
anti-aliasing behavior). Due to a lack of a better solution for now,
this change reverts the unification of the Image surface initialization
to the previous state.
Fixes #1891
This partially reverts commit 5c2611d.1 parent 487d1cb commit e50db6b
File tree
1 file changed
+5
-1
lines changed- bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1249 | 1249 | | |
1250 | 1250 | | |
1251 | 1251 | | |
1252 | | - | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
1253 | 1257 | | |
1254 | 1258 | | |
1255 | 1259 | | |
| |||
0 commit comments