hyprwm / Hypr

Hypr is a tiling window manager written in modern C++.
BSD 3-Clause "New" or "Revised" License
1.06k stars 32 forks source link

implement ewmh atom _NET_FRAME_EXTENTS #19

Closed codic12 closed 2 years ago

codic12 commented 2 years ago

Also changed a hardcoded zero to XCB_WINDOW_NONE just cuz.

codic12 commented 2 years ago

I've fixed both issues in the review. The border size is cached and used all 4 times in the array declaration for extents. The border size is also checked after config is reloaded, and if different it will call an EWMH::refreshAllExtents function.