diff options
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r-- | include/sway/tree/view.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index 7a94b2c2..65a23902 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h | |||
@@ -29,7 +29,7 @@ struct sway_view_impl { | |||
29 | const char *(*get_string_prop)(struct sway_view *view, | 29 | const char *(*get_string_prop)(struct sway_view *view, |
30 | enum sway_view_prop prop); | 30 | enum sway_view_prop prop); |
31 | uint32_t (*get_int_prop)(struct sway_view *view, enum sway_view_prop prop); | 31 | uint32_t (*get_int_prop)(struct sway_view *view, enum sway_view_prop prop); |
32 | void (*configure)(struct sway_view *view, double ox, double oy, int width, | 32 | void (*configure)(struct sway_view *view, double lx, double ly, int width, |
33 | int height); | 33 | int height); |
34 | void (*set_activated)(struct sway_view *view, bool activated); | 34 | void (*set_activated)(struct sway_view *view, bool activated); |
35 | void (*set_tiled)(struct sway_view *view, bool tiled); | 35 | void (*set_tiled)(struct sway_view *view, bool tiled); |
@@ -48,7 +48,7 @@ struct sway_view { | |||
48 | struct sway_container *swayc; // NULL for unmapped views | 48 | struct sway_container *swayc; // NULL for unmapped views |
49 | struct wlr_surface *surface; // NULL for unmapped views | 49 | struct wlr_surface *surface; // NULL for unmapped views |
50 | 50 | ||
51 | // Geometry of the view itself (excludes borders) | 51 | // Geometry of the view itself (excludes borders) in layout coordinates |
52 | double x, y; | 52 | double x, y; |
53 | int width, height; | 53 | int width, height; |
54 | 54 | ||