mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07: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:
parent
41859ad3fe
commit
8b26debda1
3 changed files with 20 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue