Skip to content

Commit

Permalink
activation_area: Remove the implicit width/height swap
Browse files Browse the repository at this point in the history
This does more harm than being useful so remove it.

Bug-AGL: SPEC-5038
Signed-off-by: Marius Vlad <[email protected]>
  • Loading branch information
Marius Vlad committed Jan 9, 2024
1 parent 4965b40 commit 4c701ce
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions shell/wayland/display.cc
Original file line number Diff line number Diff line change
Expand Up @@ -863,12 +863,6 @@ void Display::AglShellDoSetupActivationArea(uint32_t x,
if (!m_agl.shell)
return;

if (m_all_outputs[index]->transform == WL_OUTPUT_TRANSFORM_90) {
uint32_t tmp_width = width;
width = height;
height = tmp_width;
}

SPDLOG_DEBUG("Using custom rectangle [{}x{}+{}x{}] for activation", width,
height, x, y);

Expand Down

0 comments on commit 4c701ce

Please sign in to comment.