Skip to content

Commit 4d6a70b

Browse files
authored
Merge branch 'main' into lenemter/always-show-window-title
2 parents f7a5b1e + 823e5bb commit 4d6a70b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Widgets/MultitaskingView/WindowClone.vala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ public class Gala.WindowClone : ActorTarget {
167167
opacity = 0
168168
};
169169
close_button.triggered.connect (close_window);
170+
close_button.notify["has-pointer"].connect (() => update_hover_widgets ());
170171

171172
window_icon = new WindowIcon (window, WINDOW_ICON_SIZE, (int)Math.round (monitor_scale_factor)) {
172173
visible = !overview_mode
@@ -384,7 +385,7 @@ public class Gala.WindowClone : ActorTarget {
384385

385386
var duration = Utils.get_animation_duration (FADE_ANIMATION_DURATION);
386387

387-
var show = has_pointer && !in_slot_animation;
388+
var show = (has_pointer || close_button.has_pointer) && !in_slot_animation;
388389

389390
close_button.save_easing_state ();
390391
close_button.set_easing_mode (Clutter.AnimationMode.LINEAR);

0 commit comments

Comments
 (0)