Wrong display of current rotation
Bug #39196 reported by
Daniel Elstner
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-randr-applet (Ubuntu) |
Fix Released
|
Medium
|
Daniel Holbach |
Bug Description
The radio menu items in the applet's menu do not properly reflect the current xrandr rotation setting. That is, the active radio item is "Inverted" even if the rotation is actually set to normal. Also, the items in the menu are unnaturally reversed, i.e. "Normal" is at the bottom.
Apparently, this bug has already been reported in Debian more than half a year ago:
Related branches
To post a comment you must log in.
This patch fixes the broken logic determining the current rotation, and reverses once more the reversed menu items. A couple of warnings on amd64 due to int/pointer conversion are fixed as well.
This patch is similar to but independent of the one attached to the Debian bug, which I unfortunately had not noticed before.