libmir-server needs API for initializing server instance
Bug #1122386 reported by
Robert Carr
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Alan Griffiths |
Bug Description
Currently we have some code in main.cpp related to initializing the mir instance (setting required signal handlers, parsing options, etc...).
In order to enable shells to utilize libmir-server in a uniform way, we should probably provide some API like:
mir::DisplaySer
mir::DisplaySer
Related branches
lp:~alan-griffiths/mir/reuse-run_mir
- Kevin DuBois (community): Approve
- Alexandros Frantzis (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Alan Griffiths: Abstain
-
Diff: 613 lines (+73/-142)15 files modifiedexamples/render_surfaces.cpp (+3/-22)
include/server/mir/run_mir.h (+12/-2)
include/server/mir/signal_dispatcher.h (+4/-4)
include/test/mir_test_framework/testing_process_manager.h (+0/-2)
include/test/mir_test_framework/testing_server_configuration.h (+1/-1)
src/server/CMakeLists.txt (+2/-1)
src/server/main.cpp (+1/-1)
src/server/run_mir.cpp (+11/-10)
src/server/signal_dispatcher.cpp (+17/-18)
tests/integration-tests/input/test_configuring_input_manager.cpp (+1/-1)
tests/integration-tests/process/test_signal_dispatcher.cpp (+4/-12)
tests/integration-tests/test_surfaceloop.cpp (+11/-13)
tests/mir_test_framework/CMakeLists.txt (+0/-1)
tests/mir_test_framework/testing_process_manager.cpp (+5/-53)
tests/mir_test_framework/testing_server_options.cpp (+1/-1)
Changed in mir: | |
status: | New → Triaged |
importance: | Undecided → Medium |
information type: | Proprietary → Public |
Changed in mir: | |
milestone: | none → 0.0.3 |
Changed in mir: | |
assignee: | nobody → Alan Griffiths (alan-griffiths) |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The qt-poc branch contains a DisplayServerIn stance class and example usage in src/main.cpp and src/demo- shell/demo_ shell_main. cpp .