Obsidian
9bd5f97063
fix(window): stop the window from shrinking to an unpresentable size ( #79 )
...
Dragging the window down to its smallest size crashes the client (#74 ).
The report is on COSMIC, where the compositor lets a client with no
minimum size hint shrink until the surface is effectively invisible.
Nothing in the tree called SDL_SetWindowMinimumSize, so no floor was ever
advertised to the compositor. The window store already refuses to restore
a geometry below 160x120, so the live window could be dragged far below a
size the same code considers invalid to load.
Share those bounds and apply them to every window Mocktail creates. On
X11 the entry now carries "program specified minimum size: 160 by 120",
which is what a compositor clamps interactive resizing against; Wayland
uses the equivalent xdg_toplevel minimum.
2026-08-26 14:38:15 +03:00
..
2026-08-12 01:58:18 +03:00
2026-08-16 04:19:32 +03:00
2026-08-12 01:58:18 +03:00
2026-08-16 04:19:32 +03:00
2026-08-12 01:58:18 +03:00
2026-08-19 10:41:11 +02:00
2026-08-26 02:29:01 +03:00
2026-08-16 22:05:20 +03:00
2026-08-16 04:19:32 +03:00
2026-08-25 19:37:22 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 03:25:01 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-22 16:03:41 +03:00
2026-08-20 14:25:04 +02:00
2026-08-16 04:19:32 +03:00
2026-08-26 00:20:51 +03:00
2026-08-17 14:18:34 +03:00
2026-08-26 00:20:51 +03:00
2026-08-16 04:19:32 +03:00
2026-08-12 01:58:18 +03:00
2026-08-12 01:58:18 +03:00
2026-08-12 01:58:18 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-15 22:39:52 +03:00
2026-08-16 04:19:32 +03:00
2026-08-26 02:29:12 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-22 16:03:41 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-22 16:33:16 +03:00
2026-08-22 17:06:46 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-12 01:58:18 +03:00
2026-08-16 04:19:32 +03:00
2026-08-26 02:29:01 +03:00
2026-08-16 04:19:32 +03:00
2026-08-19 10:40:55 +02:00
2026-08-24 16:22:35 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-12 01:58:18 +03:00
2026-08-19 10:40:55 +02:00
2026-08-26 02:29:12 +03:00
2026-08-22 16:03:41 +03:00
2026-08-16 04:19:32 +03:00
2026-08-26 00:20:51 +03:00
2026-08-16 04:19:32 +03:00
2026-08-12 01:58:18 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-26 14:36:30 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-26 00:20:51 +03:00
2026-08-26 00:20:51 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-12 01:58:18 +03:00
2026-08-22 16:33:16 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-25 19:37:22 +03:00
2026-08-26 02:29:12 +03:00
2026-08-26 02:29:12 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-12 01:58:18 +03:00
2026-08-16 04:19:32 +03:00
2026-08-26 00:20:51 +03:00
2026-08-12 01:58:18 +03:00
2026-08-15 23:02:35 +03:00
2026-08-12 01:58:18 +03:00
2026-08-16 04:19:32 +03:00
2026-08-12 01:58:18 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-22 16:03:41 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00
2026-08-26 00:20:51 +03:00
2026-08-16 04:19:32 +03:00
2026-08-26 14:38:15 +03:00
2026-08-16 04:19:32 +03:00
2026-08-16 04:19:32 +03:00