Skip to content
Commit ddd8debe authored by Jan Beich's avatar Jan Beich
Browse files

x11-wm/hyprland: unbreak after 7a0f9a28

../src/events/Misc.cpp:113:91: error: no member named 'map' in 'wlr_drag_icon::(unnamed struct at /usr/local/wlroots-devel/include/wlr/types/wlr_data_device.h:97:2)'
        g_pInputManager->m_sDrag.hyprListener_mapIcon.initCallback(&wlrDrag->icon->events.map, &Events::listener_mapDragIcon, &g_pInputManager->m_sDrag, "DragIcon");
                                                                    ~~~~~~~~~~~~~~~~~~~~~ ^
../src/events/Misc.cpp:114:93: error: no member named 'unmap' in 'wlr_drag_icon::(unnamed struct at /usr/local/wlroots-devel/include/wlr/types/wlr_data_device.h:97:2)'
        g_pInputManager->m_sDrag.hyprListener_unmapIcon.initCallback(&wlrDrag->icon->events.unmap, &Events::listener_unmapDragIcon, &g_pInputManager->m_sDrag, "DragIcon");
                                                                      ~~~~~~~~~~~~~~~~~~~~~ ^
../src/helpers/SubsurfaceTree.cpp:153:72: error: no member named 'map' in 'wlr_subsurface::(unnamed struct at /usr/local/wlroots-devel/include/wlr/types/wlr_subcompositor.h:45:2)'
    PNEWSUBSURFACE->hyprListener_map.initCallback(&PSUBSURFACE->events.map, &Events::listener_mapSubsurface, PNEWSUBSURFACE, "Subsurface");
                                                   ~~~~~~~~~~~~~~~~~~~ ^
../src/helpers/SubsurfaceTree.cpp:154:74: error: no member named 'unmap' in 'wlr_subsurface::(unnamed struct at /usr/local/wlroots-devel/include/wlr/types/wlr_subcompositor.h:45:2)'
    PNEWSUBSURFACE->hyprListener_unmap.initCallback(&PSUBSURFACE->events.unmap, &Events::listener_unmapSubsurface, PNEWSUBSURFACE, "Subsurface");
                                                     ~~~~~~~~~~~~~~~~~~~ ^
../src/helpers/SubsurfaceTree.cpp:159:22: error: no member named 'mapped' in 'wlr_subsurface'
    if (PSUBSURFACE->mapped)
        ~~~~~~~~~~~  ^
../src/events/Layers.cpp:47:86: error: no member named 'map' in 'wlr_layer_surface_v1::(unnamed struct at /usr/local/wlroots-devel/include/wlr/types/wlr_layer_shell_v1.h:92:2)'
    layerSurface->hyprListener_mapLayerSurface.initCallback(&WLRLAYERSURFACE->events.map, &Events::listener_mapLayerSurface, layerSurface, "layerSurface");
                                                             ~~~~~~~~~~~~~~~~~~~~~~~ ^
../src/events/Layers.cpp:48:88: error: no member named 'unmap' in 'wlr_layer_surface_v1::(unnamed struct at /usr/local/wlroots-devel/include/wlr/types/wlr_layer_shell_v1.h:92:2)'
    layerSurface->hyprListener_unmapLayerSurface.initCallback(&WLRLAYERSURFACE->events.unmap, &Events::listener_unmapLayerSurface, layerSurface, "layerSurface");
                                                               ~~~~~~~~~~~~~~~~~~~~~~~ ^
../src/events/Layers.cpp:112:33: error: no member named 'mapped' in 'wlr_layer_surface_v1'
    layersurface->layerSurface->mapped = true;
    ~~~~~~~~~~~~~~~~~~~~~~~~~~  ^
../src/events/Layers.cpp:207:37: error: no member named 'mapped' in 'wlr_layer_surface_v1'
    if (layersurface->layerSurface->mapped)
        ~~~~~~~~~~~~~~~~~~~~~~~~~~  ^
../src/events/Layers.cpp:208:37: error: no member named 'mapped' in 'wlr_layer_surface_v1'
        layersurface->layerSurface->mapped = false;
        ~~~~~~~~~~~~~~~~~~~~~~~~~~  ^
../src/events/Popups.cpp:59:76: error: no member named 'map' in 'wlr_xdg_surface::(unnamed struct at /usr/local/wlroots-devel/include/wlr/types/wlr_xdg_shell.h:263:2)'
    pHyprPopup->hyprListener_mapPopupXDG.initCallback(&popup->base->events.map, &Events::listener_mapPopupXDG, pHyprPopup, "HyprPopup");
                                                       ~~~~~~~~~~~~~~~~~~~ ^
../src/events/Popups.cpp:60:78: error: no member named 'unmap' in 'wlr_xdg_surface::(unnamed struct at /usr/local/wlroots-devel/include/wlr/types/wlr_xdg_shell.h:263:2)'
    pHyprPopup->hyprListener_unmapPopupXDG.initCallback(&popup->base->events.unmap, &Events::listener_unmapPopupXDG, pHyprPopup, "HyprPopup");
                                                         ~~~~~~~~~~~~~~~~~~~ ^
../src/managers/input/InputMethodRelay.cpp:143:88: error: no member named 'map' in 'wlr_input_popup_surface_v2::(unnamed struct at /usr/local/wlroots-devel/include/wlr/types/wlr_input_method_v2.h:68:2)'
            PNEWPOPUP->hyprListener_mapPopup.initCallback(&PNEWPOPUP->pSurface->events.map, &Events::listener_mapInputPopup, PNEWPOPUP, "IME Popup");
                                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
../src/managers/input/InputMethodRelay.cpp:144:90: error: no member named 'unmap' in 'wlr_input_popup_surface_v2::(unnamed struct at /usr/local/wlroots-devel/include/wlr/types/wlr_input_method_v2.h:68:2)'
            PNEWPOPUP->hyprListener_unmapPopup.initCallback(&PNEWPOPUP->pSurface->events.unmap, &Events::listener_unmapInputPopup, PNEWPOPUP, "IME Popup");
                                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
../src/managers/input/InputMethodRelay.cpp:168:28: error: no member named 'mapped' in 'wlr_input_popup_surface_v2'
    if (!pPopup->pSurface->mapped)
         ~~~~~~~~~~~~~~~~  ^
../src/managers/input/InputMethodRelay.cpp:283:28: error: no member named 'mapped' in 'wlr_input_popup_surface_v2'
    if (!pPopup->pSurface->mapped)
         ~~~~~~~~~~~~~~~~  ^
../src/Window.cpp:400:83: error: no member named 'unmap' in 'wlr_xwayland_surface::(unnamed struct at /usr/local/wlroots-devel/include/wlr/xwayland/xwayland.h:143:2)'
    hyprListener_unmapWindow.initCallback(m_bIsX11 ? &m_uSurface.xwayland->events.unmap : &m_uSurface.xdg->events.unmap, &Events::listener_unmapWindow, this, "CWindow");
                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
../src/Window.cpp:400:115: error: no member named 'unmap' in 'wlr_xdg_surface::(unnamed struct at /usr/local/wlroots-devel/include/wlr/types/wlr_xdg_shell.h:263:2)'
    hyprListener_unmapWindow.initCallback(m_bIsX11 ? &m_uSurface.xwayland->events.unmap : &m_uSurface.xdg->events.unmap, &Events::listener_unmapWindow, this, "CWindow");
                                                                                           ~~~~~~~~~~~~~~~~~~~~~~ ^
../src/events/Windows.cpp:862:44: error: no member named 'mapped' in 'wlr_xwayland_surface'
        if (!PWINDOW->m_uSurface.xwayland->mapped)
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ^
../src/events/Windows.cpp:957:40: error: no member named 'mapped' in 'wlr_xwayland_surface'
    if (!PWINDOW->m_uSurface.xwayland->mapped || !PWINDOW->m_bMappedX11) {
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ^
../src/events/Windows.cpp:1059:72: error: no member named 'map' in 'wlr_xwayland_surface::(unnamed struct at /usr/local/wlroots-devel/include/wlr/xwayland/xwayland.h:143:2)'
    PNEWWINDOW->hyprListener_mapWindow.initCallback(&XWSURFACE->events.map, &Events::listener_mapWindow, PNEWWINDOW, "XWayland Window");
                                                     ~~~~~~~~~~~~~~~~~ ^
../src/events/Windows.cpp:1077:73: error: no member named 'map' in 'wlr_xdg_surface::(unnamed struct at /usr/local/wlroots-devel/include/wlr/types/wlr_xdg_shell.h:263:2)'
    PNEWWINDOW->hyprListener_mapWindow.initCallback(&XDGSURFACE->events.map, &Events::listener_mapWindow, PNEWWINDOW, "XDG Window");
                                                     ~~~~~~~~~~~~~~~~~~ ^
../src/Compositor.cpp:989:91: error: no member named 'mapped' in 'wlr_layer_surface_v1'
        if (ls->fadingOut || !ls->layerSurface || (ls->layerSurface && !ls->layerSurface->mapped) || ls->alpha.fl() == 0.f)
                                                                        ~~~~~~~~~~~~~~~~  ^
parent 1ef165b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment