Cheers, I don't know what happened with that indentation. I'll fold in your other suggestion.
> Approve, however being pedantic here, line 18 has weird indentation, you might
> want to fix that :)
>
> Also, just for super-super-correctness, you might want to do the check against
> the window size minus the decorations geometry. So for that you'd have
> (screen_width - window->border ().left () - window->border ().right () >
> size_hints.max_width) ... if that makes any sense.
Cheers, I don't know what happened with that indentation. I'll fold in your other suggestion.
> Approve, however being pedantic here, line 18 has weird indentation, you might correctness, you might want to do the check against max_width) ... if that makes any sense.
> want to fix that :)
>
> Also, just for super-super-
> the window size minus the decorations geometry. So for that you'd have
> (screen_width - window->border ().left () - window->border ().right () >
> size_hints.