Event JSON
{
"id": "7a940c3cbcb1ebf5f380645ca0b9982b7ae3db20f8fff726667d0cf7760ef621",
"pubkey": "8c721af217b54a71df3db9ffb2f0afe53aeeb3f721efa1853b5cfd591303270a",
"created_at": 1718624532,
"kind": 1,
"tags": [
[
"e",
"18848391698e73b96cb69e4a9965a327ad931424ac43c3652877f53f3916fc31",
"",
"reply"
],
[
"e",
"7b0faec9b02a9432ca14c351f642bb4f6ac0fe88b5370670661e9192b4c98804",
"",
"root"
],
[
"t",
"niri"
],
[
"p",
"65b73a52a4a9d56435bf9b3a4fd9c93ac39ad9aa56a1001a8d1c54661c5cb5f5"
],
[
"t",
"smithay"
],
[
"imeta",
"url https://files.mastodon.online/media_attachments/files/112/631/773/930/747/856/original/0327313ae75dde1d.mp4",
"m video/mp4"
],
[
"p",
"8c721af217b54a71df3db9ffb2f0afe53aeeb3f721efa1853b5cfd591303270a"
],
[
"proxy",
"https://mastodon.online/@YaLTeR/112631777381259306",
"web"
],
[
"p",
"33709c149157d0b647f3f6be8db68c5bd675e641cd40f55ce2fe9a1e16d7705b"
],
[
"proxy",
"https://mastodon.online/users/YaLTeR/statuses/112631777381259306",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.online/users/YaLTeR/statuses/112631777381259306",
"pink.momostr"
]
],
"content": "Over the past few weeks I've been working on fractional scaling for niri. A simple implementation took about a day, but to do it *properly* I had to refactor the entire layout code to work in floating-point.\n\nThe result is well worth it though. Borders, gaps and windows are always physical-pixel aligned, and not restricted to integer logical pixel positions. There's no blur or position-dependent +-1 px jank. Fractional-scale-aware clients remain crisp at any scale.\n\n#niri #smithay\nhttps://files.mastodon.online/media_attachments/files/112/631/773/930/747/856/original/0327313ae75dde1d.mp4\n",
"sig": "38744cedb55333397e373c6fc2880f7946a0b3ccda7088db150fe7e8b1ac77f7ee4eda45776b4b60b9964b2148d87defcdf836d209dd66bbe88188128837266a"
}