[gnome-shell/wip/carlosg/osk-cldr: 40/45] keyboard: Remove duplicate code



commit 394649c918fcf6f7189229d6b4b31b2ff77e46c8
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Dec 22 17:25:48 2017 +0100

    keyboard: Remove duplicate code
    
    The same calls happen right at the beginning of the function.

 js/ui/keyboard.js | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js
index 2602175d7..80926e381 100644
--- a/js/ui/keyboard.js
+++ b/js/ui/keyboard.js
@@ -238,8 +238,6 @@ var Key = new Lang.Class({
                                                         this._pressTimeoutId = 0;
                                                         this._touchPressed = false;
                                                         this._ensureExtendedKeysPopup();
-                                                        this.actor.fake_release();
-                                                        this.actor.set_hover(false);
                                                         this._showSubkeys();
                                                         return GLib.SOURCE_REMOVE;
                                                     }));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]