summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-12-24 18:16:47 +0100
committer Eric Hameleers <alien@slackware.com>2015-12-24 18:16:47 +0100
commit125b1e76e4564a31ef76d1f5df823d20c6007a76 (patch)
tree3b04e8ff79574675f104876c3c3a4120e1d419e9
parenta1ea9d03ae17bcf7f4bd24b770d08e678179aa22 (diff)
downloadliveslak-125b1e76e4564a31ef76d1f5df823d20c6007a76.tar.gz
liveslak-125b1e76e4564a31ef76d1f5df823d20c6007a76.tar.xz
In XDM's Xresources file, try to handle varying screen sizes better.
-rw-r--r--xdm/Xresources14
1 files changed, 7 insertions, 7 deletions
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