fix(focus): update focus policy handling for Wayland and clipboard in…#821
Conversation
…teractions - Improved focus policy logic for fullscreen windows in Wayland and Treeland modes, ensuring proper focus behavior for screenshot and recording functionalities. - Enhanced clipboard handling by checking for the presence of the clipboard daemon, allowing for better confirmation of data transfer to the clipboard. - Updated comments for clarity regarding focus policy changes and clipboard signal handling. bug: https://pms.uniontech.com/bug-view-357249.html
b59cecf to
ab16a5e
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: dengzhongyuan365-dev, lzwind The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
CLA Assistant Lite bot: You can retrigger this bot by commenting recheck in this Pull Request |
deepin pr auto review代码审查报告总体评价这段代码主要针对不同系统版本(特别是1070版本和V25社区版)的窗口焦点策略和剪贴板行为进行了适配。代码逻辑基本正确,但存在一些可以改进的地方。 语法逻辑审查
代码质量建议
代码性能建议
代码安全建议
其他建议
总结这段代码在语法逻辑上基本正确,但在代码质量、性能和安全性方面还有改进空间。主要建议包括:使用常量替代魔法数字、改进日志级别、优化等待机制、增强类型转换安全性等。这些改进将使代码更健壮、更易于维护。 |
|
/merge |
|
/forcemerge |
|
This pr cannot be merged! (status: unstable) |
|
This pr force merged! (status: unstable) |
…teractions
bug: https://pms.uniontech.com/bug-view-357249.html