mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:47:45 +00:00
Taskbar: Set window title as taskbar button tooltip
This way it's easier to find the right window when many are open at the same time, as all buttons share a limited amount of horizontal space and titles get truncated quickly.
This commit is contained in:
parent
2fde87e67d
commit
e288541a9b
1 changed files with 1 additions and 0 deletions
|
@ -220,6 +220,7 @@ void TaskbarWindow::update_window_button(::Window& window, bool show_as_active)
|
|||
if (!button)
|
||||
return;
|
||||
button->set_text(window.title());
|
||||
button->set_tooltip(window.title());
|
||||
button->set_checked(show_as_active);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue