dialogs are off to the bottom right
on the devkit using phoc dialogs are shifted ~20 pixels to the bottom right cutting of parts of the screen. issue is that chatty sends off the wrong window geometry:
[594947.987] -> xdg_surface@28.set_window_geometry(0, 0, 372, 648)
[594965.340] -> xdg_surface@28.set_window_geometry(0, 0, 372, 648)
[594981.024] -> xdg_surface@28.set_window_geometry(0, 0, 372, 648)
[595017.967] -> xdg_surface@28.set_window_geometry(0, 0, 372, 648)
[595030.439] -> xdg_surface@28.set_window_geometry(0, 0, 372, 648)
[595079.977] -> xdg_surface@37.set_window_geometry(26, 23, 360, 623)
[595082.347] -> xdg_surface@28.set_window_geometry(0, 0, 372, 648)
[595110.059] -> xdg_surface@28.set_window_geometry(0, 0, 372, 648)
[595156.630] -> xdg_surface@37.set_window_geometry(26, 23, 360, 623)
[595180.466] -> xdg_surface@28.set_window_geometry(0, 0, 372, 648)
[595182.376] -> xdg_surface@37.set_window_geometry(26, 23, 360, 623)
[595206.294] -> xdg_surface@28.set_window_geometry(0, 0, 372, 648)
[595208.098] -> xdg_surface@37.set_window_geometry(26, 23, 360, 623)
[595227.813] -> xdg_surface@28.set_window_geometry(0, 0, 372, 648)
[595229.768] -> xdg_surface@37.set_window_geometry(26, 23, 360, 623)
[595261.301] -> xdg_surface@28.set_window_geometry(0, 0, 372, 648)
[595263.329] -> xdg_surface@37.set_window_geometry(26, 23, 360, 623)
[595295.278] -> xdg_surface@28.set_window_geometry(0, 0, 372, 648)
[595297.794] -> xdg_surface@37.set_window_geometry(26, 23, 360, 623)
@28 is the main window while @37 is the new chat window. I tried to tweak this with dialog gravity
and window_position
but that didn't change a thing. Is chatty doing anything with these besides in chatty-dialogs.c?
We will likely have to work around this in the compositor but we made phoc not auto maximize surfaces with parents to give applications more control over the dialog size.