RE: Problem with mmap keyboard.

2023-10-04 Thread Fred vS
Sorry for that double post. It was already solved by Emmanuel. Fre;D De : wayland-devel de la part de Fred vS Envoyé : mercredi 4 octobre 2023 20:14 À : wayland-devel@lists.freedesktop.org Objet : Problem with mmap keyboard. Hello. I try to make work

Problem with mmap keyboard.

2023-10-04 Thread Fred vS
Hello. I try to make work the "Keyboard event" step from the Wayland-book but the C demo crash at loading. The problem comes from the mapping: with that error: Line 301: wl_keyboard_keymap: Assertion map_shm != MAP_FAILED' failed. Here is the function: static void wl_keyboard_keymap(void

RE: Problem with mmap keyboard.

2023-10-04 Thread Fred vS
ctobre 2023 20:44 À : wayland-devel@lists.freedesktop.org Objet : RE: Problem with mmap keyboard. Ho, many thanks Emmanuel. I will deeply study your mail. By the way, I am busy to translate all the "steps" demos of the Wayland-book into Pascal: https://github.com/fredvs/wayland-pascal

RE: Problem with mmap keyboard.

2023-10-04 Thread Fred vS
-devel@lists.freedesktop.org Objet : Re: Problem with mmap keyboard. On Wed, Oct 04, 2023 at 06:19:30PM +, Fred vS wrote: > Hello. Hi, > > > I try to make work the "Keyboard event" step from the Wayland-book but the C > demo crash at loading. > > The problem come

Re: Problem with mmap keyboard.

2023-10-04 Thread Emmanuel Gil Peyrot
On Wed, Oct 04, 2023 at 06:19:30PM +, Fred vS wrote: > Hello. Hi, > > > I try to make work the "Keyboard event" step from the Wayland-book but the C > demo crash at loading. > > The problem comes from the mapping: with that error: > > > Line 301: wl_keyboard_keymap: Assertion map_shm

Problem with mmap keyboard.

2023-10-04 Thread Fred vS
Hello. I try to make work the "Keyboard event" step from the Wayland-book but the C demo crash at loading. The problem comes from the mapping: with that error: Line 301: wl_keyboard_keymap: Assertion map_shm != MAP_FAILED' failed. Here is the function: static void wl_keyboard_keymap(void