git.lucas.co / cce-cloud
cloud storage client
git clone https://git.lucas.co/cce-cloud.git

commitb5d6146cb67177fa0f9a09fb90fdb9208bc0098e
parent1fe08b8afd
authorLucas Galante <[email protected]>
date2026-06-19 15:53
Set initial min size hints on the XDG window

 src/main.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main.rs b/src/main.rs
index 3b25194..51bf9ed 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -795,6 +795,7 @@ impl State {
             let xdg_window = xdg_shell.create_window(wl_surface.clone(), WindowDecorations::None, qh);
             xdg_window.set_title("cce-cloud");
             xdg_window.set_app_id(app_id);
+            xdg_window.set_min_size(Some((width, height)));
             if let Some(wm) = cce_wm {
                 let toplevel = wm.get_cce_toplevel(&wl_surface, qh, ());
                 toplevel.set_popup();