[gnome-shell] popupMenu: Fix usage of GRAB_NOTIFY ClutterEventFlag



commit 64e4d5df48dc77d1a219b029d66bbf62907e01e0
Author: Jonas Dreßler <verdre v0yd nl>
Date:   Mon Mar 7 12:11:06 2022 +0100

    popupMenu: Fix usage of GRAB_NOTIFY ClutterEventFlag
    
    Actually the flag gjs gives us here is called
    Clutter.EventFlags.FLAG_GRAB_NOTIFY, so fix that.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2231>

 js/ui/popupMenu.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js
index f9f3a3b1aa..83471030ef 100644
--- a/js/ui/popupMenu.js
+++ b/js/ui/popupMenu.js
@@ -1374,7 +1374,7 @@ var PopupMenuManager = class {
                 return Clutter.EVENT_STOP;
             }
         } else if (event.type() === Clutter.EventType.ENTER &&
-                   (event.get_flags() & Clutter.EventFlags.GRAB_NOTIFY) === 0) {
+                   (event.get_flags() & Clutter.EventFlags.FLAG_GRAB_NOTIFY) === 0) {
             let hoveredMenu = this._findMenuForSource(targetActor);
 
             if (hoveredMenu && hoveredMenu !== menu)


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