I am developing an application in C++ with the gui frameworks ImGUI.
My ImGUI backend is GLFW.
I need to create a drag end drop system (between my app and others) for my app but for what I've been reading, GLFW only support drop events from external applications but not drag output event (or I missed it ?).
I'm on Linux (ubuntu 20.4) and so I decided to implement this with Xlib directly.
But, I have no clue where to start.
-
- Where is the official documentation for XLib ? (edit : found it)
-
- I've seen a tutorial which explained how to create windows etc. but no information on the drag n drop system
-
- My openGL window is created with GLFW, so is it even possible to create a drag output system from it ?
Something important here: my question is not about how to detect a drag event from the mouse. It's really about how to put data in the drag n drop system of Xlib.
Thank you in advance for your time.