From 391791f6165653ebe4c4f25af953841a3b0fc6c7 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 25 Nov 2023 19:23:41 +0100 Subject: Update setres MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- xmonad/xmonad-autofocus-output.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xmonad') diff --git a/xmonad/xmonad-autofocus-output.c b/xmonad/xmonad-autofocus-output.c index 853e18b..a36f76b 100644 --- a/xmonad/xmonad-autofocus-output.c +++ b/xmonad/xmonad-autofocus-output.c @@ -15,6 +15,8 @@ static KeyCode mod, key[2]; static inline int get_output(int x, int y) { + /* TODO use "resolution changed:$(printf -- ' %ix%i%+i%+i' "$@")" message broadcast on BUS_VIDEO + * at start up look in ${XDG_RUNTIME_DIR}/x-display/${DISPLAY}/resolution for $(printf -- '%ix%i%+i%+i\n' "$@") */ return x < 1920; } -- cgit v1.2.3-70-g09d2