Le lundi 10 janvier 2022 à 18:27:16 UTC+1, Albrecht Schlosser a
écrit :
Here are my first results (I'll continue testing later).
I tested on Ubuntu 20.04 with Wayland desktop.
(1) The window title fonts are way too large (obviously in
CSD mode). Can we reduce the font size?
As I wrote before, I would prefer not to modify libdecor
because it's packaged in recent distros.
I understand and I agree. It's at least good as a start.
But, libdecor is constructed as a host for plugins which
draw titlebars :
"It aims to provide multiple backends that implement the
decoration drawing."
Only one plugin I know of exists now, libdecor-cairo, which
hardcodes the fontsize used for window titles.
But, other libdecor plugins might appear in the future.
How complicated would it be to ...
(a) write everything needed directly in FLTK as Bill suggested
(IIRC) ?
(b) write a plugin for libdecor if that's easier than (a) ?
Don't understand me wrong, it's only a question.
Theoretically I would prefer to use (a) rather than relying on
libdecor if (when) we need to use client-side decorations and we
don't need to care anyway on platforms that use server-side
decorations.
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.