[gnome-shell] workspace: Show window chrome on long-press



commit 6c472d88891c7862ad0619b9434c50bd507f959b
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 4607f39..eb24e25 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]