Add toggle key

This commit is contained in:
Xtr126 2024-07-11 08:03:32 +05:30
parent 19a59384fe
commit a476069bd7
3 changed files with 64 additions and 19 deletions

3
seat.h
View file

@ -10,6 +10,7 @@
#include "server.h"
#include "view.h"
#include "togglekey.h"
#define DEFAULT_XCURSOR "left_ptr"
#define XCURSOR_SIZE 24
@ -48,6 +49,8 @@ struct cg_seat {
struct wl_listener request_set_cursor;
struct wl_listener request_set_selection;
struct wl_listener request_set_primary_selection;
bool xtmapper_disabled;
};
struct cg_keyboard_group {