FLTK logo

[fltk.coredev] Wayland libdecor interoperability between FLTK and GLFW

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 ]

Wayland libdecor interoperability between FLTK and GLFW Gonzalo Garramuño 08:44 Apr 12  
  I am giving a go once again to Wayland.  I currently use FLTK 1.4 with GLFW which used to work fine, but now I am finding a conflict with libdecor.  FLTK is run first and later on GLFW it is inited with its context set to Wayland.

The error line that fails in GLFW is:

842            _glfw.wl.libdecor.context = libdecor_new(_glfw.wl.display, &libdecorInterface);
(gdb) n
error marshalling arguments for (null) (signature done): null value passed for arg 0
Error marshalling request: Invalid argument

I am guessing that:

1) FLTK uses its own libdecor.
2) GLFW, OTOH, uses and expects the system libdecor.

This is creating a conflict.  Is there a way to have FLTK use the system libdecor?  I've tried:

-DFLTK_USE_SYSTEM_LIBDECOR=1
-DUSE_SYSTEM_LIBDECOR=1

with no avail.  FLTK always reports it is using the built-in libdecor.

--
Gonzalo Garramuño
ggarra13@gmail.com

--
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/1e01c34b-2d99-455a-bef8-a8cf26255f61%40gmail.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'.