StatusNotifierItems can expose a Scroll(int delta, string orientation) method for tray hosts to call when the user wheels over an item. The status-area applet handled activation and context menus, but did not forward wheel events to that method. Track the hovered tray item only while the pointer is over an icon, ignore wheel events already captured by widgets, accumulate fine-grained wheel deltas into discrete scroll steps, and call Scroll on the item proxy. Add unit coverage for the delta/orientation mapping and pixel accumulation. Signed-off-by: William Fish <william.michael.fish@gmail.com> |
||
|---|---|---|
| .. | ||
| components | ||
| subscriptions | ||
| lib.rs | ||
| main.rs | ||
| status_notifier_watcher.rs | ||
| unique_names.rs | ||