Skip to content

Commit

Permalink
core: fix build with hw-s 0.4.4
Browse files Browse the repository at this point in the history
fixes #102
  • Loading branch information
vaxerski committed Dec 30, 2024
1 parent 46d2f5a commit 444c40e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hyprpicker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ void CHyprpicker::initKeyboard() {
}

void CHyprpicker::initMouse() {
m_pPointer->setEnter([this](CCWlPointer* r, uint32_t serial, wl_resource* surface, wl_fixed_t surface_x, wl_fixed_t surface_y) {
m_pPointer->setEnter([this](CCWlPointer* r, uint32_t serial, wl_proxy* surface, wl_fixed_t surface_x, wl_fixed_t surface_y) {
auto x = wl_fixed_to_double(surface_x);
auto y = wl_fixed_to_double(surface_y);

Expand All @@ -590,7 +590,7 @@ void CHyprpicker::initMouse() {

m_pCursorShapeDevice->sendSetShape(serial, WP_CURSOR_SHAPE_DEVICE_V1_SHAPE_CROSSHAIR);
});
m_pPointer->setLeave([this](CCWlPointer* r, uint32_t timeMs, wl_resource* surf) {
m_pPointer->setLeave([this](CCWlPointer* r, uint32_t timeMs, wl_proxy* surf) {
for (auto& ls : m_vLayerSurfaces) {
if (ls->pSurface->resource() == surf) {
renderSurface(ls.get(), true);
Expand Down

0 comments on commit 444c40e

Please sign in to comment.