Commit Graph

27 Commits

Author SHA1 Message Date
072793ce43
libui+wind: Handle mouse leave events when the mouse leaves a window 2023-09-10 18:55:46 +02:00
ffc7274272
wind: Stop using the removed 'signal' pledge 2023-09-10 18:55:46 +02:00
f79515ed00
wind: Show memory usage in debug output 2023-09-10 18:55:45 +02:00
7d4d797d01
wind: Handle ftruncate() and mmap() errors properly 2023-09-10 18:55:45 +02:00
c7c7d7b751
wind: Fix client references being out-of-date in windows when disconnecting other clients
Classic "keeping a pointer to an element inside a vector after the vector is updated" bug, ah yes.
2023-09-10 18:55:45 +02:00
a3751d9ce5
wind: Add debug keybind 2023-09-10 18:55:45 +02:00
869bbbe122
wind+libos+libui: Handle interrupted reads properly 2023-09-10 18:55:45 +02:00
815c2321a1
wind+libui+taskbar: Add GetScreenRect IPC, non-decorated windows, taskbar 2023-09-10 18:55:44 +02:00
0000bdaac5
ui+wind: Send mouse move events through IPC 2023-09-10 18:55:44 +02:00
b870cd1f8b
wind+libui: Add protocol for window close requests 2023-09-10 18:55:44 +02:00
21da3c7bda
libos+libui+wind: Use uppercase for static struct IDs to avoid confusion with fields 2023-09-10 18:55:43 +02:00
ec61bdbfc5
wind+gclient: Add SetWindowTitle and support shm buffers 2023-09-10 18:55:43 +02:00
af78427228
wind: Handle CreateWindow IPC messages 2023-09-10 18:55:43 +02:00
f4cd33a94a
wind: Monitor data on client connections 2023-09-10 18:55:42 +02:00
faaea22d11
wind: Use init --user and pledge() 2023-09-10 18:55:42 +02:00
7570724525
libos: Remove some shared pointers and change them to owned/live on the stack 2023-09-10 18:55:42 +02:00
e21b7d645d
wind: Spawn a new client process after startup
Also, create the socket after dropping privileges.
2023-09-10 18:55:42 +02:00
37332b2a67
libui+wind: Move some static variables inside functions 2023-09-10 18:55:41 +02:00
01cf9735eb
wind: Generate random windows on keypresses 2023-09-10 18:55:41 +02:00
fc35c32671
wind: Make sure windows have a minimum size to fit the titlebar 2023-09-10 18:55:41 +02:00
d23df0672c
wind: Render an actual TGA mouse cursor 2023-09-10 18:55:40 +02:00
8cc882b4e2
wind: Add a close button to windows using a TGA icon 2023-09-10 18:55:40 +02:00
c66330d319
wind: Add window titlebars using ui::Font 2023-09-10 18:55:40 +02:00
9c1e85dbdd
wind: Reorder drag sequence 2023-09-10 18:55:39 +02:00
731601cc13
libui+wind: (Draggable) windows 2023-09-10 18:55:39 +02:00
d43f33e289
wind: Create a local server object 2023-09-10 18:55:39 +02:00
ef26e7400e
wind: Add a simple display server skeleton using libui
No client functionality yet, but it's a start.
2023-09-10 18:55:38 +02:00