Re: xfway: added support for alt-tab switcher

Gaël Bonithon <[email protected]> Thu, 25 Aug 2022 08:18:19 +0000
Newsgroups gmane.comp.desktop.xfce.devel.version4
Message-ID <cjZ2d6AlnhJCcUK_r6xswBf0pl2yC_6glXxpK9coIs3eEf2TNilOIriFEs-4v3o5ELFDCX3QR5q4aS7exVR1erDZ9ADAAlJZ0cmqwBUl-QU=@protonmail.com>
You're right, if I uninstall wlroots-git it builds well. But I shouldn't need to do that.

`meson build` says:
  Run-time dependency wlroots found: YES 0.15.1

So it should then fetch its headers from /usr (where wlroots 0.15.1 is) and not from /usr/local (where wlroots-git >= 0.16 is).
Isn't there something missing in meson.build?
I don't know meson very well, but with autotools this kind of configuration is not a problem (as long as the right package is found at configure time).

Cheers,
Gaël

------- Original Message -------
On Wednesday, August 24th, 2022 at 9:23 PM, adlo <[email protected]> wrote:


> > On 24 Aug 2022, at 08:44, Gaël Bonithon [email protected] wrote:
> > 
> > > What error is it giving you?
> > 
> > [75/91] Compiling C object src/wayland/compositor/hopalong.p/hopalong-xdg.c.o
> > [...]
> > ../src/wayland/compositor/hopalong-xdg.c:386:29: error: too few arguments to function 'wlr_xdg_shell_create'
> > 386 | server->xdg_shell = wlr_xdg_shell_create(server->display);
> > [...]
> > [76/91] Compiling C object src/wayland/compositor/hopalong.p/hopalong-cursor.c.o
> > [...]
> > ../src/wayland/compositor/hopalong-cursor.c: In function 'cursor_motion':
> > ../src/wayland/compositor/hopalong-cursor.c:140:46: error: invalid use of undefined type 'struct wlr_event_pointer_motion'
> > 140 | wlr_cursor_move(server->cursor, event->device, event->delta_x, event->delta_y);
> > [...]
> > [77/91] Compiling C object src/wayland/compositor/hopalong.p/hopalong-seat.c.o
> > [...]
> > ../src/wayland/compositor/hopalong-seat.c:59:85: error: 'struct wlr_input_device' has no member named 'keyboard'
> > 59 | wlr_seat_keyboard_notify_modifiers(keyboard->server->seat, &keyboard->device->keyboard->modifiers);
> > 
> > Both with Wlroots 0.15.1 and with Wlroots-git.
> 
> 
> You say you get this error with wlroots 0.15.1?
> 
> Looking at it these error messages would seem to suggest that you're compiling against a wlroots version later than 0.15?
> 
> Regards
> adlo
_______________________________________________
Xfce4-dev mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-dev