summaryrefslogtreecommitdiff
path: root/src/keyevents.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyevents.c')
-rw-r--r--src/keyevents.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/keyevents.c b/src/keyevents.c
index c2c50ae..81e43e7 100644
--- a/src/keyevents.c
+++ b/src/keyevents.c
@@ -419,6 +419,9 @@ void feh_event_handle_keypress(XEvent * ev)
break;
}
}
+ if (getenv("XINERAMA_SCREEN"))
+ curr_screen = xinerama_screen =
+ atoi(getenv("XINERAMA_SCREEN"));
}
#endif /* HAVE_LIBXINERAMA */
winwid->full_screen = !winwid->full_screen;