wayland: add icon support

This commit is contained in:
IoIxD
2025-12-18 18:21:57 -07:00
parent a27a01ce41
commit 59ff6f1008
3 changed files with 61 additions and 10 deletions

View File

@@ -25,6 +25,7 @@ MWDECL int MwLLWaylandCallInit(void);
#include "Wayland/xdg-decoration-client-protocol.h"
#include "Wayland/cursor-shape-client-protocol.h"
#include "Wayland/primary-selection-client-protocol.h"
#include "Wayland/xdg-toplevel-icon-client-protocol.h"
#endif
struct _MwLLWayland;
@@ -124,8 +125,9 @@ struct _MwLLWayland {
char* cur_selection;
struct _MwLLWaylandShmBuffer framebuffer;
struct _MwLLWaylandShmBuffer cursor;
struct _MwLLWaylandShmBuffer framebuffer;
struct _MwLLWaylandShmBuffer cursor;
struct _MwLLWaylandShmBuffer* icon;
cairo_surface_t* cs;
cairo_t* cairo;