mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2025-01-01 06:20:17 +01:00
20 lines
430 B
C
20 lines
430 B
C
|
#ifndef _SWAY_INPUT_SWITCH_H
|
||
|
#define _SWAY_INPUT_SWITCH_H
|
||
|
|
||
|
#include "sway/input/seat.h"
|
||
|
|
||
|
struct sway_switch {
|
||
|
struct sway_seat_device *seat_device;
|
||
|
|
||
|
struct wl_listener switch_toggle;
|
||
|
};
|
||
|
|
||
|
struct sway_switch *sway_switch_create(struct sway_seat *seat,
|
||
|
struct sway_seat_device *device);
|
||
|
|
||
|
void sway_switch_configure(struct sway_switch *sway_switch);
|
||
|
|
||
|
void sway_switch_destroy(struct sway_switch *sway_switch);
|
||
|
|
||
|
#endif
|