Announce MGRX v1.5.1 with improved Wayland support

Mariano malfer at telefonica.net
Tue Jun 25 18:38:19 UTC 2024


Hi Hans

El 24/6/24 a las 11:41, Hans de Goede escribió:
> Hi Mariano,
>
> On 6/19/24 5:15 PM, Mariano wrote:
>> Hi everybody
>>
>> MGRX is a small 2D graphics C library derived from the GRX library. GRX was originaly written by Csaba Biegl for DJ Delorie's DOS port of the GCC compiler.
>>
>> MGRX supports DOS, Win32, Linux framebuffer, Linux KMS/DRM, Linux X11 and Linux Wayland since the previous version.
>>
>> The Wayland videodriver was new in MGRX version 1.5.0 and must be considered in beta stage. Only the i386 and x86_64 platforms are tested.
>>
>> In this version I have improved the Wayland driver:
>>
>>    - We use the XDG_decoration protocol, if available, to ask for server side window decoration.
>>      it works nicely in KDE. Unfortunately Gnome doesn't support it, so we don't have decorations  there.
>>      I know is a controversial subject here.
> You can use libdecor to add client-side decorations on compositors which don't support server
> side decorations:
>
> https://gitlab.freedesktop.org/libdecor/libdecor
>
> This is what SDL uses to decorate SDL windows under GNOME.
Thanks for the suggestion

I've been looking at it, it's a big dependency for a small library like 
MGRX, I'll think about it, maybe look for a simpler solution, or wait 
for gnome to support XDG-decoration (difficult, I know).

Regards
Mariano
> Regards,
>
> Hans
>
>
>>    - We generate now autorepeat keys, because Wayland expect the client to do it.
>>    - The compose keys work, thanks to functions in libxkbcommon.
>>    - The clipboard interact with the Wayland clipboard, using the core protocols.
>>
>> If someone wants to made it a try, it will be welcome.
>>
>> Website:
>> http://fgrim.com/mgrx/index.html
>> Github:
>> https://github.com/malfer/mgrx
>>
>> Regards
>> Mariano Alvarez
>>



More information about the wayland-devel mailing list