remove warnings and add autofocus

This commit is contained in:
2026-04-26 14:31:03 +07:00
parent 0e965e9583
commit 67d379e283
15 changed files with 55 additions and 11 deletions
+1
View File
@@ -3,5 +3,6 @@
#include "types.h"
void focus_toplevel(struct absinthe_toplevel *toplevel);
struct absinthe_toplevel *focus_get_topmost(struct absinthe_server *server);
void focus_next(struct absinthe_server *server);
void focus_prev(struct absinthe_server *server);
+3 -1
View File
@@ -24,6 +24,8 @@
#include "config.h"
#define UNUSED(x) (void)(x)
enum absinthe_cursor_mode {
ABSINTHE_CURSOR_PASSTHROUGH,
ABSINTHE_CURSOR_MOVE,
@@ -95,7 +97,7 @@ struct absinthe_server {
enum absinthe_cursor_mode cursor_mode;
struct wlr_box grabbed_geometry;
uint32_t grab_x, grab_y;
int32_t grab_x, grab_y;
enum absinthe_cursor_resize_corner cursor_resize_corner;
struct wl_list toplevels;