Archived
opt: optimize project struct
This commit is contained in:
1 parent
f2dbbbb8f2
commit
cd78449180
11 files changed
+9
-9
No files matched your search
+2
-2
@@ -68,8 +68,8 @@ endif
|
|||||||
|
|
||||||
executable('maomao',
|
executable('maomao',
|
||||||
'src/maomao.c',
|
'src/maomao.c',
|
||||||
'src/util.c',
|
'src/common/util.c',
|
||||||
'src/mem.c',
|
'src/common/mem.c',
|
||||||
wayland_sources,
|
wayland_sources,
|
||||||
dependencies : [
|
dependencies : [
|
||||||
libm,
|
libm,
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+6
-6
@@ -79,7 +79,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "dwl-ipc-unstable-v2-protocol.h"
|
#include "dwl-ipc-unstable-v2-protocol.h"
|
||||||
#include "util.h"
|
#include "common/util.h"
|
||||||
#include <wlr/types/wlr_foreign_toplevel_management_v1.h>
|
#include <wlr/types/wlr_foreign_toplevel_management_v1.h>
|
||||||
|
|
||||||
/* macros */
|
/* macros */
|
||||||
@@ -619,7 +619,7 @@ void snap_scene_buffer_apply_size(struct wlr_scene_buffer *buffer, int sx,
|
|||||||
void client_set_pending_state(Client *c);
|
void client_set_pending_state(Client *c);
|
||||||
void set_rect_size(struct wlr_scene_rect *rect, int width, int height);
|
void set_rect_size(struct wlr_scene_rect *rect, int width, int height);
|
||||||
|
|
||||||
#include "dispatch.h"
|
#include "dispatch/dispatch.h"
|
||||||
|
|
||||||
/* variables */
|
/* variables */
|
||||||
static const char broken[] = "broken";
|
static const char broken[] = "broken";
|
||||||
@@ -747,12 +747,12 @@ static struct wlr_xwayland *xwayland;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* configuration, allows nested code to access above variables */
|
/* configuration, allows nested code to access above variables */
|
||||||
#include "preset_config.h"
|
#include "config/preset_config.h"
|
||||||
|
|
||||||
/* attempt to encapsulate suck into one file */
|
/* attempt to encapsulate suck into one file */
|
||||||
#include "client.h"
|
#include "client/client.h"
|
||||||
#ifdef IM
|
#ifdef IM
|
||||||
#include "ime.h"
|
#include "text_input/ime.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct NumTags {
|
struct NumTags {
|
||||||
@@ -777,7 +777,7 @@ struct vec2 *baked_points_tag;
|
|||||||
struct vec2 *baked_points_close;
|
struct vec2 *baked_points_close;
|
||||||
|
|
||||||
// update global variables from config file
|
// update global variables from config file
|
||||||
#include "parse_config.h"
|
#include "config/parse_config.h"
|
||||||
|
|
||||||
struct vec2 calculate_animation_curve_at(double t, int type) {
|
struct vec2 calculate_animation_curve_at(double t, int type) {
|
||||||
struct vec2 point;
|
struct vec2 point;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#include <wlr/types/wlr_text_input_v3.h>
|
#include <wlr/types/wlr_text_input_v3.h>
|
||||||
#include <wlr/types/wlr_input_method_v2.h>
|
#include <wlr/types/wlr_input_method_v2.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include "mem.h"
|
#include "../common/mem.h"
|
||||||
|
|
||||||
#define LAB_SET_MAX_SIZE 16
|
#define LAB_SET_MAX_SIZE 16
|
||||||
|
|
||||||
Reference in new issue
Block a user