mirror of
https://github.com/swaywm/sway.git
synced 2025-11-02 09:01:40 -05:00
Fix rendering issues, wire up some xdg listeners
This commit is contained in:
parent
ce1936bc65
commit
a57d462926
4 changed files with 29 additions and 7 deletions
|
|
@ -14,6 +14,8 @@ struct sway_xdg_surface_v6 {
|
|||
struct wl_listener request_move;
|
||||
struct wl_listener request_resize;
|
||||
struct wl_listener request_maximize;
|
||||
|
||||
int pending_width, pending_height;
|
||||
};
|
||||
|
||||
enum sway_view_type {
|
||||
|
|
@ -40,6 +42,7 @@ struct sway_view {
|
|||
enum sway_view_type type;
|
||||
struct sway_container *swayc;
|
||||
struct wlr_surface *surface;
|
||||
int width, height;
|
||||
|
||||
union {
|
||||
struct wlr_xdg_surface_v6 *wlr_xdg_surface_v6;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue