mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix user-driven fullscreen change on macOS.
This commit is contained in:
parent
bd2ae03ab4
commit
0659ccc3f0
2 changed files with 6 additions and 1 deletions
|
@ -394,6 +394,11 @@ Panel::Panel(Args &&args)
|
||||||
sendContentSafeArea();
|
sendContentSafeArea();
|
||||||
}, _widget->lifetime());
|
}, _widget->lifetime());
|
||||||
|
|
||||||
|
_widget->fullScreenValue(
|
||||||
|
) | rpl::start_with_next([=](bool fullscreen) {
|
||||||
|
_fullscreen = fullscreen;
|
||||||
|
}, _widget->lifetime());
|
||||||
|
|
||||||
_widget->closeRequests(
|
_widget->closeRequests(
|
||||||
) | rpl::start_with_next([=] {
|
) | rpl::start_with_next([=] {
|
||||||
if (_closeNeedConfirmation) {
|
if (_closeNeedConfirmation) {
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 46c18e2c7e730c6304e8d813be4d5abc6fb364ad
|
Subproject commit 716986e75b3abc3329f75346aeff9062a58bf98f
|
Loading…
Add table
Reference in a new issue