- Started setting up a thread safe window manager
- Created thread & atomic structures
This commit is contained in:
@@ -177,9 +177,8 @@ void wayland_server::dispatch() {
|
||||
}
|
||||
}
|
||||
|
||||
window* wayland_server::create_window(const window::config& conf) {
|
||||
size_t id = windows.insert(new wayland_window(this, windows.next_id(), conf));
|
||||
return windows[id];
|
||||
window* wayland_server::create_window(const window::config& conf, window* parent) {
|
||||
return new wayland_window(this, conf, parent);
|
||||
}
|
||||
|
||||
void wayland_server::_wl_registry_listen_global(void* data, wl_registry* reg, uint32_t id, const char* name, uint32_t version) {
|
||||
|
||||
Reference in New Issue
Block a user