mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
This commit is contained in:
parent
d5a1a888d9
commit
02c76695e5
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue