mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-29 17:55:45 +01:00
Reviewer finding on the forwarded-keys work: the area appended every float's leftover events and kept only the last window's modifiers, so a host that reads two floats in one pass could not interpret the first window's events. A clipboard event carries no modifiers of its own. `DockAreaOutput::window_events` now holds one `WindowEvents` per floating OS window that left any, in the order the windows were drawn: the panel the area names the window by, the modifiers held in that window, and its events. `forwarded_events` and `forwarded_modifiers` are derived from those batches, so a host with one floating window reads them as before. Regression: two native floats, one holding Shift and one bare, forward a paste each in one pass; the batches keep their own modifiers whichever window holds what.