summaryrefslogtreecommitdiff
path: root/src/Fl_win32.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-03-18 16:59:48 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-03-18 16:59:48 +0100
commitc2a4e2ca5cd8a1b47240390affd43a85d51bef64 (patch)
tree0fac530883b6f9cb36fd7a3766361e77b4959bec /src/Fl_win32.cxx
parentd4efb77660fb80e208595a2d14207849dd14c103 (diff)
Fix "Inconsistent FL_FULLSCREEN when creating full-screen window" (#1225)
The commit has all platforms send the FL_FULLSCREEN event when a window is created fullscreen.
Diffstat (limited to 'src/Fl_win32.cxx')
-rw-r--r--src/Fl_win32.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx
index 960638887..d7681c96d 100644
--- a/src/Fl_win32.cxx
+++ b/src/Fl_win32.cxx
@@ -2342,6 +2342,8 @@ void Fl_WinAPI_Window_Driver::makeWindow() {
if (!im_enabled)
flImmAssociateContextEx((HWND)x->xid, 0, 0);
+
+ if (w->fullscreen_active()) Fl::handle(FL_FULLSCREEN, w);
}