Commit Graph

25 Commits

Author SHA1 Message Date
db9b9c53e9
wind: Show memory usage in debug output 2023-08-22 11:54:23 +02:00
a5217a1401
wind: Handle ftruncate() and mmap() errors properly 2023-08-22 11:54:22 +02:00
86e6e7aea5
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-08-22 11:54:22 +02:00
62673876fb
wind: Add debug keybind 2023-08-22 11:54:22 +02:00
ca2fb9e442
wind+libos+libui: Handle interrupted reads properly 2023-08-22 11:54:22 +02:00
bfbe166679
wind+libui+taskbar: Add GetScreenRect IPC, non-decorated windows, taskbar 2023-08-22 11:54:21 +02:00
526af76d51
ui+wind: Send mouse move events through IPC 2023-08-22 11:54:20 +02:00
c6a67d9361
wind+libui: Add protocol for window close requests 2023-08-22 11:54:20 +02:00
610e3c9c80
libos+libui+wind: Use uppercase for static struct IDs to avoid confusion with fields 2023-08-22 11:54:20 +02:00
ec50a03f1b
wind+gclient: Add SetWindowTitle and support shm buffers 2023-08-22 11:54:20 +02:00
570b9464c6
wind: Handle CreateWindow IPC messages 2023-08-22 11:54:19 +02:00
63c8f4131f
wind: Monitor data on client connections 2023-08-22 11:54:19 +02:00
a281a35806
wind: Use init --user and pledge() 2023-08-22 11:54:18 +02:00
4da16c1eaa
libos: Remove some shared pointers and change them to owned/live on the stack 2023-08-22 11:54:18 +02:00
e6ef86e620
wind: Spawn a new client process after startup
Also, create the socket after dropping privileges.
2023-08-22 11:54:18 +02:00
897ef6f91d
libui+wind: Move some static variables inside functions 2023-08-22 11:54:17 +02:00
290f391ea9
wind: Generate random windows on keypresses 2023-08-22 11:54:17 +02:00
708b408861
wind: Make sure windows have a minimum size to fit the titlebar 2023-08-22 11:54:16 +02:00
9a47d84313
wind: Render an actual TGA mouse cursor 2023-08-22 11:54:16 +02:00
593e37a0f4
wind: Add a close button to windows using a TGA icon 2023-08-22 11:54:16 +02:00
ec5fad5b21
wind: Add window titlebars using ui::Font 2023-08-22 11:54:15 +02:00
1302e3dc12
wind: Reorder drag sequence 2023-08-22 11:54:14 +02:00
f3e73b241e
libui+wind: (Draggable) windows 2023-08-22 11:54:13 +02:00
505551e349
wind: Create a local server object 2023-08-22 11:54:13 +02:00
221fa360b3
wind: Add a simple display server skeleton using libui
No client functionality yet, but it's a start.
2023-08-22 11:54:12 +02:00