mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:47:44 +00:00
WindowServer+MouseSettings: Improve buttons_switched
naming
Before this commit it was a bit ambiguous which buttons the function name were referring to; this instead now makes it clear that it's related to mouse input. Additionally, this also fixes incorrect getter naming leftover from yesteryear.
This commit is contained in:
parent
83380ebebc
commit
01cdd3f181
9 changed files with 22 additions and 22 deletions
|
@ -1100,14 +1100,14 @@ Messages::WindowServer::GetDoubleClickSpeedResponse ConnectionFromClient::get_do
|
|||
return WindowManager::the().double_click_speed();
|
||||
}
|
||||
|
||||
void ConnectionFromClient::set_buttons_switched(bool switched)
|
||||
void ConnectionFromClient::set_mouse_buttons_switched(bool switched)
|
||||
{
|
||||
WindowManager::the().set_buttons_switched(switched);
|
||||
WindowManager::the().set_mouse_buttons_switched(switched);
|
||||
}
|
||||
|
||||
Messages::WindowServer::GetButtonsSwitchedResponse ConnectionFromClient::get_buttons_switched()
|
||||
Messages::WindowServer::AreMouseButtonsSwitchedResponse ConnectionFromClient::are_mouse_buttons_switched()
|
||||
{
|
||||
return WindowManager::the().get_buttons_switched();
|
||||
return WindowManager::the().are_mouse_buttons_switched();
|
||||
}
|
||||
|
||||
void ConnectionFromClient::set_natural_scroll(bool inverted)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue