mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[CODE] rename the "activate" parameter SetWindowPos wrappers #333
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @raggi on GitHub (Apr 13, 2024).
The activate parameter doesn't actually activate the window. For example this is used via the Border::set_position wrapper to show the window if it's hidden.
Similarly the main wrapper always sets the NO_ACTIVATE flag. Window activation is a little funky, because it's slightly separate from focus. Generally we're not interested in activating windows when we're not focusing them, and so really this is always just show, so we can name it "show" instead.