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 tag(const Arg *arg);
|
||||||
static void tagmon(const Arg *arg);
|
static void tagmon(const Arg *arg);
|
||||||
static void tile(Monitor *m);
|
static void tile(Monitor *m);
|
||||||
|
#ifdef HAS_TOGGLE_TOUCH
|
||||||
static void toggle_touch_input_device(const Arg *arg);
|
static void toggle_touch_input_device(const Arg *arg);
|
||||||
|
#endif
|
||||||
static void togglebar(const Arg *arg);
|
static void togglebar(const Arg *arg);
|
||||||
static void togglefloating(const Arg *arg);
|
static void togglefloating(const Arg *arg);
|
||||||
static void togglefullscreen(const Arg *arg);
|
static void togglefullscreen(const Arg *arg);
|
||||||
@ -2978,6 +2980,7 @@ tile(Monitor *m)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAS_TOGGLE_TOUCH
|
||||||
void
|
void
|
||||||
toggle_touch_input_device(const Arg *arg) {
|
toggle_touch_input_device(const Arg *arg) {
|
||||||
if (cfg_disable_touchpad) {
|
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_vendor(touch_input_device),
|
||||||
libinput_device_get_id_product(touch_input_device));
|
libinput_device_get_id_product(touch_input_device));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
togglebar(const Arg *arg) {
|
togglebar(const Arg *arg) {
|
||||||
|
Loading…
Reference in New Issue
Block a user