swayfx/sway/tree
Dominique Martinet c78ab67877 workspace_next_name: fix string length for ws_num >= 100
The check didn't include && ws_num < 100 so l would always be 1 or 2
Instead of fixing logic it's simpler to just call snprintf twice to get
length and use that.

Also change malloc failure check to sway_assert because both callers of
this function do not do null check and would segfault...

Found through static analysis.
2018-07-02 08:03:41 +09:00
..
arrange.c Remove transaction_add_damage 2018-06-27 17:46:03 +10:00
container.c Merge remote-tracking branch 'upstream/master' into atomic 2018-06-30 22:46:25 +10:00
layout.c Implement atomic layout updates for tree operations 2018-06-23 16:24:11 +10:00
output.c Implement atomic layout updates for tree operations 2018-06-23 16:24:11 +10:00
view.c sway views: add helpers to get view and layer from wlr_surface 2018-06-30 22:31:14 +09:00
workspace.c workspace_next_name: fix string length for ws_num >= 100 2018-07-02 08:03:41 +09:00