mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
opt: optimize project struct
This commit is contained in:
parent
f2dbbbb8f2
commit
cd78449180
11 changed files with 9 additions and 9 deletions
|
|
@ -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,
|
||||
|
|
|
|||
12
src/maomao.c
12
src/maomao.c
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue