diff --git a/data/gala.metainfo.xml.in b/data/gala.metainfo.xml.in index c8d08c9c7..a23988dee 100644 --- a/data/gala.metainfo.xml.in +++ b/data/gala.metainfo.xml.in @@ -48,12 +48,14 @@ Overview window title should follow keyboard focus Better post-screenshot animation Wrong context menu placement + Override redirect Popup menu type window under Xwayland can not be displayed on the second XMapWindow Swiping in the multitasking view can close applications Ghost of window on another workspace appears when cancelling workspace swipe Dock crash may crash Gala Can't reveal dock when animations are disabled Unlocking firewall settings leads to crash Lutris Flatpak crashes gala with GE setup + Menus only show once False detection of "background activity" for some Flatpak apps diff --git a/src/WindowManager.vala b/src/WindowManager.vala index fb7f004c9..9041b9e1b 100644 --- a/src/WindowManager.vala +++ b/src/WindowManager.vala @@ -1471,31 +1471,6 @@ namespace Gala { actor.opacity = 0U; actor.restore_easing_state (); - ulong destroy_handler_id = 0UL; - destroy_handler_id = actor.transitions_completed.connect (() => { - actor.disconnect (destroy_handler_id); - destroying.remove (actor); - destroy_completed (actor); - }); - - break; - case Meta.WindowType.MENU: - case Meta.WindowType.DROPDOWN_MENU: - case Meta.WindowType.POPUP_MENU: - var duration = AnimationDuration.MENU_MAP; - if (duration == 0) { - destroy_completed (actor); - return; - } - - destroying.add (actor); - actor.save_easing_state (); - actor.set_easing_mode (Clutter.AnimationMode.EASE_OUT_QUAD); - actor.set_easing_duration (duration); - actor.set_scale (0.8f, 0.8f); - actor.opacity = 0U; - actor.restore_easing_state (); - ulong destroy_handler_id = 0UL; destroy_handler_id = actor.transitions_completed.connect (() => { actor.disconnect (destroy_handler_id);