Skip to content

workspace, useractions: get output in direction relative from reference

Natalie Clarius requested to merge nclarius/kwin:output-directions into master
  • add a function to get the output in a geometrical direction relative to a reference, e.g. left of active output
  • use this order for the previous/next output in user actions for "switch to {previous/next} screen", instead of the seemingly random order of m_outputs
  • add user actions for "switch to screen on {left/right/top/bottom}"
  • use this function for determining the directionally adjacent output in quick tiling (simplifies the code a little and extends it to the vertical dimension)

screenshot-2022-11-30_15.22.27_

BUG: 451286
BUG: 453038

Edited by Natalie Clarius

Merge request reports

Loading