mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-12-22 17:09:48 +01:00
wayland: emit commit event
This commit is contained in:
parent
d24f4e2f42
commit
d435736fa7
2 changed files with 3 additions and 0 deletions
|
@ -86,6 +86,7 @@ namespace Aquamarine {
|
||||||
Hyprutils::Signal::CSignal frame;
|
Hyprutils::Signal::CSignal frame;
|
||||||
Hyprutils::Signal::CSignal needsFrame;
|
Hyprutils::Signal::CSignal needsFrame;
|
||||||
Hyprutils::Signal::CSignal present;
|
Hyprutils::Signal::CSignal present;
|
||||||
|
Hyprutils::Signal::CSignal commit;
|
||||||
Hyprutils::Signal::CSignal state;
|
Hyprutils::Signal::CSignal state;
|
||||||
} events;
|
} events;
|
||||||
};
|
};
|
||||||
|
|
|
@ -443,6 +443,8 @@ bool Aquamarine::CWaylandOutput::commit() {
|
||||||
|
|
||||||
readyForFrameCallback = true;
|
readyForFrameCallback = true;
|
||||||
|
|
||||||
|
events.commit.emit();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue