mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 07:29:48 +01:00
oops
This commit is contained in:
parent
a9773bd91a
commit
958bee27d4
3 changed files with 2 additions and 7 deletions
|
@ -9,7 +9,7 @@ message(STATUS "Configuring Hyprland!")
|
|||
|
||||
include_directories(.)
|
||||
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(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_createX11(wl_listener* listener, void* data) {
|
||||
const auto XWSURFACE = (wlr_xwayland_surface*)data;
|
||||
|
||||
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_iX11Type = XWSURFACE->override_redirect ? 2 : 1;
|
||||
PNEWWINDOW->m_bIsX11 = true;
|
||||
|
||||
|
||||
wl_signal_add(&XWSURFACE->events.map, &PNEWWINDOW->listen_mapWindow);
|
||||
wl_signal_add(&XWSURFACE->events.unmap, &PNEWWINDOW->listen_unmapWindow);
|
||||
wl_signal_add(&XWSURFACE->events.request_activate, &PNEWWINDOW->listen_activateX11);
|
||||
|
|
|
@ -25,7 +25,6 @@ namespace Events {
|
|||
LISTENER(fullscreenWindow);
|
||||
LISTENER(activateX11);
|
||||
LISTENER(configureX11);
|
||||
LISTENER(createX11);
|
||||
|
||||
// Input events
|
||||
LISTENER(mouseMove);
|
||||
|
|
Loading…
Reference in a new issue