From 6ecfedaa082c5f30cf8838d975c1b76b62f9b7c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 19 Jul 2017 02:31:04 +0200 Subject: [PATCH] workspace: Show window chrome on long-press Pointer hover and keyboard focus aren't available on touch devices, so add long-press as alternative to reveal preview title and close button. https://bugzilla.gnome.org/show_bug.cgi?id=783953 --- js/ui/workspace.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/ui/workspace.js b/js/ui/workspace.js index 4607f3981..eb24e2538 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -380,6 +380,8 @@ var WindowClone = new Lang.Class({ action.release(); this._draggable.startDrag(x, y, global.get_current_time(), this._dragTouchSequence); })); + } else { + this.emit('show-chrome'); } return true; },