mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05: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);
|
||||
uint32_t require_reconfigure = WLR_OUTPUT_STATE_MODE
|
||||
| WLR_OUTPUT_STATE_SCALE | WLR_OUTPUT_STATE_TRANSFORM;
|
||||
if (event->committed & require_reconfigure) {
|
||||
if (event->state->committed & require_reconfigure) {
|
||||
lock_output_reconfigure(output);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue