remove kb handling due to missing focus
This commit is contained in:
parent
bc35014269
commit
4556789b0e
6 changed files with 25 additions and 26 deletions
|
|
@ -22,6 +22,14 @@ union Arg {
|
|||
};
|
||||
struct Monitor;
|
||||
|
||||
enum { ClkNone, ClkTagBar, ClkLayoutSymbol, ClkWinTitle, ClkStatusText };
|
||||
struct Button {
|
||||
int control;
|
||||
int btn; // <linux/input-event-codes.h>
|
||||
void (*func)(Monitor &mon, const Arg &arg);
|
||||
const Arg arg;
|
||||
};
|
||||
|
||||
extern wl_display *display;
|
||||
extern wl_compositor *compositor;
|
||||
extern wl_shm *shm;
|
||||
|
|
@ -33,15 +41,6 @@ void toggleview(Monitor &m, const Arg &arg);
|
|||
void view(Monitor &m, const Arg &arg);
|
||||
void setlayout(Monitor &m, const Arg &arg);
|
||||
|
||||
enum class Control { None, TagBar, LayoutSymbol, WinTitle, StatusText };
|
||||
struct Button {
|
||||
Control control;
|
||||
unsigned int modifiers; // todo xkbcommon
|
||||
int btn; // <linux/input-event-codes.h>
|
||||
void (*func)(Monitor &mon, const Arg &arg);
|
||||
const Arg arg;
|
||||
};
|
||||
|
||||
// wayland smart pointers
|
||||
template<typename T>
|
||||
struct wl_deleter;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue