Commit Graph

3 Commits

Author SHA1 Message Date
Yuxuan Shui d8c34ed4f7
wm: add a function to count managed windows
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-04-02 04:02:05 +01:00
Yuxuan Shui 3cd107a29c
wm: add a generation number
So we can tell windows with the same window ID apart. Not used right
now, but we might need that for damage calculation later.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-04-02 04:01:52 +01:00
Yuxuan Shui a5ea66a134
wm: separate out window management into a file
Conversion is mostly mechanical, except a couple
`ps->pending_updates = true` is added.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-03-26 18:02:24 +00:00