swayfx/sway/desktop
Dominique Martinet c9be014557 xdg_shell: make view floating if a parent has been set
Prompts e.g. authentication request from firefox-wayland ought to be
floating.

This is a bit coarse but just fixed size is not enough, here is what
firefox does:
[1285461.363]  -> xdg_wm_base@18.get_xdg_surface(new id xdg_surface@68, wl_surface@71)
[1285461.508]  -> xdg_surface@68.get_toplevel(new id xdg_toplevel@67)
[1285461.571]  -> xdg_toplevel@67.set_parent(xdg_toplevel@37)
[1285461.630]  -> xdg_toplevel@67.set_title("Authentication Required")
[1285461.736]  -> xdg_toplevel@67.set_app_id("firefox")
...
[1285476.549] xdg_toplevel@67.configure(0, 0, array)
...
[1285502.080]  -> xdg_toplevel@67.set_min_size(299, 187)
[1285502.140]  -> xdg_toplevel@67.set_max_size(1920, 32767)

This can also be observed with e.g. the open window of gedit
(gedit->open->other documents)
2018-06-26 12:02:50 +09:00
..
desktop.c Revert "Break everything^W^WUse wlr_box for sway_container" 2018-04-06 16:13:26 -04:00
layer_shell.c Address emersions comments on output re-enabling 2018-06-06 20:11:24 -04:00
output.c Update for swaywm/wlroots#1060 2018-06-16 13:32:23 -04:00
xdg_shell.c xdg_shell: make view floating if a parent has been set 2018-06-26 12:02:50 +09:00
xdg_shell_v6.c xdg_shell: make view floating if a parent has been set 2018-06-26 12:02:50 +09:00
xwayland.c Don't restore focus if unmapping surface wasn't focused 2018-06-04 13:31:09 +10:00