baseview icon indicating copy to clipboard operation
baseview copied to clipboard

defer certain events on macOS to avoid re-entrant calls

Open httnn opened this issue 1 month ago • 1 comments

previously, calling window.focus() would cause a crash in some scenarios, because certain members of WindowState were borrowed mutably while already being borrowed. this PR fixes the issue by deferring window focus events to be triggered before calling WindowHandler:on_frame().

httnn avatar May 10 '24 10:05 httnn