mirror of
https://github.com/swaywm/sway.git
synced 2026-05-03 06:46:26 -04:00
gaps improvements
This commit is contained in:
parent
abcc2ef9eb
commit
8fdf85fee0
128 changed files with 1670 additions and 2718 deletions
|
|
@ -95,7 +95,7 @@ pid_t get_parent_pid(pid_t child) {
|
|||
token = strtok(NULL, sep); // parent pid
|
||||
parent = strtol(token, NULL, 10);
|
||||
}
|
||||
free(buffer);
|
||||
|
||||
fclose(stat);
|
||||
}
|
||||
|
||||
|
|
@ -113,7 +113,7 @@ uint32_t parse_color(const char *color) {
|
|||
|
||||
int len = strlen(color);
|
||||
if (len != 6 && len != 8) {
|
||||
wlr_log(WLR_DEBUG, "Invalid color %s, defaulting to color 0xFFFFFFFF", color);
|
||||
wlr_log(L_DEBUG, "Invalid color %s, defaulting to color 0xFFFFFFFF", color);
|
||||
return 0xFFFFFFFF;
|
||||
}
|
||||
uint32_t res = (uint32_t)strtoul(color, NULL, 16);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue