Put toggle touch behind ifdef
This commit is contained in:
parent
f9aafbd339
commit
2860b6f48b
4
dwl.c
4
dwl.c
@ -359,7 +359,9 @@ static void startdrag(struct wl_listener *listener, void *data);
|
||||
static void tag(const Arg *arg);
|
||||
static void tagmon(const Arg *arg);
|
||||
static void tile(Monitor *m);
|
||||
#ifdef HAS_TOGGLE_TOUCH
|
||||
static void toggle_touch_input_device(const Arg *arg);
|
||||
#endif
|
||||
static void togglebar(const Arg *arg);
|
||||
static void togglefloating(const Arg *arg);
|
||||
static void togglefullscreen(const Arg *arg);
|
||||
@ -2978,6 +2980,7 @@ tile(Monitor *m)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef HAS_TOGGLE_TOUCH
|
||||
void
|
||||
toggle_touch_input_device(const Arg *arg) {
|
||||
if (cfg_disable_touchpad) {
|
||||
@ -2993,6 +2996,7 @@ toggle_touch_input_device(const Arg *arg) {
|
||||
libinput_device_get_id_vendor(touch_input_device),
|
||||
libinput_device_get_id_product(touch_input_device));
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
togglebar(const Arg *arg) {
|
||||
|
Loading…
Reference in New Issue
Block a user