Commit Graph

25 Commits

Author SHA1 Message Date
744ca07799
wind: Show memory usage in debug output 2023-08-28 12:51:16 +02:00
8f0356700c
wind: Handle ftruncate() and mmap() errors properly 2023-08-28 12:51:16 +02:00
dad573f1fe
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-28 12:51:16 +02:00
11d47c3982
wind: Add debug keybind 2023-08-28 12:51:16 +02:00
2eb973ca2b
wind+libos+libui: Handle interrupted reads properly 2023-08-28 12:51:16 +02:00
09cb378a7a
wind+libui+taskbar: Add GetScreenRect IPC, non-decorated windows, taskbar 2023-08-28 12:51:15 +02:00
9c30641587
ui+wind: Send mouse move events through IPC 2023-08-28 12:51:15 +02:00
75b3e78d34
wind+libui: Add protocol for window close requests 2023-08-28 12:51:15 +02:00
d801fe6bb8
libos+libui+wind: Use uppercase for static struct IDs to avoid confusion with fields 2023-08-28 12:51:14 +02:00
36cc66c2e9
wind+gclient: Add SetWindowTitle and support shm buffers 2023-08-28 12:51:14 +02:00
c6bff6f8b4
wind: Handle CreateWindow IPC messages 2023-08-28 12:51:14 +02:00
7aaa05ded6
wind: Monitor data on client connections 2023-08-28 12:51:14 +02:00
2192399ca2
wind: Use init --user and pledge() 2023-08-28 12:51:13 +02:00
baab157431
libos: Remove some shared pointers and change them to owned/live on the stack 2023-08-28 12:51:00 +02:00
0fcc5b9a5e
wind: Spawn a new client process after startup
Also, create the socket after dropping privileges.
2023-08-28 12:51:00 +02:00
790d9d119b
libui+wind: Move some static variables inside functions 2023-08-28 12:50:59 +02:00
554a8ee300
wind: Generate random windows on keypresses 2023-08-28 12:50:59 +02:00
1caf80bde2
wind: Make sure windows have a minimum size to fit the titlebar 2023-08-28 12:50:59 +02:00
432a5c27cb
wind: Render an actual TGA mouse cursor 2023-08-28 12:50:59 +02:00
8e01e2cd77
wind: Add a close button to windows using a TGA icon 2023-08-28 12:50:59 +02:00
a7c4e8900c
wind: Add window titlebars using ui::Font 2023-08-28 12:50:58 +02:00
b49d9d55b7
wind: Reorder drag sequence 2023-08-28 12:49:45 +02:00
39296773d2
libui+wind: (Draggable) windows 2023-08-28 12:49:45 +02:00
d328c722f0
wind: Create a local server object 2023-08-28 12:49:45 +02:00
57a05b73f3
wind: Add a simple display server skeleton using libui
No client functionality yet, but it's a start.
2023-08-28 12:49:09 +02:00