mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
xdg-shell: remove view->padding
With the wlroots scene-graph API, the padding variable is no longer needed for windows with Client Side Decoration (CSD).
This commit is contained in:
parent
286b2146c3
commit
b27955050f
4 changed files with 14 additions and 54 deletions
|
|
@ -296,15 +296,6 @@ struct view {
|
|||
*/
|
||||
struct border margin;
|
||||
|
||||
/*
|
||||
* padding refers to the space between the extremities of the
|
||||
* wlr_surface and the parts of the surface that is considered the
|
||||
* window.
|
||||
* This is only used for xdg-shell views with CSD where the padding
|
||||
* area is typically invisible except for client-side drop-shawdows.
|
||||
*/
|
||||
struct border padding;
|
||||
|
||||
struct view_pending_move_resize {
|
||||
bool update_x, update_y;
|
||||
double x, y;
|
||||
|
|
@ -379,7 +370,6 @@ void xwayland_unmanaged_create(struct server *server,
|
|||
|
||||
void view_set_activated(struct view *view, bool activated);
|
||||
void view_close(struct view *view);
|
||||
struct border view_border(struct view *view);
|
||||
|
||||
/**
|
||||
* view_move_resize - resize and move view
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue