wlroots-hyprland/include/rootston/switch.h
Ryan Walklin 4453757fc9 s/lid_switch/switch_device
Rename lid_switch to switch_device to disambiguate lid and tablet mode switches.
2019-03-19 22:45:58 -04:00

18 lines
373 B
C

#ifndef ROOTSTON_SWITCH_H
#define ROOTSTON_SWITCH_H
#include "rootston/input.h"
struct roots_switch {
struct roots_seat *seat;
struct wlr_input_device *device;
struct wl_listener device_destroy;
struct wl_listener toggle;
struct wl_list link;
};
void roots_switch_handle_toggle(struct roots_switch *switch_device,
struct wlr_event_switch_toggle *event);
#endif