Update output layout when scale or transform changes

This commit is contained in:
emersion 2017-12-12 21:58:00 +01:00
parent 808ab5aa1b
commit 3b4b8953d9
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
11 changed files with 38 additions and 15 deletions

View file

@ -62,6 +62,8 @@ struct wlr_output {
struct wl_signal frame;
struct wl_signal swap_buffers;
struct wl_signal resolution;
struct wl_signal scale;
struct wl_signal transform;
struct wl_signal destroy;
} events;
@ -85,7 +87,7 @@ bool wlr_output_set_mode(struct wlr_output *output,
struct wlr_output_mode *mode);
bool wlr_output_set_custom_mode(struct wlr_output *output, int32_t width,
int32_t height, int32_t refresh);
void wlr_output_transform(struct wlr_output *output,
void wlr_output_set_transform(struct wlr_output *output,
enum wl_output_transform transform);
void wlr_output_set_position(struct wlr_output *output, int32_t lx, int32_t ly);
void wlr_output_set_scale(struct wlr_output *output, uint32_t scale);