chore: chase wlroots fractional coords update

This commit is contained in:
Kirill Primak 2022-11-07 20:21:38 +03:00
parent 25f1fc6c9c
commit f167200022
10 changed files with 39 additions and 33 deletions

View file

@ -42,7 +42,7 @@ struct sway_output {
struct sway_server *server;
struct wl_list link;
struct wlr_box usable_area;
struct wlr_fbox usable_area;
struct timespec last_frame;

View file

@ -40,7 +40,7 @@ struct sway_view_impl {
enum sway_view_prop prop);
uint32_t (*get_int_prop)(struct sway_view *view, enum sway_view_prop prop);
uint32_t (*configure)(struct sway_view *view, double lx, double ly,
int width, int height);
double width, double height);
void (*set_activated)(struct sway_view *view, bool activated);
void (*set_tiled)(struct sway_view *view, bool tiled);
void (*set_fullscreen)(struct sway_view *view, bool fullscreen);
@ -81,7 +81,7 @@ struct sway_view {
// The geometry for whatever the client is committing, regardless of
// transaction state. Updated on every commit.
struct wlr_box geometry;
struct wlr_fbox geometry;
struct wlr_foreign_toplevel_handle_v1 *foreign_toplevel;
struct wl_listener foreign_activate_request;
@ -217,8 +217,8 @@ const char *view_get_shell(struct sway_view *view);
void view_get_constraints(struct sway_view *view, double *min_width,
double *max_width, double *min_height, double *max_height);
uint32_t view_configure(struct sway_view *view, double lx, double ly, int width,
int height);
uint32_t view_configure(struct sway_view *view, double lx, double ly,
double width, double height);
bool view_inhibit_idle(struct sway_view *view);