From f1bb57dd3182004440fc2c8ae4b2b2139ebb5eb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Tue, 7 Apr 2015 16:42:27 +0800 Subject: [PATCH] xdg-shell: Specify fullscreen size-mismatch handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We cannot rely on the client to provide a surface filling the output so we must specify what happens with the outputs area that is not covered completely. Signed-off-by: Jonas Ã…dahl Reviewed-by: Bryce Harrington Reviewed-by: Pekka Paalanen --- protocol/xdg-shell.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/protocol/xdg-shell.xml b/protocol/xdg-shell.xml index 85aa7486..1629bd00 100644 --- a/protocol/xdg-shell.xml +++ b/protocol/xdg-shell.xml @@ -403,6 +403,10 @@ You can specify an output that you would prefer to be fullscreen. If this value is NULL, it's up to the compositor to choose which display will be used to map this surface. + + If the surface doesn't cover the whole output, the compositor will + position the surface in the center of the output and compensate with + black borders filling the rest of the output.