Fire sessionavailable if in transient mode

This commit is contained in:
Paul Rouget 2020-07-20 12:05:55 +02:00
parent 5f31dbf993
commit b42d441732
3 changed files with 11 additions and 3 deletions

View file

@ -407,7 +407,7 @@ void ServoControl::Loop() {
ServoDelegate *sd = static_cast<ServoDelegate *>(this);
EGLNativeWindowType win = GetNativeWindow();
mServo = std::make_unique<Servo>(mInitUrl, mArgs, mPanelWidth, mPanelHeight,
win, mDPI, *sd);
win, mDPI, *sd, mTransient);
} else {
// FIXME: this will fail since create_task didn't pick the thread
// where Servo was running initially.