Skip to content

Commit

Permalink
Fix changing primary mouse button
Browse files Browse the repository at this point in the history
  • Loading branch information
lenemter committed Aug 10, 2024
1 parent 145f84b commit 8471a69
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Views/Clicking.vala
Original file line number Diff line number Diff line change
Expand Up @@ -221,14 +221,12 @@ public class MouseTouchpad.ClickingView : Switchboard.SettingsPage {
mouse_left.active = true;
}

mouse_left.activate.connect (() => {
mouse_left.toggled.connect (() => {
mouse_settings.set_boolean ("left-handed", false);
mouse_left.active = true;
});

mouse_right.activate.connect (() => {
mouse_right.toggled.connect (() => {
mouse_settings.set_boolean ("left-handed", true);
mouse_right.active = true;
});

dwell_click_spinbutton.output.connect (() => {
Expand Down

0 comments on commit 8471a69

Please sign in to comment.