mirror of
https://github.com/swaywm/sway.git
synced 2025-11-03 09:01:43 -05:00
Add view_get_geometry
This commit is contained in:
parent
db4b4935b3
commit
b3ee9af0c8
4 changed files with 28 additions and 37 deletions
|
|
@ -38,6 +38,7 @@ struct sway_view_impl {
|
|||
const char *(*get_string_prop)(struct sway_view *view,
|
||||
enum sway_view_prop prop);
|
||||
uint32_t (*get_int_prop)(struct sway_view *view, enum sway_view_prop prop);
|
||||
void (*get_geometry)(struct sway_view *view, struct wlr_box *box);
|
||||
uint32_t (*configure)(struct sway_view *view, double lx, double ly,
|
||||
int width, int height);
|
||||
void (*set_activated)(struct sway_view *view, bool activated);
|
||||
|
|
@ -285,10 +286,6 @@ void view_map(struct sway_view *view, struct wlr_surface *wlr_surface);
|
|||
|
||||
void view_unmap(struct sway_view *view);
|
||||
|
||||
void view_update_position(struct sway_view *view, double lx, double ly);
|
||||
|
||||
void view_update_size(struct sway_view *view, int width, int height);
|
||||
|
||||
void view_child_init(struct sway_view_child *child,
|
||||
const struct sway_view_child_impl *impl, struct sway_view *view,
|
||||
struct wlr_surface *surface);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue