aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/interfaces
diff options
context:
space:
mode:
authorRouven Czerwinski <rouven@czerwinskis.de>2019-08-07 08:11:38 +0200
committerDrew DeVault <sir@cmpwn.com>2019-08-07 16:22:11 +0900
commit01f903874b7e27539488fad7f31476d5bcbc6ac9 (patch)
tree7cef0bbf63501ed66d0fc2392f491dc3b47928a8 /include/wlr/interfaces
parent4d36cc86eb8d056f963b3b783d6e3f9bf36e96b6 (diff)
Revert "output: atomic mode"
This reverts commit ee5f98ad49fed0439f3313ec685307831d1d1d05. This intoduced problems where outputs could not be turned off because they had flips pending.
Diffstat (limited to 'include/wlr/interfaces')
-rw-r--r--include/wlr/interfaces/wlr_output.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h
index 8d4a3fd8..a9a89c34 100644
--- a/include/wlr/interfaces/wlr_output.h
+++ b/include/wlr/interfaces/wlr_output.h
@@ -15,6 +15,10 @@
#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);