File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 3838 <issue url =" https://github.com/elementary/gala/issues/1898" >wayland: opening windows when overview is opened breaks a lot</issue >
3939 <issue url =" https://github.com/elementary/gala/issues/2053" >Window renders black</issue >
4040 <issue url =" https://github.com/elementary/gala/issues/2067" >Terminal and System Settings have generic icon in multitasking view on Wayland</issue >
41+ <issue url =" https://github.com/elementary/gala/issues/2083" >Autohide is too sensitive</issue >
4142 <issue url =" https://github.com/elementary/dock/issues/78" >Touch support - getting the dock to display when hidden</issue >
4243 </issues >
4344 </release >
Original file line number Diff line number Diff line change @@ -186,10 +186,13 @@ public class Gala.HideTracker : Object {
186186 }
187187
188188 private void toggle_display (bool should_hide ) {
189+ unowned var window_actor = (Meta . WindowActor ) panel. window. get_compositor_private ();
190+
191+ // Window actor receives pointer events while hidden on X11: https://github.com/elementary/gala/issues/2083
189192#if HAS_MUTTER45
190- hovered = panel. window. has_pointer ();
193+ hovered = panel. window. has_pointer () && window_actor . visible ;
191194#else
192- hovered = window_has_pointer ();
195+ hovered = window_has_pointer () && window_actor . visible ;
193196#endif
194197
195198 if (should_hide && ! hovered && ! panel. window. has_focus ()) {
You can’t perform that action at this time.
0 commit comments