Skip to content

[bug] background image rendering not taking screen rotation into account #349

Description

@rplevka

I'm submitting a…

[x] Bug
[ ] Feature Request
[ ] Other (Please describe in detail)

Current Behavior

Whenever I use monitor setup with screen orientation other than 'normal' (e.g. rotated right), the background image is rendered with a wrong width

Expected Behavior

the bg image rendering counts the screen orientation in and e.g. in setup with screen rotated 90 degrees, it works with screen resolution's height instead of width

Reproduction Instructions

just use some screen manager (i use arandr) to rotate your screen 90 degrees.
Reproducible on single monitor setup as well

Environment

Output of i3lock --version:

i3lock: version 2.14.1 © 2010 Michael Stapelberg

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions