Fix defaults

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-08-10 12:24:43 +03:00
parent ad0d09ebd2
commit 025ee9da91
7 changed files with 363 additions and 18 deletions

View File

@@ -26,13 +26,13 @@
#include <wlr/types/wlr_subcompositor.h>
#include <wlr/types/wlr_xdg_shell.h>
#include <wlr/util/log.h>
#include <wlr/xwayland/xwayland.h>
#include <raylib.h>
#include <raymath.h>
#include <rlgl.h>
#include "Config.h"
#include "common.h"
struct LunarWM;
@@ -48,6 +48,8 @@ typedef struct {
} LunarWM_Keyboard;
typedef struct {
uint32_t id;
struct LunarWM *server;
struct wl_listener commit;
@@ -68,6 +70,7 @@ bool LunarWM_Toplevel_init(
bool LunarWM_Toplevel_destroy(LunarWM_Toplevel *this);
bool LunarWM_Toplevel_update(LunarWM_Toplevel *this);
void LunarWM_Toplevel_focus(LunarWM_Toplevel *this);
typedef struct {
XrSwapchain swapchain;
@@ -125,7 +128,10 @@ typedef struct LunarWM {
struct wlr_cursor *cursor;
struct wlr_xwayland *xwayland;
LunarWM_Toplevel **v_toplevels;
int current_focus;
} wayland;
struct {
@@ -156,7 +162,10 @@ typedef struct LunarWM {
struct {
GLuint fbo;
RenderTexture2D tmp_rt;
RenderTexture2D hud_rt;
Camera3D camera;
Vector3 center;
} renderer;
ConfigManager *cman;