Event JSON
{
"id": "175a3d033d7d2da2dfb5660f92e8db59f2348668cb61fe04d4abb7d396ec7a6d",
"pubkey": "e08ca29c7b1366058315c15296abb1b596d0e8084ba94ffc96c6a366e0af04b8",
"created_at": 1752278707,
"kind": 1,
"tags": [
[
"imeta",
"url https://mastodon.falktx.com/system/media_attachments/files/000/083/327/original/5f19c6319dd70ba6.png",
"m image/png"
],
[
"proxy",
"https://mastodon.falktx.com/@falktx/114837337359141994",
"web"
],
[
"proxy",
"https://mastodon.falktx.com/users/falktx/statuses/114837337359141994",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.falktx.com/users/falktx/statuses/114837337359141994",
"pink.momostr"
],
[
"-"
]
],
"content": "Got gtk4 client-side window decoration size details dynamically now - https://github.com/falkTX/wayland-audio-plugin-test/blob/51b301ef46fc9d20d96716a3ce1c5589b66344cf/gtk4-host.c#L31-L62\n\nNo need for super hacky \"render window offline and then fetch position based on pixels\", instead it is just:\n1. create dummy window\n2. fetch its initial size (200x200 on my laptop)\n3. add a title bar\n4. get title bar size and updated window size\n5. x,y offsets are (new size - old size) / 2\n\npicture shows this working nicely, I have an intentional 20px padding around the yellow rectangle\nhttps://mastodon.falktx.com/system/media_attachments/files/000/083/327/original/5f19c6319dd70ba6.png\n",
"sig": "c4fdcfa825f647fa666c6cfa701c9de8ce3d9a9e5317f1f79f24692fd7b5a70f30a9a66c6a28f5483511c7eda4218f1a2cbf06456edfb70d6e5678aa3e991a62"
}