Commit ca1da1b3 authored by Florian Müllner's avatar Florian Müllner
Browse files

apps-menu: Fix up hover state after dropping grab

Category items grab the pointer to implement "triangle navigation", which
interferes with automatic hover tracking in other widgets. While this is
the correct behavior while we hold the grab (i.e. when crossing other
category items without switching), it can interfere with user expectation
when the grab is dropped, as the motion event that causes us to do so
doesn't necessarily occur before the "target"'s enter event - address this
by syncing up the hover state manually after dropping the grab.
parent 7c5f0ed8
......@@ -190,6 +190,11 @@ const CategoryMenuItem = new Lang.Class({
this._oldY = -1; = false;
let source = event.get_source();
if (source instanceof St.Widget)
return false;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment