diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-08-07 09:30:27 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-08-07 09:30:27 +0200 |
commit | f640a3ed3390f8be9f8893c4487c34a59dd3099d (patch) | |
tree | 640fc6a3353226d90a1efdf09455037abe88476f /meson.build | |
parent | 8b98c612f7b17feaafabc48ad584498e1198f5ee (diff) |
Use window texture (xcomposite) for background if the window is fullscreen on the selected monitor
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meson.build b/meson.build index 691d0fb..8a35e5a 100644 --- a/meson.build +++ b/meson.build @@ -1,9 +1,9 @@ -project('gsr-overlay', ['cpp'], version : '1.0.0', default_options : ['warning_level=2', 'cpp_std=c++17'], subproject_dir : 'depends') +project('gsr-overlay', ['c', 'cpp'], version : '1.0.0', default_options : ['warning_level=2', 'cpp_std=c++17'], subproject_dir : 'depends') if get_option('buildtype') == 'debug' - add_project_arguments('-g3', language : ['cpp']) + add_project_arguments('-g3', language : ['c', 'cpp']) elif get_option('buildtype') == 'release' - add_project_arguments('-DNDEBUG', language : ['cpp']) + add_project_arguments('-DNDEBUG', language : ['c', 'cpp']) endif src = [ @@ -25,6 +25,7 @@ src = [ 'src/Config.cpp', 'src/GsrInfo.cpp', 'src/Process.cpp', + 'src/window_texture.c', 'src/main.cpp', ] @@ -33,6 +34,7 @@ mglpp_dep = mglpp_proj.get_variable('mglpp_dep') dep = [ mglpp_dep, + dependency('xcomposite'), ] prefix = get_option('prefix') |