1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:17:35 +00:00

DisplaySettings: Show screen numbers when showing the Monitors tab

This will be helpful once we allow the user to rearrange the displays.
This commit is contained in:
Tom 2021-06-20 13:24:40 -06:00 committed by Andreas Kling
parent 41859ad3fe
commit 8b26debda1
3 changed files with 20 additions and 0 deletions

View file

@ -141,4 +141,12 @@ void MonitorSettingsWidget::apply_settings()
}
}
void MonitorSettingsWidget::show_screen_numbers(bool show)
{
if (m_showing_screen_numbers == show)
return;
m_showing_screen_numbers = show;
GUI::WindowServerConnection::the().async_show_screen_numbers(show);
}
}