1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 23:20:59 +00:00
serenity/Libraries
Andreas Kling a7f414bba7 LibGUI+WindowServer: Start fleshing out drag&drop functionality
This patch enables basic drag&drop between applications.
You initiate a drag by creating a GDragOperation object and calling
exec() on it. This creates a nested event loop in the calling program
that only returns once the drag operation has ended.

On the receiving side, you get a call to GWidget::drop_event() with
a GDropEvent containing information about the dropped data.

The only data passed right now is a piece of text that's also used
to visually indicate that a drag is happening (by showing the text in
a little box that follows the mouse cursor around.)

There are things to fix here, but we're off to a nice start. :^)
2019-12-08 16:50:23 +01:00
..
LibAudio LibAudio: Install library and headers 2019-12-08 11:40:30 +01:00
LibC LibPthread: Implement simple thread-specific keys 2019-12-07 15:21:18 +01:00
LibCore SystemMonitor: Show thread name instead of process name 2019-12-08 14:09:29 +01:00
LibDraw LibDraw: Remove convenience functions for the old WindowServer IPC 2019-12-02 11:11:05 +01:00
LibELF Kernel: Demangle kernel C++ symbols correctly again 2019-11-29 14:59:15 +01:00
LibGUI LibGUI+WindowServer: Start fleshing out drag&drop functionality 2019-12-08 16:50:23 +01:00
LibHTML LibHTML: Allow resource loads to fail 2019-11-30 11:58:47 +01:00
LibIPC LibIPC: Install libipc.a into /usr/lib 2019-12-07 14:52:27 +01:00
LibM LibC, LibM: Add functions needed to compile python3 2019-11-11 22:04:16 +01:00
LibMarkdown LibMarkdown: Handle CRLF line endings 2019-12-02 13:52:42 +01:00
LibPCIDB POSIX compliance: (most) shell scripts converted to generic shell 2019-11-03 09:26:22 +01:00
LibProtocol LibIPC: Get client/server PIDs using getsockopt(SO_PEERCRED) 2019-12-06 18:39:59 +01:00
LibPthread LibPThread: Add pthread_set/getname_np 2019-12-08 14:09:29 +01:00
LibThread LibThread: Allow setting thread name in constructor 2019-12-08 14:09:29 +01:00
LibVT LibVT: Fixed some debugging code that didn't compile 2019-12-01 11:52:17 +01:00