Fix user-driven fullscreen change on macOS.

This commit is contained in:
John Preston 2024-11-19 12:25:27 +04:00
parent bd2ae03ab4
commit 0659ccc3f0
2 changed files with 6 additions and 1 deletions

View file

@ -394,6 +394,11 @@ Panel::Panel(Args &&args)
sendContentSafeArea();
}, _widget->lifetime());
_widget->fullScreenValue(
) | rpl::start_with_next([=](bool fullscreen) {
_fullscreen = fullscreen;
}, _widget->lifetime());
_widget->closeRequests(
) | rpl::start_with_next([=] {
if (_closeNeedConfirmation) {

@ -1 +1 @@
Subproject commit 46c18e2c7e730c6304e8d813be4d5abc6fb364ad
Subproject commit 716986e75b3abc3329f75346aeff9062a58bf98f