Relative Content

Tag Archive for wayland

Add extra workspaces on Hyprland

I’ve been configuring Hyprland for my Debian Sid laptop for a few days and I haven’t been able to add additional workspaces like I did on BSPWM and i3wm. I usually have at least 6 extra workspaces assigned to Super + F1 through F6. I’m using the original configuration and adding features from the dotfiles featured in hyprland.org and Reddit.

how to dump framebuffer from wayland client?

is it possible to dump a screenshot of the wayland client after drawing?
I am studying the Weston example, https://github.com/krh/weston/blob/master/clients/simple-egl.c
I wonder if it is possible to access the memory of the wl_shm then copy it via mmap?

Attaching None to a surface influences surface configuration

my application creates a popup which at some point needs to be closed and then reappear again. I tried to implement it by attaching a buffer to the surface after which I attach a none to the surface and then finally attach the same buffer as before. The issue is that when I re attach the buffer I get this error layer_surface has never been configured I scrolled trough the docs a little but did find anything which describes this behavior. Did I misunderstand something or is this possible a bug?

Attaching None to a surface influences surface configuration. Wayland

my application creates a popup which at some point needs to be closed and then reappear again. I tried to implement it by attaching a buffer to the surface after which I attach a none to the surface and then finally attach the same buffer as before. The issue is that when I re attach the buffer I get this error layer_surface has never been configured I scrolled trough the docs a little but did find anything which describes this behavior. Did I misunderstand something or is this possible a bug?

How do I identify which display has my mouse cursor on wayland?

I’m trying to create a popup on the screen were my mouse cursor is located but I’m not entirely sure of how do I identify which WlOutput has the mouse cursor on it. Can anyone link me relevant pages in the docs on this topic because I browsed trough it and didn’t seem to find anything related to it.
P.S. If the answer will include grabbing the mouse with WlSeat then is it normal that my Bluetooth mouse does not show up as a WlSeat?