feat: add dispatch toggle_trackpad_enable

This commit is contained in:
DreamMaoMao committed 2025-09-03 11:59:50 +08:00
1 parent 76aafa0bd0
commit 4768ef2c29
4 files changed
+44 -6

No files matched your search

+2 -1
View File
@@ -60,4 +60,5 @@ void toggle_named_scratchpad(const Arg *arg);
void toggle_render_border(const Arg *arg);
void create_virtual_output(const Arg *arg);
void destroy_all_virtual_output(const Arg *arg);
void focuslast(const Arg *arg);
void focuslast(const Arg *arg);
void toggle_trackpad_enable(const Arg *arg);
+4
View File
@@ -124,6 +124,10 @@ void focuslast(const Arg *arg) {
}
}
void toggle_trackpad_enable(const Arg *arg) {
disable_trackpad = !disable_trackpad;
}
void focusmon(const Arg *arg) {
Client *c;
Monitor *m = NULL;