xfway: added support for alt-tab switcher

Gaël Bonithon trash.paradise at protonmail.com
Wed Aug 24 09:44:13 CEST 2022


Hi adlo,

> The executable is currently called "hopalong".

Oh sorry, I got stuck on xfwm4-wayland-shell. I think I tried hopalong at the very beginning and it didn't work for some reason, so I settled on xfwm4-wayland-shell and stuck with that, maybe because the name is more evocative.

So I'm able to run this compositor now (whatever it's called :)), with the executable I managed to build earlier.

I tried to run the panel quickly and there are some issues with motion events (partly of this type [1]), grab handling and placement of the panel on different outputs, but maybe this is partly fixed in the latest version. So I'd have to build it first.

> 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.

Cheers,
Gaël

--
[1] https://github.com/labwc/labwc/issues/483

------- Original Message -------
On Tuesday, August 23rd, 2022 at 8:38 PM, adlo <adloconwy at gmail.com> wrote:


> > On 20 Aug 2022, at 21:50, Gaël Bonithon trash.paradise at protonmail.com wrote:
> > 
> > @adlo: Could you give some indications on how to launch your compositor? When I try to launch it in a tty, I get a warning "cannot open display". I tried some values for DISPLAY, but without result.
> 
> 
> The executable is currently called "hopalong".
> 
> It also needs to be installed in order to work.
> 
> So, compile it like so:
> 
> meson build
> ninja -C build
> ninja -C build install
> 
> Then run it using the following command:
> 
> hopalong
> 
> > I used an executable that I had built from commit ff5b18818, because the last commit b84f8fa doesn't build for me (we can see that in PM if you want).
> 
> 
> What error is it giving you?
> 
> Regards
> adlo


More information about the Xfce4-dev mailing list