From 125b1e76e4564a31ef76d1f5df823d20c6007a76 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Thu, 24 Dec 2015 18:16:47 +0100 Subject: In XDM's Xresources file, try to handle varying screen sizes better. --- xdm/Xresources | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'xdm') diff --git a/xdm/Xresources b/xdm/Xresources index 7666d5c..f0de167 100644 --- a/xdm/Xresources +++ b/xdm/Xresources @@ -1,16 +1,16 @@ -#if ( HEIGHT == 1080 ) +#if ( HEIGHT >= 1080 ) # define LOGIN_POS_Y 740 -#elif ( HEIGHT == 1024 ) +#elif ( HEIGHT >= 1024 ) # define LOGIN_POS_Y 635 -#elif ( HEIGHT == 900 ) +#elif ( HEIGHT >= 900 ) # define LOGIN_POS_Y 615 -#elif ( HEIGHT == 800 ) +#elif ( HEIGHT >= 800 ) # define LOGIN_POS_Y 550 -#elif ( HEIGHT == 768 ) +#elif ( HEIGHT >= 768 ) # define LOGIN_POS_Y 520 -#elif ( HEIGHT == 600 ) +#elif ( HEIGHT >= 600 ) # define LOGIN_POS_Y 400 -#elif ( HEIGHT == 480 ) +#elif ( HEIGHT >= 480 ) # define LOGIN_POS_Y 315 #endif -- cgit v1.2.3