Skip to content

Commit 532d5fd

Browse files
committed
Always add full screen selection in Xinerama, fixes #59
1 parent 4a5699a commit 532d5fd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/SetBG.cc

+2-4
Original file line numberDiff line numberDiff line change
@@ -1017,10 +1017,8 @@ std::map<Glib::ustring, Glib::ustring> SetBGXinerama::get_active_displays()
10171017
{
10181018
std::map<Glib::ustring, Glib::ustring> map_displays;
10191019

1020-
// if at least 2 screens, add the full screen
1021-
// reason being if xinerama on but only one screen, full screen is the same as the first display
1022-
if (this->xinerama_num_screens > 1)
1023-
map_displays[this->get_fullscreen_key()] = _("Full Screen");
1020+
// always add full screen as we need the -1 key always
1021+
map_displays[this->get_fullscreen_key()] = _("Full Screen");
10241022

10251023
// add individual screens
10261024
for (int i=0; i < xinerama_num_screens; i++) {

0 commit comments

Comments
 (0)