* Kajetan Jasztal <kajetanjasz...@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!

Reply via email to