What is Nostr?
zirias (on snac) /
npub18je…uypq
2024-10-07 19:03:15
in reply to nevent1q…3rqn

zirias (on snac) on Nostr: Only slightly related: #fvwm gave me another thing to consider with its "pages" that ...

Only slightly related: #fvwm gave me another thing to consider with its "pages" that aren't virtual desktops (which fvwm can also handle), but an automatically managed larger viewport instead. I just added a commit implementing "bring to the current fvwm page", by looking at the window's position and comparing that to the size of the screen 🤔 ...
https://github.com/Zirias/xmoji/commit/a3a041af7d41f901b8e795ccb93e8380f03da873
(Thomas Adam (npub1vyl…4af2) does that look somewhat sane to you?)

Overall lots of stuff to do (some of that using the magical pager forces 😏) when a secondary instance is started:
- map window (to leave iconic state if necessary)
- determine current virtual desktop, move window there (pager-force!)
- raise window with EWMH-request (pager-force!)
- just in case (no EWMH or not correctly working), raise it again with a "normal" configure request
- check window tree to find top-level window (assuming a reparenting WM)
- check position of that, adjust it if "off screen"

puh ... 🙈
Author Public Key
npub18jert674ht8vkxndnav3h332veq04t5qdtcdekn7sdj3q8cddvsqsduypq