On Wed, 2 Dec 2015 09:20:18 +0100 Martin Ueding <li...@martin-ueding.de> wrote:
Hey Martin, > 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: > 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? usually, slock should get a XRRScreenChangeNotifyEvent when the screen size changes. I wonder why it isn't fired; maybe there's a bug in slock or in awesome wm not sending proper events. I'm puzzled why we don't just do something like Atom wm_state = XInternAtom (display, "_NET_WM_STATE", true ); Atom wm_fullscreen = XInternAtom (display, "_NET_WM_STATE_FULLSCREEN", true ); XChangeProperty(display, window, wm_state, XA_ATOM, 32, PropModeReplace, (unsigned char *)&wm_fullscreen, 1); on the slock-"window", but I'm sure there are reasons for that. Cheers FRIGN -- FRIGN <d...@frign.de>