summaryrefslogtreecommitdiff
path: root/tests/button-test.c
diff options
context:
space:
mode:
authorMarek Chalupa <mchqwerty@gmail.com>2014-09-02 11:35:12 +0200
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2014-09-05 12:10:12 +0300
commit052917aa2aa4f4e1a82d5316911a162c37af7bdc (patch)
treee55459f5770ac5f96e1f84ca8ebfebbc58adf990 /tests/button-test.c
parent086b987be4b530a3ff45ec20b265844b6b4aca0e (diff)
downloadweston-052917aa2aa4f4e1a82d5316911a162c37af7bdc.tar.gz
xdg-shell: handle clients launched in fullscreen
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 Signed-off-by: Marek Chalupa <mchqwerty@gmail.com> Tested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'tests/button-test.c')
0 files changed, 0 insertions, 0 deletions