mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-04 20:55:58 +01:00
Move example -> examples
And the compositor example into its own directory
This commit is contained in:
parent
18e6ddc1c5
commit
28736c5787
12 changed files with 2 additions and 5 deletions
|
@ -63,4 +63,4 @@ add_subdirectory(session)
|
|||
add_subdirectory(render)
|
||||
add_subdirectory(util)
|
||||
|
||||
add_subdirectory(example)
|
||||
add_subdirectory(examples)
|
||||
|
|
|
@ -67,7 +67,7 @@ target_link_libraries(tablet
|
|||
)
|
||||
|
||||
add_executable(compositor
|
||||
compositor
|
||||
compositor/main.c
|
||||
shared.c
|
||||
)
|
||||
|
||||
|
@ -75,6 +75,5 @@ target_link_libraries(compositor
|
|||
wlr-backend
|
||||
wlr-session
|
||||
wlr-render
|
||||
wlr-wayland
|
||||
${XKBCOMMON_LIBRARIES}
|
||||
)
|
|
@ -10,7 +10,6 @@
|
|||
#include <wlr/render.h>
|
||||
#include <wlr/render/gles2.h>
|
||||
#include <wlr/types/wlr_output.h>
|
||||
#include <wlr/wayland/wlr_compositor.h>
|
||||
#include <xkbcommon/xkbcommon.h>
|
||||
#include "shared.h"
|
||||
|
||||
|
@ -38,7 +37,6 @@ int main() {
|
|||
|
||||
state.renderer = wlr_gles2_renderer_init();
|
||||
wl_display_init_shm(compositor.display);
|
||||
wlr_compositor_init(compositor.display);
|
||||
|
||||
compositor_run(&compositor);
|
||||
}
|
Loading…
Reference in a new issue