diff options
author | Felipe Heidrich <fheidric> | 2004-10-27 21:14:46 +0000 |
---|---|---|
committer | Felipe Heidrich <fheidric> | 2004-10-27 21:14:46 +0000 |
commit | b66421cac6ddb6aff74eef6bd0d924ac68f7db27 (patch) | |
tree | 7b2cae9618a7941040e663c2e74d4f366af50b91 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Sash.java | |
parent | dfe60116c3e7854ad4647806341634753c1d73bf (diff) | |
download | eclipse.platform.swt-b66421cac6ddb6aff74eef6bd0d924ac68f7db27.tar.gz eclipse.platform.swt-b66421cac6ddb6aff74eef6bd0d924ac68f7db27.tar.xz eclipse.platform.swt-b66421cac6ddb6aff74eef6bd0d924ac68f7db27.zip |
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Sash.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Sash.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Sash.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Sash.java index d0e036a2e8..c373d2f3e0 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Sash.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Sash.java @@ -170,13 +170,12 @@ int /*long*/ gtk_button_press_event (int /*long*/ widget, int /*long*/ eventPtr) OS.gdk_window_get_origin (window, origin_x, origin_y); startX = (int) (gdkEvent.x_root - origin_x [0]); startY = (int) (gdkEvent.y_root - origin_y [0]); - int border = 0; int x = OS.GTK_WIDGET_X (handle); int y = OS.GTK_WIDGET_Y (handle); int width = OS.GTK_WIDGET_WIDTH (handle); int height = OS.GTK_WIDGET_HEIGHT (handle); - lastX = x - border; - lastY = y - border; + lastX = x; + lastY = y; Event event = new Event (); event.time = gdkEvent.time; event.x = lastX; |