Merge lp:~brandontschaefer/mir/usr-mir-window-placement into lp:mir
Proposed by
Brandon Schaefer
Status: | Merged |
---|---|
Merged at revision: | 3922 |
Proposed branch: | lp:~brandontschaefer/mir/usr-mir-window-placement |
Merge into: | lp:mir |
Prerequisite: | lp:~brandontschaefer/mir/use-mir-window-output-event |
Diff against target: |
203 lines (+84/-12) 7 files modified
include/client/mir/event_printer.h (+1/-1) include/client/mir_toolkit/events/event.h (+14/-2) include/client/mir_toolkit/events/window_placement.h (+46/-0) src/client/event.cpp (+12/-1) src/client/event_printer.cpp (+3/-3) src/client/symbols.map (+2/-0) tests/acceptance-tests/test_custom_window_management.cpp (+6/-5) |
To merge this branch: | bzr merge lp:~brandontschaefer/mir/usr-mir-window-placement |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mir CI Bot | continuous-integration | Needs Fixing | |
Cemil Azizoglu (community) | Needs Fixing | ||
Review via email: mp+314477@code.launchpad.net |
This proposal supersedes a proposal from 2017-01-10.
Commit message
Use MirWindowPlacem
Description of the change
Use MirWindowPlacem
To post a comment you must log in.
36 MirSurfacePlace mentEvent const* mir_event_ get_surface_ placement_ event(MirEvent const* event);
37
Forgot to follow 'deprecated' in a comment as a reminder. ------- ------- ------- ------- ------- ------- ------
-------
71 + * Authored by: Alan Griffiths <email address hidden>
72
your name should be added? ------- ------- ------- ------- ------- ------- ------
-------
87 +typedef struct MirSurfacePlace mentEvent MirWindowPlacem entEvent;
88 +
Must not be typedef'ed again... Just include the right file where it was originally typedefed. ------- ------- ------- ------- ------- ------- ------
-------
132 -MirRectangle mir_surface_ placement_ get_relative_ position( MirSurfacePlace mentEvent const* event) MIR_HANDLE_ EVENT_EXCEPTION ( placement_ get_relative_ position( MirWindowPlacem entEvent const* event) MIR_HANDLE_ EVENT_EXCEPTION (
133 +MirRectangle mir_window_
Must not replace the old function. Just call the new function from the old