// SpeedBreaker tests. GPL-3.0-or-later (see COPYING). // // Settings > Display > Fullscreen against the window's own state // (video/fullscreen_policy.h): a change the system makes (the green button, // Window > Enter Full Screen, a window manager, a macOS fullscreen Space that // fails to open at launch) never changes the saved setting; the menu does, // and puts the window in that state. The optional argument is // runtime/video/presenter.cpp: its window events must not write the setting. // // Build by hand: c++ -std=c++20 -O2 -I runtime tests/fullscreen_policy_test.cpp #include