mirror of
https://github.com/vale981/spectrwm
synced 2025-03-05 09:51:38 -05:00

Fix hang in fullscreen layout when a window has multiple transients. Fix focus_(prev|next) for windows with multiple transients. Add a missing queue.h macro to Linux util.h.
30 lines
815 B
C
30 lines
815 B
C
#define FPARSELN_UNESCESC 0x01
|
|
#define FPARSELN_UNESCCONT 0x02
|
|
#define FPARSELN_UNESCCOMM 0x04
|
|
#define FPARSELN_UNESCREST 0x08
|
|
#define FPARSELN_UNESCALL 0x0f
|
|
|
|
size_t strlcpy(char *, const char *, size_t);
|
|
size_t strlcat(char *, const char *, size_t);
|
|
|
|
char *fgetln(FILE *, size_t *);
|
|
char *fparseln(FILE *, size_t *, size_t *, const char [3], int);
|
|
|
|
long long strtonum(const char *, long long, long long, const char **);
|
|
|
|
#ifndef WAIT_ANY
|
|
#define WAIT_ANY (-1)
|
|
#endif
|
|
|
|
/* there is no limit to ulrich drepper's crap */
|
|
#ifndef TAILQ_END
|
|
#define TAILQ_END(head) NULL
|
|
#endif
|
|
|
|
#ifndef TAILQ_FOREACH_SAFE
|
|
#define TAILQ_FOREACH_SAFE(var, head, field, tvar) \
|
|
for ((var) = TAILQ_FIRST(head); \
|
|
(var) != TAILQ_END(head) && \
|
|
((tvar) = TAILQ_NEXT(var, field), 1); \
|
|
(var) = (tvar))
|
|
#endif
|