@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user