[dev] slock size is not changed at resolution change

From: Martin Ueding <lists_AT_martin-ueding.de>
Date: Wed, 2 Dec 2015 09:20:18 +0100

Hi everyone,

I use Fedora and Awesome WM. To lock the screen I have been happily
using slock. When I put my ThinkPad on the docking station [a
script][tps] will call `xrandr` and activate the external screen.

The screen that slock lays over the other windows has the 1366×768
resolution that the laptop screen has. That does not cover the whole
1920×1080 display:

![Before pressing
keys](http://chaos.stw-bonn.de/users/mu/uploads/2015-12-02/slock-1.jpg)

![After pressing
keys](http://chaos.stw-bonn.de/users/mu/uploads/2015-12-02/slock-2.jpg)

You cannot interact with the system otherwise, slock still captures all
the input. You can just see parts of the screen without unlocking it.

The problem only occurs since the external screen is enabled
automatically when it is plugged in.

Is this a bug in my usage or something that could be improved in slock?


Regards

Martin

[tps]: https://thinkpad-scripts.readthedocs.org/en/latest/
Received on Wed Dec 02 2015 - 09:20:18 CET

This archive was generated by hypermail 2.3.0 : Wed Dec 02 2015 - 09:24:09 CET