[PATCH v2 weston] xdg-shell: handle clients launched in fullscreen

Bill Spitzak spitzak at gmail.com
Fri Sep 5 17:53:39 PDT 2014


I would think the same decision should be made for clients that are not 
fullscreen.

Actually it does look like this is discussed on 
http://lists.freedesktop.org/archives/wayland-devel/2014-May/014568.html

Nobody really has a good idea what the rules should be, but everbody 
does seem to think that fullscreen, maximized, and normal clients would 
obey the same rules.

So could this output choosing be applied to all surfaces, not just 
fullscreen ones?

On 09/05/2014 02:12 AM, Pekka Paalanen wrote:
> On Tue,  2 Sep 2014 11:35:12 +0200
> Marek Chalupa <mchqwerty at gmail.com> wrote:
>
>> When client is lauched in fullscreen, it is placed on the
>> first output, because it is not mapped and
>> shell_surface_set_output() therefore sets default output.
>>
>> Since we have no better way how to position newly created windows,
>> (http://lists.freedesktop.org/archives/wayland-devel/2014-May/thread.html#14568)
>> set the output to the one that has currently focus. Priority has
>> the touch focus, then pointer and then keyboard focus.
>>
>> This fixes bug
>> https://bugs.freedesktop.org/show_bug.cgi?id=69780


More information about the wayland-devel mailing list