mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +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
Notes:
sideshowbarker
2024-07-18 11:31:03 +09:00
Author: https://github.com/tomuta
Commit: 8b26debda1
Pull-request: https://github.com/SerenityOS/serenity/pull/8174
Reviewed-by: https://github.com/MaxWipfli
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/gunnarbeutner
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