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:
Johan Malm 2022-04-20 17:00:43 +01:00 committed by Johan Malm
parent 286b2146c3
commit b27955050f
4 changed files with 14 additions and 54 deletions

View file

@ -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