[PATCH weston 01/10] Use fullscreen-shell.xml from wayland-protocols

Jonas Ådahl jadahl at gmail.com
Fri Nov 6 00:31:38 PST 2015


On Fri, Nov 06, 2015 at 10:24:21AM +0200, Pekka Paalanen wrote:
> On Fri, 6 Nov 2015 10:51:09 +0800
> Jonas Ådahl <jadahl at gmail.com> wrote:
> 
> > On Thu, Nov 05, 2015 at 11:46:46AM -0800, Bryce Harrington wrote:
> > > On Wed, Nov 04, 2015 at 04:49:50PM +0800, Jonas Ådahl wrote:
> > > > Use the fullscreen-shell protocol XML from the wayland-protocols
> > > > installation, and remove the one we provide ourself.
> > > > 
> > > > Signed-off-by: Jonas Ådahl <jadahl at gmail.com>
> > > >
> > > > diff --git a/clients/fullscreen.c b/clients/fullscreen.c
> > > > index 4fcca3d..be316d0 100644
> > > > --- a/clients/fullscreen.c
> > > > +++ b/clients/fullscreen.c
> > > > @@ -35,7 +35,7 @@
> > > >  #include <linux/input.h>
> > > >  #include <wayland-client.h>
> > > >  #include "window.h"
> > > > -#include "fullscreen-shell-client-protocol.h"
> > > > +#include "fullscreen-shell-unstable-v1-client-protocol.h"
> > > 
> > > Angle brackets should be used here and elsewhere, since with this change
> > > the header file now is located externally from the system rather than
> > > being locally present in the codebase.
> > > 
> > >   #include <fullscreen-shell-unstable-v1-client-protocol.h>
> > 
> > Good point.
> 
> Is it, really?

Gah, mind blurb. Yes, of course.


Jonas

> 
> These headers will not be found installed in the system, ever. They
> will always be generated locally in the Weston build tree during the
> build, the same way we used to do it without wayland-protocols repo.
> 
> wayland-protocols package is only ever meant to install XML files, not
> headers.
> 
> 
> Thanks,
> pq




More information about the wayland-devel mailing list