mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-12 13:29:45 -05:00
Use pointers for xwayland hints and size_hints
This commit is contained in:
parent
267f24753f
commit
fc61e82795
2 changed files with 21 additions and 9 deletions
|
|
@ -59,11 +59,11 @@ struct wlr_xwayland_surface {
|
|||
|
||||
uint32_t motif_hints[5];
|
||||
#ifdef HAS_XCB_ICCCM
|
||||
xcb_icccm_wm_hints_t hints;
|
||||
xcb_size_hints_t size_hints;
|
||||
xcb_icccm_wm_hints_t *hints;
|
||||
xcb_size_hints_t *size_hints;
|
||||
#else
|
||||
char hints_padding[36];
|
||||
char size_hints_padding[72];
|
||||
void *hints;
|
||||
void *size_hints;
|
||||
#endif
|
||||
|
||||
struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue