mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-05-30 23:40:44 +02:00
[CODE] move Window related global state into case specific windows, and common window logic into a Window trait #307
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 (Mar 3, 2024).
I started a demo of the outcome for discussion here: https://github.com/raggi/komorebi/commit/8f6d2bf22c76ec0bc0062d5250ef02bc5ca5899d
The general idea here is a few things:
border_window())In the above example with Border done this way, border becomes almost freestanding, it could move into a module or crate with minimal further dependency flattening.
This leads to the next step though:
hwnd() -> HWNDaccessorThese can be done step-by-step, rather than all at once.