mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
MouseSettings: Add option to reverse buttons
Add option to reverse primary and secondary buttons in Mouse Settings. - WindowServer.ini: add default entry - switch-mouse-buttons.png: new icon for settings entry - Mouse.gml/MouseWidget.*: new settings dialog - ClientConnection/WindowManager/Server: window message for settings - EventLoop.cpp: swap buttons 1 and 2 if settings are on
This commit is contained in:
parent
5599d22744
commit
0e68550c05
11 changed files with 90 additions and 0 deletions
|
@ -921,6 +921,16 @@ Messages::WindowServer::GetDoubleClickSpeedResponse ClientConnection::get_double
|
|||
return WindowManager::the().double_click_speed();
|
||||
}
|
||||
|
||||
void ClientConnection::set_buttons_switched(bool switched)
|
||||
{
|
||||
WindowManager::the().set_buttons_switched(switched);
|
||||
}
|
||||
|
||||
Messages::WindowServer::GetButtonsSwitchedResponse ClientConnection::get_buttons_switched()
|
||||
{
|
||||
return WindowManager::the().get_buttons_switched();
|
||||
}
|
||||
|
||||
void ClientConnection::set_unresponsive(bool unresponsive)
|
||||
{
|
||||
if (m_unresponsive == unresponsive)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue