voxelcore/res
alexei-zebra 4d1b4a1638
Redraw the windows frame from WM_SIZE and keep its style
The refresh callback is triggered by WM_PAINT, but windows does not send it
while a border is dragged: the window class has neither CS_HREDRAW nor
CS_VREDRAW and nothing invalidates the client area. Only WM_SIZE arrives, so
nothing was drawn during such a resize. The frame is drawn from WM_SIZE now,
after forwarding the message to GLFW so that the new size is already in.

WM_NCHITTEST re-applies the style bits the engine frame needs and which GLFW
drops on every window mode change, taking the drag area with them. Every frame
setup logs whether the subclass had to be installed again, so a lost window
procedure is visible in the log.

The live resize switch is honoured by the GLFW backend as well: with it off the
frame from the message loop is skipped and the window keeps showing what the
system stretches.
2026-10-11 01:05:47 +03:00
..
config remove res/config/builtins.list 2025-04-22 21:46:51 +03:00
content/base move hud away from utils 2 & add new argument 2026-08-17 23:47:51 +05:00
devtools update vca.toml 2026-09-06 01:38:19 +03:00
fonts removed unused file 2024-02-28 16:39:41 +03:00
generators convert generator parameters naming to the project style 2024-10-14 04:45:11 +03:00
layouts Redraw the windows frame from WM_SIZE and keep its style 2026-10-11 01:05:47 +03:00
models Merge branch 'main' into animation 2026-08-18 23:37:27 +03:00
modules fix vca 'configure' directive parsing 2026-10-05 22:11:21 +03:00
presets add 'sky_tint', 'clouds_tint', 'min_sky_light' weather parameters 2026-02-12 20:27:29 +03:00
scripts fix reload_module ignoring pack environment 2026-10-10 00:52:23 +03:00
shaders revert "update shadows.glsl" 2026-10-03 11:10:56 +03:00
texts Redraw the windows frame from WM_SIZE and keep its style 2026-10-11 01:05:47 +03:00
textures Give the Wayland window an Adwaita-like frame 2026-10-10 12:23:41 +03:00
preload.json Fix the issues found while reviewing the Wayland frame work 2026-10-10 12:23:42 +03:00
project.toml add sub-instance project permission & feat: max sub-process depth check 2026-08-02 01:19:01 +03:00
project_client.lua temporary fix improvement 2025-12-02 22:59:56 +03:00
resources.json change 'graphics.ssao' from flag to number 2025-12-19 18:55:55 +03:00