wlroots/include/rootston/switch.h

19 lines
373 B
C
Raw Permalink Normal View History

#ifndef ROOTSTON_SWITCH_H
#define ROOTSTON_SWITCH_H
#include "rootston/input.h"
struct roots_switch {
2019-01-21 16:56:19 +00:00
struct roots_seat *seat;
struct wlr_input_device *device;
struct wl_listener device_destroy;
2019-01-21 16:56:19 +00:00
struct wl_listener toggle;
struct wl_list link;
};
void roots_switch_handle_toggle(struct roots_switch *switch_device,
2019-01-21 16:56:19 +00:00
struct wlr_event_switch_toggle *event);
2019-01-21 16:56:19 +00:00
#endif