compositor: do not request repaint in output_enable

When enabling a weston_output, the compositor damages the entire output,
to ensure that the entire output is redrawn. However, this triggers a
repaint, which might happen before anything is actually drawn. The
result is a black frame before the shell is displayed.

Damage the entire output region, but do not trigger the repaint when
enabling a weston_output.

Signed-off-by: Michael Tretter <>
2 jobs for skip-repaint-on-output-enable in 1 minute and 28 seconds (queued for 1 second)
Status Job ID Name Coverage
  Container Prep
passed #350354


failed #350355


Name Stage Failure
build-native-meson Build
Full log written to /builds/m.tretter/weston/build-weston-a8af729ae7c09af1d84a25c7e739ccc0ae065d6f-350355/meson-logs/testlog.txt
FAILED: meson-test
/root/.local/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed.
Uploading artifacts...
build-*/meson-logs: found 5 matching files
prefix-*: found 191 matching files

Uploading artifacts to coordinator... ok
id=350355 responseStatus=201 Created token=-FDhaTBf
ERROR: Job failed: exit code 1