mirror of
https://github.com/swaywm/sway.git
synced 2026-04-22 06:46:27 -04:00
chore: chase wlroots fractional coords update
This commit is contained in:
parent
25f1fc6c9c
commit
f167200022
10 changed files with 39 additions and 33 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue