Terra Brown

Results 33 comments of Terra Brown

That's essentially it, yes. A convenience method for detecting this from `XSCREENSAVER_WINDOW` could be written, but it's not necessary. Edit: or in the way `vroot.h` does it, which is xlib...

XScreenSaver's APIs require you to use the window it provides. This allows it to render into a preview window, and to manage locking/unlocking.

That sounds great if you can do that, yeah!

It would appear that `XSCREENSAVER_WINDOW` is in `0x...` literal format. Not sure what the bit depth is, but that's probably a standard X thing. I will investigate the lock/unlock signals...

No worries! This was really just a side project idea I had, so we can close it if there isn't any necessity for this feature.

Is the work in https://github.com/notti/nocgo at all relevant? It seems they're using `//go:cgo_import_dynamic` to load in `libdl.so.2` without actually using cgo.

https://developer.apple.com/library/archive/documentation/Performance/Conceptual/power_efficiency_guidelines_osx/PrioritizeWorkAtTheAppLevel.html Looks like the relevant API here :)

What is the intended behaviour here? Exit fullscreen and maximize? Or do nothing?

Ah, so the Maximized state is not preserved when it is applied during fullscreen

Yes, it seems so. Unfortunate though, it was a really neat idea. I started work on an Arch-based Python-centered distribution a few months ago, but abandoned it because my hardware...