rename wlr_deco_part to roots_deco_part

This commit is contained in:
Tony Crisci 2018-01-21 18:46:19 -05:00
parent 54776dd19c
commit e8c407d00e
3 changed files with 24 additions and 24 deletions

View file

@ -135,15 +135,15 @@ void view_teardown(struct roots_view *view);
void view_get_deco_box(const struct roots_view *view, struct wlr_box *box);
enum wlr_deco_part {
WLR_DECO_PART_NONE = 0,
WLR_DECO_PART_TOP_BORDER = (1 << 0),
WLR_DECO_PART_BOTTOM_BORDER = (1 << 1),
WLR_DECO_PART_LEFT_BORDER = (1 << 2),
WLR_DECO_PART_RIGHT_BORDER = (1 << 3),
WLR_DECO_PART_TITLEBAR = (1 << 4),
enum roots_deco_part {
ROOTS_DECO_PART_NONE = 0,
ROOTS_DECO_PART_TOP_BORDER = (1 << 0),
ROOTS_DECO_PART_BOTTOM_BORDER = (1 << 1),
ROOTS_DECO_PART_LEFT_BORDER = (1 << 2),
ROOTS_DECO_PART_RIGHT_BORDER = (1 << 3),
ROOTS_DECO_PART_TITLEBAR = (1 << 4),
};
enum wlr_deco_part view_get_deco_part(struct roots_view *view, double sx, double sy);
enum roots_deco_part view_get_deco_part(struct roots_view *view, double sx, double sy);
#endif