Skip to content

Commit

Permalink
Fix parameter name
Browse files Browse the repository at this point in the history
Co-authored-by: Matthew Kosarek <matthew@matthewkosarek.xyz>
  • Loading branch information
AlanGriffiths and mattkae committed Jun 4, 2024
1 parent cfef139 commit 4f23c1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/common/mir/input/mir_touchpad_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ struct MirTouchpadConfig
* The click mode defines when the touchpad generates software emulated button events.
*/
MirTouchpadClickMode click_mode() const;
void click_mode(MirTouchpadClickMode modes) ;
void click_mode(MirTouchpadClickMode mode) ;
/*!
* The scroll mode defines when the touchpad generates scroll events instead of pointer motion events.
*/
Expand Down
4 changes: 2 additions & 2 deletions src/common/input/mir_touchpad_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ MirTouchpadClickMode MirTouchpadConfig::click_mode() const
return impl->click_mode;
}

void MirTouchpadConfig::click_mode(MirTouchpadClickMode modes)
void MirTouchpadConfig::click_mode(MirTouchpadClickMode mode)
{
impl->click_mode = modes;
impl->click_mode = mode;
}

MirTouchpadScrollMode MirTouchpadConfig::scroll_mode() const
Expand Down

0 comments on commit 4f23c1d

Please sign in to comment.