Skip to content

Commit ab87e06

Browse files
authored
Revert "Fix autohide (#2086)"
This reverts commit 0662357.
1 parent 11e080b commit ab87e06

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

data/gala.metainfo.xml.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767
<issue url="https://github.com/elementary/gala/issues/1898">wayland: opening windows when overview is opened breaks a lot</issue>
6868
<issue url="https://github.com/elementary/gala/issues/2053">Window renders black</issue>
6969
<issue url="https://github.com/elementary/gala/issues/2067">Terminal and System Settings have generic icon in multitasking view on Wayland</issue>
70-
<issue url="https://github.com/elementary/gala/issues/2083">Autohide is too sensitive</issue>
7170
<issue url="https://github.com/elementary/dock/issues/78">Touch support - getting the dock to display when hidden</issue>
7271
</issues>
7372
</release>

src/ShellClients/HideTracker.vala

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -213,13 +213,10 @@ public class Gala.HideTracker : Object {
213213
}
214214

215215
private void toggle_display (bool should_hide) {
216-
unowned var window_actor = (Meta.WindowActor) panel.window.get_compositor_private ();
217-
218-
// Window actor receives pointer events while hidden on X11: https://github.com/elementary/gala/issues/2083
219216
#if HAS_MUTTER45
220-
hovered = panel.window.has_pointer () && window_actor.visible;
217+
hovered = panel.window.has_pointer ();
221218
#else
222-
hovered = window_has_pointer () && window_actor.visible;
219+
hovered = window_has_pointer ();
223220
#endif
224221

225222
if (should_hide && !hovered && !panel.window.has_focus ()) {

0 commit comments

Comments
 (0)