Re: [dev][dwm]size of dwm root window and framebuffer

From: <sekret_AT_posteo.se>
Date: Wed, 9 Aug 2017 08:55:07 +0200

* Kajetan Jasztal <kajetanjasztal_AT_gmail.com> [08.08.2017 12:50]:
>Hi,
>
>my laptop's screen broke lately and I've got about 168px column
>on left unusable, this xrandr command seems to work, ie it crops
>screen to working area
>
>xrandr --fb 1432x900 --output eDP1 --auto --transform 1,0,-168,0,1,0,0,0,1
>
>but dwm renders on full width of screen (1600x900), so root and
>other windows sticks outside of screen even though xserver don't
>allow mouse pointer to escape past right edge of screen.
>
>shouldn't dwm be rendered to size of framebuffer or am I using
>xrandr the wrong way?

I tried this command, but adjusted it for my screen and set the real dimension to the --fb switch.

xrandr --fb 1920x1080 --output VGA-1 --auto --transform 1,0,-168,0,1,0,0,0,1

It works perfectly!
Received on Wed Aug 09 2017 - 08:55:07 CEST

This archive was generated by hypermail 2.3.0 : Wed Aug 09 2017 - 09:00:24 CEST