aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-10-13 13:12:43 +0200
committerSimon Ser <contact@emersion.fr>2022-10-13 13:12:43 +0200
commita28caf08e364223339814d2d01cd217433d199e2 (patch)
tree87f415c836bafcbe4ad4d545076da1353768c7af /include
parent11192e69308ff48c0f3ec40fb572c4e8e4ad13d8 (diff)
backend: use global output name counters
The output names must be globally unique per the Wayland spec, even if the compositor creates multiple backends of the same kind.
Diffstat (limited to 'include')
-rw-r--r--include/backend/headless.h1
-rw-r--r--include/backend/wayland.h1
-rw-r--r--include/backend/x11.h1
3 files changed, 0 insertions, 3 deletions
diff --git a/include/backend/headless.h b/include/backend/headless.h
index 04750900..4c71fb60 100644
--- a/include/backend/headless.h
+++ b/include/backend/headless.h
@@ -10,7 +10,6 @@ struct wlr_headless_backend {
struct wlr_backend backend;
struct wl_display *display;
struct wl_list outputs;
- size_t last_output_num;
struct wl_listener display_destroy;
bool started;
};
diff --git a/include/backend/wayland.h b/include/backend/wayland.h
index 3a0b1327..c23c0f9a 100644
--- a/include/backend/wayland.h
+++ b/include/backend/wayland.h
@@ -25,7 +25,6 @@ struct wlr_wl_backend {
int drm_fd;
struct wl_list buffers; // wlr_wl_buffer.link
size_t requested_outputs;
- size_t last_output_num;
struct wl_listener local_display_destroy;
char *activation_token;
diff --git a/include/backend/x11.h b/include/backend/x11.h
index 572fce18..e362d5b3 100644
--- a/include/backend/x11.h
+++ b/include/backend/x11.h
@@ -74,7 +74,6 @@ struct wlr_x11_backend {
uint32_t dri3_major_version, dri3_minor_version;
size_t requested_outputs;
- size_t last_output_num;
struct wl_list outputs; // wlr_x11_output::link
struct wlr_keyboard keyboard;