[gtk/wip/chergert/gdk-macos-gdkdrag: 2/8] macos: fix position of drag surface
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/gdk-macos-gdkdrag: 2/8] macos: fix position of drag surface
- Date: Sat, 19 Jun 2021 02:29:04 +0000 (UTC)
commit 87d5b6f69bc8783adb69a0100a6f9d1f89aab21d
Author: Christian Hergert <chergert redhat com>
Date: Thu Jun 17 13:23:38 2021 -0700
macos: fix position of drag surface
gdk/macos/gdkmacossurface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/macos/gdkmacossurface.c b/gdk/macos/gdkmacossurface.c
index 5fe5bb38e7..9a1f73835b 100644
--- a/gdk/macos/gdkmacossurface.c
+++ b/gdk/macos/gdkmacossurface.c
@@ -332,7 +332,7 @@ gdk_macos_surface_drag_begin (GdkSurface *surface,
drag_surface = _gdk_macos_surface_new (GDK_MACOS_DISPLAY (surface->display),
GDK_SURFACE_TEMP,
surface,
- -99, -99, 1, 1);
+ sx, sy, 1, 1);
drag = g_object_new (GDK_TYPE_MACOS_DRAG,
"drag-surface", drag_surface,
"surface", surface,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]