Skip to content

Draft: Implement powerbar app switching

mathew-dennis requested to merge mathew-dennis/phosh:swipes into main

This is a continuation of work done by @venji10 in his/her mr !1078 (closed) .

Changes done by @venji10

  • Allow users to switch the active app by swiping left or right on the home bar
  • Dragging the overview up resulted in switching the active application in some cases. That's undesired behaviour

Additional changes

  • Use update_drag_handle function to reset swipe gesture when unfolding
  • Set a minimum velocity to prevent unintentional swipes
  • Rename on_home_swiped to on_powerbar_swiped
Edited by mathew-dennis

Merge request reports