summaryrefslogtreecommitdiff
path: root/src/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/menu.c')
-rw-r--r--src/menu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/menu.c b/src/menu.c
index 9fb89df..c50f015 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -1258,6 +1258,9 @@ void feh_menu_cb_opt_fullscreen(feh_menu * m, feh_menu_item * i)
}
}
+ if (getenv("XINERAMA_SCREEN"))
+ curr_screen = xinerama_screen =
+ atoi(getenv("XINERAMA_SCREEN"));
}
#endif /* HAVE_LIBXINERAMA */