Skip to content

fix: Check virtual device for QInputEvent#645

Merged
zccrs merged 1 commit intovioken:multi-seatfrom
Dami-star:multi-seat
Aug 14, 2025
Merged

fix: Check virtual device for QInputEvent#645
zccrs merged 1 commit intovioken:multi-seatfrom
Dami-star:multi-seat

Conversation

@Dami-star
Copy link
Collaborator

Qt will create virtual device for QInputEvent when no physical device available (e.g. switched to another VT), which will leads to a failed assertion and make treeland crash. This commit applies a special guarded getter for such case.

check from linuxdeepin/treeland/pull/466

Qt will create virtual device for QInputEvent when no physical device
available (e.g. switched to another VT), which will leads to a failed
assertion and make treeland crash. This commit applies a special guarded
getter for such case.

check from linuxdeepin/treeland/pull/466
@Dami-star Dami-star requested review from wineee and zccrs August 14, 2025 13:03
@zccrs zccrs merged commit 3869bc6 into vioken:multi-seat Aug 14, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants