[digesting_libdecor] remove 'cursor_outputs'

main
Allen Webster 2026-02-28 02:14:47 -08:00
parent 23a607fa56
commit 8b66e63249
2 changed files with 591 additions and 709 deletions

File diff suppressed because it is too large Load Diff

View File

@ -223,7 +223,6 @@ struct seat {
struct wl_surface *cursor_surface;
struct wl_cursor *current_cursor;
int cursor_scale;
struct wl_list cursor_outputs;
struct wl_cursor_theme *cursor_theme;
/* cursors for resize edges and corners */
@ -271,11 +270,6 @@ struct surface_output {
struct wl_list link;
};
struct cursor_output {
struct output *output;
struct wl_list link;
};
enum titlebar_gesture {
TITLEBAR_GESTURE_DOUBLE_CLICK,
TITLEBAR_GESTURE_MIDDLE_CLICK,
@ -320,12 +314,7 @@ static void init_shell_surface(void);
static void do_map(void);
//#include "plugins/gtk/libdecor-gtk.c"
static void init_wl_output( uint32_t id, uint32_t version);
static void output_removed(struct output *output);
// #include "plugins/gtk/libdecor-gtk.c"
static const char *libdecor_gtk_proxy_tag = "libdecor-gtk";
@ -342,6 +331,14 @@ static void send_cursor(struct seat *seat);
static void buffer_free(struct buffer *buffer);
static void draw_border_component(struct border_component *border_component);
static bool own_proxy(void *proxy);
static struct border_component * border_component_from_wl_surface(const struct wl_surface *surface);
static struct header_element_data get_header_focus(const GtkHeaderBar *header_bar, const int x, const int y);
static void draw_title_bar(void);
enum libdecor_resize_edge component_edge(const struct border_component *cmpnt, const int pointer_x, const int pointer_y, const int margin);
static void toggle_maximized(void);
static void update_touch_focus(struct seat *seat, wl_fixed_t x, wl_fixed_t y);
// digesting_libdecor
typedef struct Ctx{