diff options
author | Markus Ongyerth <ongy@ongy.net> | 2018-01-24 10:23:48 +0100 |
---|---|---|
committer | Markus Ongyerth <ongy@ongy.net> | 2018-01-24 10:23:48 +0100 |
commit | f946c10cb171644e915deeaa40b5e8f8344a808c (patch) | |
tree | 11755cc97b42390f5c996a9b28bfa3b1c91c388e /backend/x11 | |
parent | 3cf7225cec637c90f4a676aa02dee9ad06dadee9 (diff) |
re-adds wlr_output_update_enabled
Re-add the wlr_output_update_enabled to make sure
wlr_output::events.enable is called when the output enabled state
changes.
Diffstat (limited to 'backend/x11')
-rw-r--r-- | backend/x11/backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/x11/backend.c b/backend/x11/backend.c index 2ee23b4f..e1622d06 100644 --- a/backend/x11/backend.c +++ b/backend/x11/backend.c @@ -226,7 +226,7 @@ static bool wlr_x11_backend_start(struct wlr_backend *backend) { xcb_map_window(x11->xcb_conn, output->win); xcb_flush(x11->xcb_conn); - output->wlr_output.enabled = true; + wlr_output_update_enabled(&output->wlr_output, true); wl_signal_emit(&x11->backend.events.output_add, output); wl_signal_emit(&x11->backend.events.input_add, &x11->keyboard_dev); |