mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-09-11 21:27:20 +03:00
oops
This commit is contained in:
parent
a9773bd91a
commit
958bee27d4
@ -9,7 +9,7 @@ message(STATUS "Configuring Hyprland!")
|
|||||||
|
|
||||||
include_directories(.)
|
include_directories(.)
|
||||||
add_compile_options(-std=c++20 -DWLR_USE_UNSTABLE )
|
add_compile_options(-std=c++20 -DWLR_USE_UNSTABLE )
|
||||||
add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers)
|
add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing)
|
||||||
find_package(Threads REQUIRED)
|
find_package(Threads REQUIRED)
|
||||||
|
|
||||||
find_package(PkgConfig REQUIRED)
|
find_package(PkgConfig REQUIRED)
|
||||||
|
@ -236,10 +236,6 @@ void Events::listener_readyXWayland(wl_listener* listener, void* data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Events::listener_surfaceXWayland(wl_listener* listener, void* data) {
|
void Events::listener_surfaceXWayland(wl_listener* listener, void* data) {
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
void Events::listener_createX11(wl_listener* listener, void* data) {
|
|
||||||
const auto XWSURFACE = (wlr_xwayland_surface*)data;
|
const auto XWSURFACE = (wlr_xwayland_surface*)data;
|
||||||
|
|
||||||
g_pCompositor->m_vWindows.push_back(CWindow());
|
g_pCompositor->m_vWindows.push_back(CWindow());
|
||||||
@ -248,7 +244,7 @@ void Events::listener_createX11(wl_listener* listener, void* data) {
|
|||||||
PNEWWINDOW->m_uSurface.xwayland = XWSURFACE;
|
PNEWWINDOW->m_uSurface.xwayland = XWSURFACE;
|
||||||
PNEWWINDOW->m_iX11Type = XWSURFACE->override_redirect ? 2 : 1;
|
PNEWWINDOW->m_iX11Type = XWSURFACE->override_redirect ? 2 : 1;
|
||||||
PNEWWINDOW->m_bIsX11 = true;
|
PNEWWINDOW->m_bIsX11 = true;
|
||||||
|
|
||||||
wl_signal_add(&XWSURFACE->events.map, &PNEWWINDOW->listen_mapWindow);
|
wl_signal_add(&XWSURFACE->events.map, &PNEWWINDOW->listen_mapWindow);
|
||||||
wl_signal_add(&XWSURFACE->events.unmap, &PNEWWINDOW->listen_unmapWindow);
|
wl_signal_add(&XWSURFACE->events.unmap, &PNEWWINDOW->listen_unmapWindow);
|
||||||
wl_signal_add(&XWSURFACE->events.request_activate, &PNEWWINDOW->listen_activateX11);
|
wl_signal_add(&XWSURFACE->events.request_activate, &PNEWWINDOW->listen_activateX11);
|
||||||
|
@ -25,7 +25,6 @@ namespace Events {
|
|||||||
LISTENER(fullscreenWindow);
|
LISTENER(fullscreenWindow);
|
||||||
LISTENER(activateX11);
|
LISTENER(activateX11);
|
||||||
LISTENER(configureX11);
|
LISTENER(configureX11);
|
||||||
LISTENER(createX11);
|
|
||||||
|
|
||||||
// Input events
|
// Input events
|
||||||
LISTENER(mouseMove);
|
LISTENER(mouseMove);
|
||||||
|
Loading…
Reference in New Issue
Block a user