347348349350351352353354355356357
Window grabWindow = nativeGrabOwner; nativeGrabOwner = null; NativeWindow win = grabWindow.getNativeWindow(); if (win != null) { win.ungrabMouse(); if (whenCanceled != null) { whenCanceled.run(); whenCanceled = null; } }
349350351352353354355356357358359
350351352353354355356357358359360