[gnome-shell/wip/fmuellner/overview-tweaks: 97/97] workspace: Show window chrome on long-press
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/overview-tweaks: 97/97] workspace: Show window chrome on long-press
- Date: Wed, 19 Jul 2017 09:29:14 +0000 (UTC)
commit 61975d66fe8ce4a53fe0c0c68021888d1d03c9db
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Jul 19 02:31:04 2017 +0200
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 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/workspace.js b/js/ui/workspace.js
index 598b291..ec969a1 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;
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]