Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughWayland wrappers now advertise newer protocol versions, conditionally compile versioned requests and listeners, use release-aware destruction, and expose pointer warp and surface release operations. A conditional ChangesWayland protocol updates
Estimated code review effort: 3 (Moderate) | ~25 minutes Possibly related PRs
Sequence Diagram(s)sequenceDiagram
participant Display
participant WlFixes
participant WaylandRegistry
Display->>WlFixes: Request wl_fixes version 2
WaylandRegistry->>Display: Notify global removal
Display->>WlFixes: Acknowledge removed global
WlFixes->>WaylandRegistry: Call wl_fixes_ack_global_remove
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/lib/fcitx-wayland/core/display.cpp`:
- Around line 68-73: Move the conditional ackGlobalRemove logic in the
global-removal handling before globals_.erase(iter) and
localGlobalIter->second->erase(name), preserving the existing fixes/version
checks so the WlFixes proxy remains alive when acknowledged.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 8020ea2f-e45f-47dd-8cc3-d0d52b6283c8
📒 Files selected for processing (21)
src/lib/fcitx-wayland/core/CMakeLists.txtsrc/lib/fcitx-wayland/core/display.cppsrc/lib/fcitx-wayland/core/wl_compositor.cppsrc/lib/fcitx-wayland/core/wl_compositor.hsrc/lib/fcitx-wayland/core/wl_data_device.hsrc/lib/fcitx-wayland/core/wl_data_device_manager.cppsrc/lib/fcitx-wayland/core/wl_data_device_manager.hsrc/lib/fcitx-wayland/core/wl_data_offer.hsrc/lib/fcitx-wayland/core/wl_data_source.hsrc/lib/fcitx-wayland/core/wl_fixes.cppsrc/lib/fcitx-wayland/core/wl_fixes.hsrc/lib/fcitx-wayland/core/wl_keyboard.hsrc/lib/fcitx-wayland/core/wl_pointer.cppsrc/lib/fcitx-wayland/core/wl_pointer.hsrc/lib/fcitx-wayland/core/wl_region.hsrc/lib/fcitx-wayland/core/wl_seat.hsrc/lib/fcitx-wayland/core/wl_shm.hsrc/lib/fcitx-wayland/core/wl_shm_pool.hsrc/lib/fcitx-wayland/core/wl_surface.cppsrc/lib/fcitx-wayland/core/wl_surface.hsrc/lib/fcitx-wayland/core/wl_touch.h
Summary by CodeRabbit