mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
src/output.c: remove output_usable_area_scaled()
This commit is contained in:
parent
66a3beb98b
commit
028e24dc13
3 changed files with 1 additions and 20 deletions
|
|
@ -417,7 +417,7 @@ static struct wlr_box
|
|||
view_get_edge_snap_box(struct view *view, struct output *output,
|
||||
enum view_edge edge)
|
||||
{
|
||||
struct wlr_box usable = output_usable_area_scaled(output);
|
||||
struct wlr_box usable = output_usable_area_in_layout_coords(output);
|
||||
int x_offset = edge == VIEW_EDGE_RIGHT
|
||||
? (usable.width + rc.gap) / 2 : rc.gap;
|
||||
int y_offset = edge == VIEW_EDGE_DOWN
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue