FLTK logo

Re: [fltk.coredev] Towards a Wayland platform for the FLTK library ?

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Towards a Wayland platform for the FLTK library ? "W. B." Jun 11, 2021  
  As I'm one of the few who asked for Wayland support - this makes me VERY happy :) - thank you!

I tried it - looking good so far.
The only little problem I had with building it was with the libdecor library, only had to change one line to get there:

libdecor/build/Makefile, lines 28 and 29

original:
[code]
cursor-settings.o : ../src/cursor-settings.c
$(CC) $(CFLAGS)  -c ../src/cursor-settings.c -DHAS_DBUS -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include 
[/code]

changed to:
[code]
cursor-settings.o : ../src/cursor-settings.c
$(CC) $(CFLAGS)  -c ../src/cursor-settings.c -DHAS_DBUS -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include 
[/code]

it's on archlinux, but would apply to manjaro etc also... the only file thats in there is "dbus-arch-deps.h". and arch has also the same file in /usr/lib64/dbus-1.0 also... for whatever reason...

hint:
[code]
pkg-config --cflags dbus-1
[/code]



Albrecht Schlosser schrieb am Freitag, 11. Juni 2021 um 14:02:07 UTC+2:
On 6/10/21 10:07 AM Manolo wrote:
Le mercredi 9 juin 2021 à 15:42:24 UTC+2, Manolo a écrit :
Do you know how to configure the keyboard layout with Weston?

FTR: one solution, for my situation, is to create this file with this content
$HOME/.config/weston.ini
===============
[keyboard]
keymap_layout=fr(mac)
===============

I tried this too, but it didn't have any effect on my keyboard layout. I was able to switch my keyboard with the system keyboard setup to "French" and this affected the keypresses in Weston.

Regarding test/keyboard: display of Fl::event_key(): I just fixed a display error which has been missed since we moved to UTF-8. It does not manifest in Xft configuration in the master and 1.3 branches, but can be seen when configured with Pango (master and/or wayland):




This has been fixed in master, commit 986a8b33a2. Now keypresses in the full latin1 (ISO-8859-1) range are displayed correctly.

You can either rebase the wayland branch on upstream/master or use

  git fetch upstream          # (or whatever your FLTK remote repo is called)
  git cherry-pick 986a8b33a2


to pull this single commit into the wayland branch. In a later rebase this commit will be skipped.

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/6abe5d07-8d1f-4588-88a5-28db4fac14a3n%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.