34
launch_settings.cap
Normal file
34
launch_settings.cap
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"rdocCaptureSettings": 1,
|
||||||
|
"settings": {
|
||||||
|
"autoStart": false,
|
||||||
|
"commandLine": "",
|
||||||
|
"environment": [
|
||||||
|
{
|
||||||
|
"separator": "Platform style",
|
||||||
|
"type": "Set",
|
||||||
|
"value": "1",
|
||||||
|
"variable": "LWM_NO_XR"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"executable": "/home/lain/Documents/projs/lunarwm/build/LunarWM",
|
||||||
|
"inject": false,
|
||||||
|
"numQueuedFrames": 0,
|
||||||
|
"options": {
|
||||||
|
"allowFullscreen": true,
|
||||||
|
"allowVSync": true,
|
||||||
|
"apiValidation": false,
|
||||||
|
"captureAllCmdLists": false,
|
||||||
|
"captureCallstacks": false,
|
||||||
|
"captureCallstacksOnlyDraws": false,
|
||||||
|
"debugOutputMute": true,
|
||||||
|
"delayForDebugger": 0,
|
||||||
|
"hookIntoChildren": false,
|
||||||
|
"refAllResources": false,
|
||||||
|
"softMemoryLimit": 0,
|
||||||
|
"verifyBufferAccess": false
|
||||||
|
},
|
||||||
|
"queuedFrameCap": 0,
|
||||||
|
"workingDir": "/home/lain/Documents/projs/lunarwm"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -43,7 +43,8 @@ struct SurfaceDamageListener {
|
|||||||
struct wl_listener destroy;
|
struct wl_listener destroy;
|
||||||
};
|
};
|
||||||
|
|
||||||
static void surface_damage_client_commit(struct wl_listener *listener, void *data)
|
static void surface_damage_client_commit(
|
||||||
|
struct wl_listener *listener, void *data)
|
||||||
{
|
{
|
||||||
(void)listener;
|
(void)listener;
|
||||||
struct wlr_surface *surface = data;
|
struct wlr_surface *surface = data;
|
||||||
@@ -59,9 +60,9 @@ static void surface_damage_client_commit(struct wl_listener *listener, void *dat
|
|||||||
}
|
}
|
||||||
|
|
||||||
int surface_width = surface->pending.width > 0 ? surface->pending.width
|
int surface_width = surface->pending.width > 0 ? surface->pending.width
|
||||||
: surface->current.width;
|
: surface->current.width;
|
||||||
int surface_height = surface->pending.height > 0 ? surface->pending.height
|
int surface_height = surface->pending.height > 0 ? surface->pending.height
|
||||||
: surface->current.height;
|
: surface->current.height;
|
||||||
int buffer_width = surface->pending.buffer_width > 0
|
int buffer_width = surface->pending.buffer_width > 0
|
||||||
? surface->pending.buffer_width
|
? surface->pending.buffer_width
|
||||||
: surface->current.buffer_width;
|
: surface->current.buffer_width;
|
||||||
@@ -1864,7 +1865,6 @@ bool LunarWM_wayland_init(LunarWM *this)
|
|||||||
wl_signal_add(&this->wayland.compositor->events.new_surface,
|
wl_signal_add(&this->wayland.compositor->events.new_surface,
|
||||||
&this->wayland.new_surface_listener);
|
&this->wayland.new_surface_listener);
|
||||||
|
|
||||||
|
|
||||||
this->wayland.subcompositor
|
this->wayland.subcompositor
|
||||||
= wlr_subcompositor_create(this->wayland.display);
|
= wlr_subcompositor_create(this->wayland.display);
|
||||||
if (!this->wayland.subcompositor) {
|
if (!this->wayland.subcompositor) {
|
||||||
|
|||||||
Reference in New Issue
Block a user