diff options
| author | Pierre Ossman <ossman@cendio.se> | 2014-10-20 15:14:12 +0000 |
|---|---|---|
| committer | Pierre Ossman <ossman@cendio.se> | 2014-10-20 15:14:12 +0000 |
| commit | 8592cddcfdd57c21014e1146239776ed78fd9fb4 (patch) | |
| tree | 8378362c0144f7aac53c4b88467da91808dd7e58 | |
| parent | 92ff2e30bc595fb470d3d78bed9578a7376550a3 (diff) | |
We need to put the newly created window in our window list
as quickly as possible or we might miss important window
messages.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10387 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/Fl_win32.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 0872981f5..df86652d2 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -1911,6 +1911,9 @@ Fl_X* Fl_X::make(Fl_Window* w) { ); if (lab) free(lab); + x->next = Fl_X::first; + Fl_X::first = x; + x->set_icons(); if (w->fullscreen_active()) { @@ -1925,9 +1928,6 @@ Fl_X* Fl_X::make(Fl_Window* w) { rect.right - rect.left, rect.bottom - rect.top); } - x->next = Fl_X::first; - Fl_X::first = x; - // Setup clipboard monitor target if there are registered handlers and // no window is targeted. if (!fl_clipboard_notify_empty() && clipboard_wnd == NULL) |
