Kernel/Userspace: Replace my custom SHM system with SysV shm

This allows xbanan to use shm!
This commit is contained in:
2026-08-08 01:52:12 +03:00
parent 2c4fee4a82
commit fc40820150
23 changed files with 327 additions and 225 deletions
+2 -2
View File
@@ -42,7 +42,7 @@ public:
}
int client_fd() const { return m_client_fd; }
long smo_key() const { return m_smo_key; }
int shmid() const { return m_shmid; }
int32_t client_x() const { return m_client_area.min_x; }
int32_t client_y() const { return m_client_area.min_y; }
@@ -113,7 +113,7 @@ private:
Rectangle m_client_area { 0, 0, 0, 0 };
Rectangle m_min_size { 0, 0, m_title_bar_height, 0 };
Rectangle m_max_size { 0, 0, 10'000, 10'000 };
long m_smo_key { 0 };
int m_shmid { -1 };
uint32_t* m_fb_addr { nullptr };
BAN::String m_title;