Skip to content
Snippets Groups Projects
Commit a28871d0 authored by Marco Trevisan (Treviño)'s avatar Marco Trevisan (Treviño)
Browse files

ubuntu-panel: Add proper matching between the dock monitor ID and mutter

The dock uses its own monitors numbering for settings to make it also work
with the gtk configurations that it ships.

As per this, the matching with the CcDisplayPanel numbers (that reflect
mutter IDs) can be wrong when the primary monitor is not the monitor with
index 0.

To fix this, include into the monitor placement list store another column
that contains the monitor index as the dock would compute it, and use this
value to set the settings and select the relative list item.

LP: #1877108
parent 3e3088fb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment