parent
9b62a98f3e
commit
e0cb8284fb
|
@ -9,5 +9,6 @@ void ipc_terminate(void);
|
||||||
struct sockaddr_un *ipc_user_sockaddr(void);
|
struct sockaddr_un *ipc_user_sockaddr(void);
|
||||||
|
|
||||||
void ipc_event_workspace(swayc_t *old, swayc_t *new);
|
void ipc_event_workspace(swayc_t *old, swayc_t *new);
|
||||||
|
const char *swayc_type_string(enum swayc_types type);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#define _SWAY_LAYOUT_H
|
#define _SWAY_LAYOUT_H
|
||||||
|
|
||||||
#include <wlc/wlc.h>
|
#include <wlc/wlc.h>
|
||||||
|
#include "log.h"
|
||||||
#include "list.h"
|
#include "list.h"
|
||||||
#include "container.h"
|
#include "container.h"
|
||||||
#include "focus.h"
|
#include "focus.h"
|
||||||
|
@ -59,4 +60,7 @@ swayc_t *get_swayc_in_direction_under(swayc_t *container, enum movement_directio
|
||||||
|
|
||||||
void recursive_resize(swayc_t *container, double amount, enum wlc_resize_edge edge);
|
void recursive_resize(swayc_t *container, double amount, enum wlc_resize_edge edge);
|
||||||
|
|
||||||
|
void layout_log(const swayc_t *c, int depth);
|
||||||
|
void swayc_log(log_importance_t verbosity, swayc_t *cont, const char* format, ...) __attribute__((format(printf,3,4)));
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
#ifndef _SWAY_LOG_H
|
#ifndef _SWAY_LOG_H
|
||||||
#define _SWAY_LOG_H
|
#define _SWAY_LOG_H
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include "container.h"
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
L_SILENT = 0,
|
L_SILENT = 0,
|
||||||
|
@ -35,7 +34,4 @@ void _sway_log(log_importance_t verbosity, const char* format, ...) __attribute_
|
||||||
|
|
||||||
void error_handler(int sig);
|
void error_handler(int sig);
|
||||||
|
|
||||||
void layout_log(const swayc_t *c, int depth);
|
|
||||||
const char *swayc_type_string(enum swayc_types type);
|
|
||||||
void swayc_log(log_importance_t verbosity, swayc_t *cont, const char* format, ...) __attribute__((format(printf,3,4)));
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <wayland-client.h>
|
#include <wayland-client.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
#include <string.h>
|
||||||
#include "client/window.h"
|
#include "client/window.h"
|
||||||
#include "client/registry.h"
|
#include "client/registry.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <stdint.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
|
Loading…
Reference in a new issue