Merge lp://qastaging/~vanvugt/mir/fix-cursor-naming into lp://qastaging/mir
Proposed by
Daniel van Vugt
Status: | Merged |
---|---|
Approved by: | Daniel van Vugt |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3770 |
Proposed branch: | lp://qastaging/~vanvugt/mir/fix-cursor-naming |
Merge into: | lp://qastaging/mir |
Diff against target: |
480 lines (+185/-182) 3 files modified
include/client/mir_toolkit/cursors.h (+4/-2) src/client/mir_cursor_api.cpp (+16/-15) src/server/input/default-theme.h (+165/-165) |
To merge this branch: | bzr merge lp://qastaging/~vanvugt/mir/fix-cursor-naming |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mir CI Bot | continuous-integration | Approve | |
Cemil Azizoglu (community) | Approve | ||
Alexandros Frantzis (community) | Approve | ||
Alan Griffiths | Approve | ||
Review via email:
|
Commit message
Switch to using CSS cursor names, as found in web design and GTK3.
These names seem to be the most modern, most complete and least ambiguous
of the naming schemes out there.
This fixes LP: #1632617 and LP: #1626924, as well as providing a solid
foundation for fixing other cursor bugs like LP: #1632614 and LP: #1388987
in future.
Description of the change
Please ignore the giant diff in default-theme.h. That's a bzr bug. If you use the 'diff' command you will see just the names are changing and not the image data.
To post a comment you must log in.
+/* XXX Deprecate this header? Tell people to just use CSS cursor names. */
I don't see any harm in sharing the constants, but I agree these names are not clear.
Maybe introduce a better set of names and provided the old ones as aliases?