[Merge] lp:~artmello/qtubuntu/qtubuntu-new_mir_api into lp:qtubuntu

Arthur Mello arthur.mello at canonical.com
Tue Feb 7 17:41:37 UTC 2017


> If we have to work around Mir in this way, then Mir has a problem. Is Mir
> really missing a non-deprecated API for this?

While searching on how to replace mir_cursor_configuration_from_name, I saw that it was possible to use mir_window_spec_set_cursor_name passing a pointer for MirWindowSpec and a name. I was not totally sure on how to get MirWindowSpec from the window on that point. Looking for examples, found the used code here on a mir acceptance-test [0]. But I am totally up to change it and do not use this workaround.

[0] http://bazaar.launchpad.net/~mir-team/mir/development-branch/view/head:/tests/acceptance-tests/test_client_cursor_api.cpp#L223

-- 
https://code.launchpad.net/~artmello/qtubuntu/qtubuntu-new_mir_api/+merge/316577
Your team Ubuntu Phablet Team is subscribed to branch lp:qtubuntu.



More information about the Ubuntu-reviews mailing list