Skip to content

Fix yakuake not opening on multimonitor setups

Fixes yakuake not opening on one monitor when the panel is located on an edge between two monitors.

This patch corrects the ExtendedStruct calculations and then checks if not only the strut intersects with the current monitor but also the window frame. If the strut intersects but the window frame does not that window is most likely some kind of panel located on an edge between the current and the next screen. With this patch those struts and windows will now be ignored.

BUG: 396697

Test Plan:

  1. Monitor setup: |Monitor||Panel on the left, Monitor| or any variation of this
  2. Yakuake should open on both but now especially on the left monitor
Edited by Maximilian Schiller

Merge request reports