Skip to content

Workspace Switcher uses wrong aspect ratio with Compiz

Submitted by Huw Rogers

Assigned to Nick Schermer

Link to original bug (#11697)

Description

Created attachment 6076 patch

This bug is originally submitted here: https://bugs.launchpad.net/ubuntu/+source/xfce4-panel/+bug/1292820 by Cedric Dufour. Patch is also his.

  1. the pager does not use the 'wnck_workspace_get_{width,height}' to calculate its aspect ratio
  2. the pager does not recalculate its aspect ratio when Compiz workspaces/viewports settings are changed

Please consider attached patch to fix this behavior. Once applied, pager size is correct for both Compiz and XFWM4.

Attachment 6076, "patch":
file_11697.txt

Version: 4.12.0