Skip to content

Commit

Permalink
Merge pull request #349 from arene-os-services-cockpit-tmc-wa/jw/comp…
Browse files Browse the repository at this point in the history
…iler_fixes

compiler fixes
  • Loading branch information
Joel Winarske authored and GitHub Enterprise committed Jan 17, 2025
2 parents 003d5e2 + 918278e commit 241f841
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions shell/wayland/display.cc
Original file line number Diff line number Diff line change
Expand Up @@ -767,8 +767,12 @@ constexpr wl_touch_listener Display::touch_listener = {
.motion = touch_handle_motion,
.frame = touch_handle_frame,
.cancel = touch_handle_cancel,
#if defined(WL_TOUCH_SHAPE_SINCE_VERSION)
.shape = nullptr,
#endif
#if defined(WL_TOUCH_ORIENTATION_SINCE_VERSION)
.orientation = nullptr,
#endif
};

int Display::PollEvents() const {
Expand Down
6 changes: 6 additions & 0 deletions shell/wayland/window.cc
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,12 @@ void WaylandWindow::handle_base_surface_leave(void* /* data */,
const struct wl_surface_listener WaylandWindow::m_base_surface_listener = {
.enter = handle_base_surface_enter,
.leave = handle_base_surface_leave,
#if WL_SURFACE_PREFERRED_BUFFER_SCALE_SINCE_VERSION
.preferred_buffer_scale = nullptr,
#endif
#if WL_SURFACE_PREFERRED_BUFFER_TRANSFORM_SINCE_VERSION
.preferred_buffer_transform = nullptr,
#endif
};

#if ENABLE_XDG_CLIENT
Expand Down
2 changes: 1 addition & 1 deletion third_party/waypp

0 comments on commit 241f841

Please sign in to comment.