mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-26 06:59:52 -05:00
output_event_commit: Remove committed and buffer
The newly introduced state struct can be used to retrieve this.
This commit is contained in:
parent
03e240a7f2
commit
5fb0007e02
8 changed files with 12 additions and 15 deletions
|
|
@ -1265,8 +1265,9 @@ static void scene_output_handle_commit(struct wl_listener *listener, void *data)
|
|||
struct wlr_scene_output *scene_output = wl_container_of(listener,
|
||||
scene_output, output_commit);
|
||||
struct wlr_output_event_commit *event = data;
|
||||
const struct wlr_output_state *state = event->state;
|
||||
|
||||
if (event->committed & (WLR_OUTPUT_STATE_MODE |
|
||||
if (state->committed & (WLR_OUTPUT_STATE_MODE |
|
||||
WLR_OUTPUT_STATE_TRANSFORM |
|
||||
WLR_OUTPUT_STATE_SCALE |
|
||||
WLR_OUTPUT_STATE_ENABLED)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue