mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
output: re-introduce atomic mode, enabled, scale and transform
This reverts commit01f903874band re-applies commitee5f98ad49. Updates: https://github.com/swaywm/wlroots/issues/1640 (Atomic output updates issue) See also: https://github.com/swaywm/wlroots/pull/1762 (Atomic output updates original PR) See also: https://github.com/swaywm/wlroots/issues/1780 (Issue caused by atomic output updates) See also: https://github.com/swaywm/sway/issues/4419 (Issue caused by atomic output updates) See also: https://github.com/swaywm/wlroots/pull/1781 (Revert PR)
This commit is contained in:
parent
e0e5a167ed
commit
5d1ba0f446
9 changed files with 333 additions and 159 deletions
|
|
@ -15,10 +15,6 @@
|
|||
#include <wlr/types/wlr_output.h>
|
||||
|
||||
struct wlr_output_impl {
|
||||
bool (*enable)(struct wlr_output *output, bool enable);
|
||||
bool (*set_mode)(struct wlr_output *output, struct wlr_output_mode *mode);
|
||||
bool (*set_custom_mode)(struct wlr_output *output, int32_t width,
|
||||
int32_t height, int32_t refresh);
|
||||
bool (*set_cursor)(struct wlr_output *output, struct wlr_texture *texture,
|
||||
int32_t scale, enum wl_output_transform transform,
|
||||
int32_t hotspot_x, int32_t hotspot_y, bool update_texture);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue