mirror of
https://github.com/swaywm/sway.git
synced 2025-11-01 22:58:41 -04:00
Fix geometry
This commit is contained in:
parent
b3ee9af0c8
commit
982a2d0c99
5 changed files with 57 additions and 10 deletions
|
|
@ -88,6 +88,7 @@ struct sway_view {
|
|||
|
||||
struct wlr_buffer *saved_buffer;
|
||||
int saved_buffer_width, saved_buffer_height;
|
||||
struct wlr_box saved_geometry; // The "old" geometry during a transaction
|
||||
|
||||
bool destroying;
|
||||
|
||||
|
|
@ -242,6 +243,8 @@ const char *view_get_shell(struct sway_view *view);
|
|||
void view_get_constraints(struct sway_view *view, double *min_width,
|
||||
double *max_width, double *min_height, double *max_height);
|
||||
|
||||
void view_get_geometry(struct sway_view *view, struct wlr_box *box);
|
||||
|
||||
uint32_t view_configure(struct sway_view *view, double lx, double ly, int width,
|
||||
int height);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue