1
1
mirror of https://github.com/swaywm/sway synced 2024-11-23 13:22:17 +01:00

Further indentation corrections

This commit is contained in:
Drew DeVault 2017-03-10 21:41:14 -05:00
parent d5c338d9ee
commit 74d4f1bec9
2 changed files with 4 additions and 4 deletions

@ -487,7 +487,7 @@ static bool load_config(const char *path, struct sway_config *config) {
} }
static int qstrcmp(const void* a, const void* b) { static int qstrcmp(const void* a, const void* b) {
return strcmp(*((char**) a), *((char**) b)); return strcmp(*((char**) a), *((char**) b));
} }
bool load_main_config(const char *file, bool is_active) { bool load_main_config(const char *file, bool is_active) {

@ -401,9 +401,9 @@ void floating_view_sane_size(swayc_t *view) {
config->floating_maximum_height = swayc_active_workspace()->height; config->floating_maximum_height = swayc_active_workspace()->height;
} else if (config->floating_maximum_height != -1 && } else if (config->floating_maximum_height != -1 &&
view->desired_height > config->floating_maximum_height) { view->desired_height > config->floating_maximum_height) {
view->desired_height = config->floating_maximum_height; view->desired_height = config->floating_maximum_height;
} }
// if 0 do not resize, only enforce max value // if 0 do not resize, only enforce max value
if (config->floating_maximum_width == 0) { if (config->floating_maximum_width == 0) {