[digesting_libdecor] remove frame's refcount

main
Allen Webster 2026-02-27 10:38:36 -08:00
parent 3ba29693f4
commit 85814a2bca
2 changed files with 302 additions and 441 deletions

File diff suppressed because it is too large Load Diff

View File

@ -167,10 +167,6 @@ struct libdecor_frame {
struct wl_list frame_link;
//struct libdecor_frame_private;
int ref_count;
struct wl_surface *wl_surface;
void *user_data;
struct xdg_surface *xdg_surface;
@ -356,7 +352,6 @@ enum titlebar_gesture {
// libdecor.h
void libdecor_frame_ref(struct libdecor_frame *frame);
void libdecor_frame_unref(struct libdecor_frame *frame);
void libdecor_frame_set_visibility(struct libdecor_frame *frame,
bool visible);
@ -389,14 +384,10 @@ void libdecor_frame_move(struct libdecor_frame *frame,
void libdecor_frame_commit(struct libdecor_frame *frame,
int w, int h,
struct libdecor_configuration *configuration);
void libdecor_frame_set_minimized(struct libdecor_frame *frame);
void libdecor_frame_set_maximized(struct libdecor_frame *frame);
void libdecor_frame_unset_maximized(struct libdecor_frame *frame);
void libdecor_frame_set_fullscreen(struct libdecor_frame *frame,
struct wl_output *output);
void libdecor_frame_unset_fullscreen(struct libdecor_frame *frame);
bool libdecor_frame_is_floating(struct libdecor_frame *frame);
void libdecor_frame_close(struct libdecor_frame *frame);
void libdecor_frame_map(struct libdecor_frame *frame);
bool libdecor_configuration_get_content_size(struct libdecor_configuration *configuration,
@ -440,8 +431,6 @@ static void output_removed(struct output *output);
static const char *libdecor_gtk_proxy_tag = "libdecor-gtk";
static int libdecor_plugin_gtk_get_fd(void);
static int libdecor_plugin_gtk_get_fd(void);
static int libdecor_plugin_gtk_dispatch(int timeout);
static void libdecor_plugin_gtk_set_handle_application_cursor(bool handle_cursor);
static void libdecor_plugin_gtk_frame_free(struct libdecor_frame *frame);