summaryrefslogtreecommitdiffstats
path: root/hacks/xmatrix.c
diff options
context:
space:
mode:
authorSimon Rettberg2020-12-02 08:35:55 +0100
committerSimon Rettberg2020-12-02 08:35:55 +0100
commite5319b91d163384ee22db077b2d37688d65646c9 (patch)
tree04acbf822516634814098b38a9878ffc1a55529d /hacks/xmatrix.c
parentdriver/timers.c: fix flush_events() (diff)
parent5.44 (diff)
downloadxscreensaver-e5319b91d163384ee22db077b2d37688d65646c9.tar.gz
xscreensaver-e5319b91d163384ee22db077b2d37688d65646c9.tar.xz
xscreensaver-e5319b91d163384ee22db077b2d37688d65646c9.zip
Merge branch 'master' into openslx
Diffstat (limited to 'hacks/xmatrix.c')
-rw-r--r--hacks/xmatrix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hacks/xmatrix.c b/hacks/xmatrix.c
index 45c5f9d..70f6516 100644
--- a/hacks/xmatrix.c
+++ b/hacks/xmatrix.c
@@ -1311,7 +1311,7 @@ hack_text (m_state *state)
/* Stupid iPhone X bezel.
#### This is the worst of all possible ways to do this! But how else?
*/
- if (state->xgwa.width == 2436 || state->xgwa.height == 2436)
+ if (state->xgwa.width == 1218 || state->xgwa.height == 1218)
switch (state->mode)
{
case TRACE_TEXT_A:
@@ -1319,7 +1319,7 @@ hack_text (m_state *state)
case KNOCK:
case NMAP:
{
- int off = 5 * (state->small_p ? 2 : 1);
+ int off = 2 * (state->small_p ? 2 : 1);
if (state->xgwa.width > state->xgwa.height)
{
state->typing_left_margin += off;