As far as I can tell my code looks the same as Weston's code. What might I be
doing differently that results in the windows not returning to their original
position?
Regards
adlo
> On 25 Sep 2018, at 04:41, adlo wrote:
>
> Here is some more code that I forgot to include:
>
> static void
>
Here is some more code that I forgot to include:
static void
unset_maximized(struct ShellSurface *shsurf)
{
struct weston_surface *surface =
weston_desktop_surface_get_surface(shsurf-
>desktop_surface);
if (shsurf->saved_position_valid)
weston_view_
I am writing a compositor using libweston. When unmaximizing a window,
the window doesn't return to the position it was at before it was
maximized. How can I resolve this?
Here is my code:
static void
set_maximized_position (struct ShellSurface *shsurf)
{
pixman_rectangle32_t area;