summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Fl_win32.cxx6
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)