Skip to content

Rely on drop order#360

Merged
madsmtm merged 1 commit into
masterfrom
madsmtm/drop-order
May 19, 2026
Merged

Rely on drop order#360
madsmtm merged 1 commit into
masterfrom
madsmtm/drop-order

Conversation

@madsmtm
Copy link
Copy Markdown
Member

@madsmtm madsmtm commented Apr 22, 2026

Certain fields must be dropped before the source window/display is dropped. Before, this was done using Option<T>, which is a bit annoying, and it also wasn't handled properly (e.g. WaylandDisplayImpl also has to be dropped after the WlSurface).

Tested on:

  • Wayland (tier 1)
  • XCB / Xlib (tier 1)

Certain fields must be dropped before the source window/display is
dropped. Before, this was done using `Option<T>`, which is a bit
annoying, and it also wasn't handled properly (e.g. `WaylandDisplayImpl`
also has to be dropped after the `WlSurface`).
@madsmtm madsmtm requested a review from ids1024 as a code owner April 22, 2026 18:39
@madsmtm madsmtm added DS - Wayland DS - X11 Xlib / Xcb backend labels Apr 22, 2026
@madsmtm madsmtm merged commit e9dafc8 into master May 19, 2026
40 checks passed
@madsmtm madsmtm deleted the madsmtm/drop-order branch May 19, 2026 22:28
@madsmtm madsmtm added this to the v0.5 milestone May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DS - Wayland DS - X11 Xlib / Xcb backend

Development

Successfully merging this pull request may close these issues.

1 participant