[gnome-shell/gbsneto/40-stuff: 57/68] viewSelector: Hide overview on Escape
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gbsneto/40-stuff: 57/68] viewSelector: Hide overview on Escape
- Date: Wed, 20 Jan 2021 22:41:08 +0000 (UTC)
commit 894559d760c872cbc1c9976579fee9403fa4b342
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri Jan 8 17:44:57 2021 -0300
viewSelector: Hide overview on Escape
As per design direction, pressing Escape when searching should
cancel search, and when either in the window picker or app grid,
it should leave the overview.
js/ui/viewSelector.js | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js
index 388e906aed..8c1a5339e4 100644
--- a/js/ui/viewSelector.js
+++ b/js/ui/viewSelector.js
@@ -311,8 +311,6 @@ var ViewSelector = GObject.registerClass({
if (symbol === Clutter.KEY_Escape) {
if (this._searchActive)
this.reset();
- else if (this._showAppsButton.checked)
- this._showAppsButton.checked = false;
else
Main.overview.hide();
return Clutter.EVENT_STOP;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]