canonical / canonical/mir

`compositor::Compositor` should allow recompositing request without stop/start

Open
#2,811 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
787
Forks
141
Avg merge
5d 37m
Merged PRs (30d)
41

Description

This is the latest example, but there are others in the surrounding code:
```c++
else if (configuration_changes_require_recompositing(*existing_configuration, *conf))
{
// Workaround for #2807: we could do better if Compositor had a `schedule_compositing(damage)` method
ApplyNowAndRevertOnScopeExit comp{
[this] { compositor->stop(); },
[this] { compositor->start(); }};
}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the surrounding configuration_changes_require_recompositing path and the compositor->stop()/start() workaround shown in the issue. Read the compositor::Compositor entry points and determine how a schedule_compositing(damage) request could replace the restart; done means recompositing can be requested without stopping and starting the compositor.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.