diff options
author | Felipe Heidrich <fheidric> | 2003-02-27 22:42:08 +0000 |
---|---|---|
committer | Felipe Heidrich <fheidric> | 2003-02-27 22:42:08 +0000 |
commit | 77c4e33d686bc4a8a65a94ada54f7d75fc0f7109 (patch) | |
tree | 3443ce9cba17f3defc997c7f521ac33c22841d63 /bundles | |
parent | 386188295a72d5ef92d7c69bfa05c3e2d71b8399 (diff) | |
download | eclipse.platform.swt-77c4e33d686bc4a8a65a94ada54f7d75fc0f7109.tar.gz eclipse.platform.swt-77c4e33d686bc4a8a65a94ada54f7d75fc0f7109.tar.xz eclipse.platform.swt-77c4e33d686bc4a8a65a94ada54f7d75fc0f7109.zip |
31525
Diffstat (limited to 'bundles')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Canvas.java | 10 |
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); |