mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 15:45:06 +00:00
WindowServer+LibGUI: Support the 4th and 5th mouse buttons
We'll call the "Back" and "Forward" since that's what they are normally mapped to in some other systems.
This commit is contained in:
parent
c5882d3a18
commit
67b92a7d5f
6 changed files with 16 additions and 0 deletions
|
@ -683,6 +683,10 @@ auto WindowManager::DoubleClickInfo::metadata_for_button(MouseButton button) ->
|
|||
return m_right;
|
||||
case MouseButton::Middle:
|
||||
return m_middle;
|
||||
case MouseButton::Back:
|
||||
return m_back;
|
||||
case MouseButton::Forward:
|
||||
return m_forward;
|
||||
default:
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue