opt: optimize project struct

This commit is contained in:
DreamMaoMao committed 2025-04-28 09:19:50 +08:00
1 parent f2dbbbb8f2
commit cd78449180
11 files changed
+9 -9

No files matched your search

+2 -2
View File
@@ -68,8 +68,8 @@ endif
executable('maomao',
'src/maomao.c',
'src/util.c',
'src/mem.c',
'src/common/util.c',
'src/common/mem.c',
wayland_sources,
dependencies : [
libm,
File renamed without changes.
View File
File renamed without changes.
View File
File renamed without changes.
View File
File renamed without changes.
View File
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+6 -6
View File
@@ -79,7 +79,7 @@
#endif
#include "dwl-ipc-unstable-v2-protocol.h"
#include "util.h"
#include "common/util.h"
#include <wlr/types/wlr_foreign_toplevel_management_v1.h>
/* 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 set_rect_size(struct wlr_scene_rect *rect, int width, int height);
#include "dispatch.h"
#include "dispatch/dispatch.h"
/* variables */
static const char broken[] = "broken";
@@ -747,12 +747,12 @@ static struct wlr_xwayland *xwayland;
#endif
/* configuration, allows nested code to access above variables */
#include "preset_config.h"
#include "config/preset_config.h"
/* attempt to encapsulate suck into one file */
#include "client.h"
#include "client/client.h"
#ifdef IM
#include "ime.h"
#include "text_input/ime.h"
#endif
struct NumTags {
@@ -777,7 +777,7 @@ struct vec2 *baked_points_tag;
struct vec2 *baked_points_close;
// 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 point;
+1 -1
View File
@@ -8,7 +8,7 @@
#include <wlr/types/wlr_text_input_v3.h>
#include <wlr/types/wlr_input_method_v2.h>
#include <assert.h>
#include "mem.h"
#include "../common/mem.h"
#define LAB_SET_MAX_SIZE 16