mirror of
https://github.com/swaywm/sway.git
synced 2026-03-28 07:58:38 -04:00
Chase wlroots!4331
This commit is contained in:
parent
8a8fb76ec1
commit
4326a26ad6
2 changed files with 9 additions and 4 deletions
|
|
@ -46,7 +46,7 @@ static void handle_surface_commit(struct wl_listener *listener, void *data) {
|
|||
static void handle_output_commit(struct wl_listener *listener, void *data) {
|
||||
struct wlr_output_event_commit *event = data;
|
||||
struct sway_session_lock_surface *surf = wl_container_of(listener, surf, output_commit);
|
||||
if (event->committed & (
|
||||
if (event->state->committed & (
|
||||
WLR_OUTPUT_STATE_MODE |
|
||||
WLR_OUTPUT_STATE_SCALE |
|
||||
WLR_OUTPUT_STATE_TRANSFORM)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue