mir_window_spec_set_cursor_render_surface does not work
Bug #1679836 reported by
Alberto Aguirre
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Alberto Aguirre |
Bug Description
To set a custom cursor, mir_window_
Related branches
lp://staging/~albaguirre/mir/fix-1679836
- Mir CI Bot: Approve (continuous-integration)
- Brandon Schaefer (community): Approve
-
Diff: 83 lines (+36/-8)3 files modifiedsrc/server/frontend/session_mediator.cpp (+3/-8)
tests/acceptance-tests/test_client_cursor_api.cpp (+31/-0)
tests/include/mir/test/doubles/mock_buffer_stream.h (+2/-0)
tags: | added: clientapi cursor |
Changed in mir: | |
milestone: | 0.28.0 → 0.27.0 |
no longer affects: | mir/0.27 |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
There's no acceptance tests associated with mir_window_ spec_set_ cursor_ render_ surface.
The root cause is mf::SessionMedi ator::modify_ surface should call stream- >suitable_ for_cursor instead of trying to check the pixel format itself.