Skip to content
This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Commit 3ca0b89

Browse files
wineeezccrs
authored andcommitted
Make layer_surface_v1/xdg_popup's destroy publice
it will call xpg_popup_done/zwlr_layer_surface_v1_send_closed to client and clear resource,should allow compositor to do such things
1 parent 4b979d2 commit 3ca0b89

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/types/qwlayershellv1.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ class QW_CLASS_OBJECT(layer_surface_v1)
3131
QW_FUNC_MEMBER(layer_surface_v1, surface_at, wlr_surface *, double sx, double sy, double *sub_x, double *sub_y)
3232
QW_FUNC_MEMBER(layer_surface_v1, popup_surface_at, wlr_surface *, double sx, double sy, double *sub_x, double *sub_y)
3333
QW_FUNC_MEMBER(layer_surface_v1, configure, uint32_t, uint32_t width, uint32_t height);
34-
35-
protected:
3634
QW_FUNC_MEMBER(layer_surface_v1, destroy, void)
3735
};
3836

src/types/qwxdgshell.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ class QW_CLASS_OBJECT(xdg_popup)
6565
QW_FUNC_MEMBER(xdg_popup, get_position, void, double *popup_sx, double *popup_sy)
6666
QW_FUNC_MEMBER(xdg_popup, get_toplevel_coords, void, int popup_sx, int popup_sy, int *toplevel_sx, int *toplevel_sy)
6767
QW_FUNC_MEMBER(xdg_popup, unconstrain_from_box, void, const wlr_box *toplevel_space_box)
68-
69-
protected:
7068
QW_FUNC_MEMBER(xdg_popup, destroy, void)
7169
};
7270

0 commit comments

Comments
 (0)