summaryrefslogtreecommitdiff
path: root/src/platform/cocoa/desktop.m
diff options
context:
space:
mode:
authorBerke Güzel <wenekar1@gmail.com>2026-10-16 14:29:14 +0300
committerBerke Güzel <wenekar1@gmail.com>2026-10-16 14:29:14 +0300
commit65a5a2f6ffc6f67ffa3d5ee62b3c8979b4c35b7a (patch)
tree8121b7df3506aa955165328522274f8e2b368e21 /src/platform/cocoa/desktop.m
parent4b1559a81fe904d66c23d59946ab8b5a2cb3614f (diff)
Report the current geometry in WINDOW eventsHEADmain
During a macOS live resize, the refresh callback ran with the new size while its WINDOW event stayed queued until the drag ended. wsap_term sizes its grid from WINDOW events, so the grid kept its old size until the mouse was released. Every intermediate size then replayed in a burst, since queued resizes were never folded. A WINDOW event now reports the surface's current geometry, so resizes queued while the application was away fold into one, and a size it already has reports nothing. The refresh callback documents that yasl_surface_get_info is current inside it and that one WINDOW event follows once the system's loop returns. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'src/platform/cocoa/desktop.m')
0 files changed, 0 insertions, 0 deletions