Skip to content

Rely on drop order#360

Open
madsmtm wants to merge 1 commit intomasterfrom
madsmtm/drop-order
Open

Rely on drop order#360
madsmtm wants to merge 1 commit intomasterfrom
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
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