From 440f374001b877bb114d72c5ff896b1640a02ab6 Mon Sep 17 00:00:00 2001 From: hashirama Date: Sun, 9 Nov 2025 07:14:30 +0000 Subject: [PATCH] window needs to be "realized" only after atoms getting set works now. --- atomPropertyGDKx11.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/atomPropertyGDKx11.hs b/atomPropertyGDKx11.hs index f7b90bd..c18ff00 100644 --- a/atomPropertyGDKx11.hs +++ b/atomPropertyGDKx11.hs @@ -30,7 +30,7 @@ main = do , #decorated := False ] - #realize win + Gtk.windowSetDefaultSize win 400 100 @@ -66,7 +66,8 @@ main = do pure () -- <--- important: SourceFunc expects IO Bool return False -- just indicate mainContextInvokeFull call succeeded - + + #realize win Gtk.widgetShow win void $ applicationRun app Nothing