Fix whitespace
This commit is contained in:
parent
b940c68606
commit
455eedaa60
2
dwl.c
2
dwl.c
@ -3356,7 +3356,7 @@ setfloating(Client *c, int floating)
|
|||||||
(p && p->isfullscreen) ? LyrFS
|
(p && p->isfullscreen) ? LyrFS
|
||||||
: c->isfloating ? LyrFloat : LyrTile]);
|
: c->isfloating ? LyrFloat : LyrTile]);
|
||||||
#if FLOAT_UNFOCUSED_BORDER_COLOR_PATCH
|
#if FLOAT_UNFOCUSED_BORDER_COLOR_PATCH
|
||||||
if (!grabc && floating)
|
if (!grabc && floating)
|
||||||
for (int i = 0; i < 4; i++) {
|
for (int i = 0; i < 4; i++) {
|
||||||
wlr_scene_rect_set_color(c->border[i], floatcolor);
|
wlr_scene_rect_set_color(c->border[i], floatcolor);
|
||||||
wlr_scene_node_lower_to_bottom(&c->border[i]->node);
|
wlr_scene_node_lower_to_bottom(&c->border[i]->node);
|
||||||
|
10
util.c
10
util.c
@ -38,14 +38,14 @@ ecalloc(size_t nmemb, size_t size)
|
|||||||
int
|
int
|
||||||
fd_set_nonblock(int fd) {
|
fd_set_nonblock(int fd) {
|
||||||
int flags = fcntl(fd, F_GETFL);
|
int flags = fcntl(fd, F_GETFL);
|
||||||
if (flags < 0) {
|
if (flags < 0) {
|
||||||
perror("fcntl(F_GETFL):");
|
perror("fcntl(F_GETFL):");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if (fcntl(fd, F_SETFL, flags | O_NONBLOCK) < 0) {
|
if (fcntl(fd, F_SETFL, flags | O_NONBLOCK) < 0) {
|
||||||
perror("fcntl(F_SETFL):");
|
perror("fcntl(F_SETFL):");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user