mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
decorate xwayland views
This commit is contained in:
parent
dc701b72fc
commit
3751a17321
5 changed files with 47 additions and 1 deletions
|
|
@ -61,6 +61,10 @@ struct roots_view {
|
|||
double x, y;
|
||||
float rotation;
|
||||
|
||||
bool decorated;
|
||||
int border_width;
|
||||
int titlebar_height;
|
||||
|
||||
bool maximized;
|
||||
struct roots_output *fullscreen_output;
|
||||
struct {
|
||||
|
|
@ -113,6 +117,7 @@ struct roots_view {
|
|||
};
|
||||
|
||||
void view_get_box(const struct roots_view *view, struct wlr_box *box);
|
||||
void view_get_deco_box(const struct roots_view *view, struct wlr_box *box);
|
||||
void view_activate(struct roots_view *view, bool active);
|
||||
void view_move(struct roots_view *view, double x, double y);
|
||||
void view_resize(struct roots_view *view, uint32_t width, uint32_t height);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue