mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
Chase wlroots: use output commit event state
Chases: 5fb0007e0249388792f3772c30bfabf8d551dec0 output_event_commit: Remove committed and buffer
This commit is contained in:
parent
627179b277
commit
9eb7e69a04
2 changed files with 2 additions and 2 deletions
|
|
@ -143,7 +143,7 @@ handle_commit(struct wl_listener *listener, void *data)
|
||||||
struct session_lock_output *output = wl_container_of(listener, output, commit);
|
struct session_lock_output *output = wl_container_of(listener, output, commit);
|
||||||
uint32_t require_reconfigure = WLR_OUTPUT_STATE_MODE
|
uint32_t require_reconfigure = WLR_OUTPUT_STATE_MODE
|
||||||
| WLR_OUTPUT_STATE_SCALE | WLR_OUTPUT_STATE_TRANSFORM;
|
| WLR_OUTPUT_STATE_SCALE | WLR_OUTPUT_STATE_TRANSFORM;
|
||||||
if (event->committed & require_reconfigure) {
|
if (event->state->committed & require_reconfigure) {
|
||||||
lock_output_reconfigure(output);
|
lock_output_reconfigure(output);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[wrap-git]
|
[wrap-git]
|
||||||
url = https://gitlab.freedesktop.org/wlroots/wlroots.git
|
url = https://gitlab.freedesktop.org/wlroots/wlroots.git
|
||||||
revision = a289f812d62059d5aac92cbd374dcb7b03bb08a6
|
revision = 5fb0007e0249388792f3772c30bfabf8d551dec0
|
||||||
|
|
||||||
[provide]
|
[provide]
|
||||||
dependency_names = wlroots
|
dependency_names = wlroots
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue