[PATCH wayland] server: Make serial number 0 mean invalid
Bill Spitzak
spitzak at gmail.com
Thu Oct 1 13:25:23 PDT 2015
On Thu, Oct 1, 2015 at 12:59 PM, Jasper St. Pierre <jstpierre at mecheye.net>
wrote:
> For the present case, present_with_event will support focus-stealing
> prevention if the serial is garbage or not up to date, whereas present
> should always steal focus.
>
> The garbage serial and don't-have-a-serial cases are different, so I
> believe we should have two different methods in that case for
> different behavior.
>
That is an ok reason, although I really did not expect it. I certainly
figured that focus-stealing would be true ALWAYS, and therefore the garbage
version and no-event version were identical.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20151001/ffdfc3ba/attachment.html>
More information about the wayland-devel
mailing list