From 02c76695e5de86bf3ea72f6ea4024428b7e251f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Sun, 14 Apr 2019 18:32:58 +0200 Subject: [PATCH] tests: Stop using global grabs Global grabs are being removed from Clutter in favour of input device grabs. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/495 --- tests/interactive/scroll-view-sizing.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/interactive/scroll-view-sizing.js b/tests/interactive/scroll-view-sizing.js index d94dcee07..b5eb17949 100644 --- a/tests/interactive/scroll-view-sizing.js +++ b/tests/interactive/scroll-view-sizing.js @@ -215,14 +215,12 @@ class SizingIllustrator extends St.Widget { let [x, y] = event.get_coords(); this._dragX = x - handleX; this._dragY = y - handleY; - Clutter.grab_pointer(handle); } } _handleReleased(handle, event) { if (event.get_button() == 1) { this._inDrag = false; - Clutter.ungrab_pointer(handle); } }