Re: xfwm4-wayland: use wlr-scene API

2023-04-04 Thread adlo
If I use my View struct (src/wayland/view.h), everything is fine. But if I try to copy the contents of the View struct into the Client struct (src/client.h) and use the Client struct to hold data about my view instead of the View struct, so every instance of View is replaced with Client, my comp

Re: xfwm4-wayland: use wlr-scene API

2023-04-04 Thread adlo
Correction: the View struct is in src/wayland/output.h, not view.h > On 4 Apr 2023, at 08:07, adlo wrote: > > If I use my View struct (src/wayland/view.h), everything is fine. But if I > try to copy the contents of the View struct into the Client struct > (src/client.h) and use the Client str

[ANNOUNCE] wayland 1.22.0

2023-04-04 Thread Simon Ser
This is the official release for Wayland 1.22. This new release adds explicit events for the preferred buffer scale and transform, adds an event to indicate the pointer's physical scroll direction, adds a few new convenience functions, and includes various spec clarifications and bug fixes. Commi

Wayland client, cleanup on exit

2023-04-04 Thread Guillermo Rodriguez
Hi all, Is it necessary to explicitly clean up and release any resources before exit in a Wayland client? Does that happen automatically if the process simply exits (in the same way that other resources such as memory or fds are automatically released) ? Thank you, Guillermo

Re: Wayland client, cleanup on exit

2023-04-04 Thread Simon Ser
Hi, On Tuesday, April 4th, 2023 at 12:16, Guillermo Rodriguez wrote: > Is it necessary to explicitly clean up and release any resources > before exit in a Wayland client? Does that happen automatically if > the process simply exits (in the same way that other resources such > as memory or fds a

Re: Wayland client, cleanup on exit

2023-04-04 Thread Guillermo Rodriguez Garcia
Hello, El mar, 4 abr 2023 a las 12:33, Simon Ser () escribió: > Hi, > > On Tuesday, April 4th, 2023 at 12:16, Guillermo Rodriguez < > guillerodriguez@gmail.com> wrote: > > > Is it necessary to explicitly clean up and release any resources > > before exit in a Wayland client? Does that happen

Re: Wayland client, cleanup on exit

2023-04-04 Thread Simon Ser
On Tuesday, April 4th, 2023 at 12:46, Guillermo Rodriguez Garcia wrote: > One further question: before posting this here, I was trying to verify > this by myself, and was wondering whether there is some sort of tool > that can be used to monitor resources currently in use in a Wayland > server.

Re: Wayland client, cleanup on exit

2023-04-04 Thread Guillermo Rodriguez
El mar, 4 abr 2023 a las 12:53, Simon Ser () escribió: > On Tuesday, April 4th, 2023 at 12:46, Guillermo Rodriguez Garcia < > guille.rodrig...@gmail.com> wrote: > > > One further question: before posting this here, I was trying to verify > > this by myself, and was wondering whether there is some

Re: Wayland client, cleanup on exit

2023-04-04 Thread Simon Ser
On Tuesday, April 4th, 2023 at 13:26, Guillermo Rodriguez wrote: > Out of curiosity, for objects that are only released when a client > disconnects (such as wl_registry), how does the Wayland server know > how to release this if the client does not disconnect explicitly. in > other words how is

Re: Wayland client, cleanup on exit

2023-04-04 Thread Guillermo Rodriguez
El mar, 4 abr 2023 a las 13:28, Simon Ser () escribió: > On Tuesday, April 4th, 2023 at 13:26, Guillermo Rodriguez < > guillerodriguez@gmail.com> wrote: > > > Out of curiosity, for objects that are only released when a client > > disconnects (such as wl_registry), how does the Wayland server k