[gnome-shell/wip/fmuellner/overview-tweaks: 9/10] workspace: Show window chrome on long-press



commit 883b515d8d025f3e5c7030bdd10b1b6e2dafca6b
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 4be96d9..2ccf88b 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]