diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-06-23 13:10:56 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-06-23 13:10:56 +0000 |
| commit | a5dd71bc7b41c5227c65f2de167f1f11f6a65a0c (patch) | |
| tree | 4c565331f55401c88a4062c55b656420dcad214a /wayland.h | |
| parent | config: clone: fix font-list cloning (diff) | |
| parent | wayland: apply CSD/SSD changes in the surface configure event (diff) | |
Merge branch 'refresh-on-csd-ssd-change'
Diffstat (limited to 'wayland.h')
| -rw-r--r-- | wayland.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -384,6 +384,8 @@ struct wl_url { struct wl_surf_subsurf surf; }; +enum csd_mode {CSD_UNKNOWN, CSD_NO, CSD_YES}; + struct wayland; struct wl_window { struct terminal *term; @@ -396,7 +398,7 @@ struct wl_window { struct zxdg_toplevel_decoration_v1 *xdg_toplevel_decoration; - enum {CSD_UNKNOWN, CSD_NO, CSD_YES } use_csd; + enum csd_mode csd_mode; struct { struct wl_surf_subsurf surface[CSD_SURF_COUNT]; @@ -433,6 +435,7 @@ struct wl_window { bool is_tiled_bottom:1; bool is_tiled_left:1; bool is_tiled_right:1; + enum csd_mode csd_mode; } configure; int resize_timeout_fd; |
