opt: opitmize subtree surface scale in overview

This commit is contained in:
DreamMaoMao 2026-05-21 21:28:38 +08:00
parent 096ef0bf41
commit 406a16033b
3 changed files with 71 additions and 15 deletions

View file

@ -606,6 +606,13 @@ struct TagScrollerState {
int count;
};
typedef struct {
int32_t orig_width;
int32_t orig_height;
bool is_subsurface;
struct wl_listener destroy;
} SnapshotMetadata;
/* function declarations */
static void applybounds(
Client *c,