Commit Graph

25 Commits

Author SHA1 Message Date
7a93b15a02
wind: Show memory usage in debug output 2023-09-04 12:16:54 +02:00
de15730db5
wind: Handle ftruncate() and mmap() errors properly 2023-09-04 12:16:54 +02:00
1774eadd60
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-04 12:16:54 +02:00
09ac7b0730
wind: Add debug keybind 2023-09-04 12:16:53 +02:00
077a42c15c
wind+libos+libui: Handle interrupted reads properly 2023-09-04 12:16:53 +02:00
c8edb55eb2
wind+libui+taskbar: Add GetScreenRect IPC, non-decorated windows, taskbar 2023-09-04 12:16:52 +02:00
ccd5551450
ui+wind: Send mouse move events through IPC 2023-09-04 12:16:52 +02:00
51b9acac31
wind+libui: Add protocol for window close requests 2023-09-04 12:16:51 +02:00
d7d18c7c31
libos+libui+wind: Use uppercase for static struct IDs to avoid confusion with fields 2023-09-04 12:16:51 +02:00
87a54a6187
wind+gclient: Add SetWindowTitle and support shm buffers 2023-09-04 12:16:51 +02:00
5b875bc12a
wind: Handle CreateWindow IPC messages 2023-09-04 12:16:51 +02:00
0629719975
wind: Monitor data on client connections 2023-09-04 12:16:50 +02:00
0aaac192d8
wind: Use init --user and pledge() 2023-09-04 12:16:49 +02:00
8e2def7d88
libos: Remove some shared pointers and change them to owned/live on the stack 2023-09-04 12:16:49 +02:00
bfa5ce4c00
wind: Spawn a new client process after startup
Also, create the socket after dropping privileges.
2023-09-04 12:16:49 +02:00
1c4f2dfb15
libui+wind: Move some static variables inside functions 2023-09-04 12:16:48 +02:00
7066a976c3
wind: Generate random windows on keypresses 2023-09-04 12:16:48 +02:00
3442ae0bdb
wind: Make sure windows have a minimum size to fit the titlebar 2023-09-04 12:16:48 +02:00
0fcd984c21
wind: Render an actual TGA mouse cursor 2023-09-04 12:16:47 +02:00
3755d4c0a3
wind: Add a close button to windows using a TGA icon 2023-09-04 12:16:47 +02:00
739b05ab67
wind: Add window titlebars using ui::Font 2023-09-04 12:16:47 +02:00
f90634e1b1
wind: Reorder drag sequence 2023-09-04 12:16:46 +02:00
4933e1e32c
libui+wind: (Draggable) windows 2023-09-04 12:16:45 +02:00
2a22b751e9
wind: Create a local server object 2023-09-04 12:16:45 +02:00
c17f6d0e57
wind: Add a simple display server skeleton using libui
No client functionality yet, but it's a start.
2023-09-04 12:16:44 +02:00