[PATCH] xdg-shell: update shsurf->output when maximizing

Bill Spitzak spitzak at gmail.com
Mon Sep 8 11:08:23 PDT 2014


I'm probably being stupid, but I still can't figure out how it chooses 
the output for a NON-maximized surface. I would think that should use 
exactly the same algorithm as maximized does here?

On 09/08/2014 03:34 AM, Marek Chalupa wrote:
> shsurf->output is the output that user expects the shell surface
> is on. When maximizing, we don't have any explicit setting of the output
> like in the case of fullscreening, so set the output to the one that
> the surface is currently on. In the case that the surface is not mapped yet,
> (if it ever happens) use the same heuristics as for fullscreening.


More information about the wayland-devel mailing list