mirror of
https://github.com/labwc/labwc.git
synced 2026-02-07 04:07:42 -05:00
Revert "view: let view_set_fallback_natural_geometry() return wlr_box"
The newly introduced view_get_fallback_natural_geometry() returned a default
position of (0,0) if the view had no usable output. This is undesirable; we
should leave the existing (x,y) position unchanged in that case.
This reverts commit e6b5d91b63.
This commit is contained in:
parent
ab8f186ea4
commit
25be8b3757
3 changed files with 11 additions and 11 deletions
|
|
@ -476,7 +476,7 @@ void view_moved(struct view *view);
|
|||
void view_minimize(struct view *view, bool minimized);
|
||||
bool view_compute_centered_position(struct view *view,
|
||||
const struct wlr_box *ref, int w, int h, int *x, int *y);
|
||||
struct wlr_box view_get_fallback_natural_geometry(struct view *view);
|
||||
void view_set_fallback_natural_geometry(struct view *view);
|
||||
void view_store_natural_geometry(struct view *view);
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue