summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Canvas.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Canvas.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Canvas.java
index 885c62cf2c..5a9bc9b21b 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Canvas.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Canvas.java
@@ -159,15 +159,15 @@ public void scroll (int destX, int destY, int x, int y, int width, int height, b
boolean isFocus = caret != null && caret.isFocusCaret ();
if (isFocus) caret.killFocus ();
-// update ();
+ update ();
// GC gc = new GC (this);
// gc.copyArea (x, y, width, height, destX, destY);
// gc.dispose ();
- OS.gdk_flush ();
- while ((OS.gtk_events_pending()) != 0) {
- OS.gtk_main_iteration ();
- }
+// OS.gdk_flush ();
+// while ((OS.gtk_events_pending()) != 0) {
+// OS.gtk_main_iteration ();
+// }
int window = paintWindow ();
int visibleRegion = OS.gdk_drawable_get_visible_region (window);