Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat/#1245/fix focus on mac and linux #3

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

ologbonowiwi
Copy link

@ologbonowiwi ologbonowiwi commented Feb 5, 2025

what I did is basically:

  • pull nashaofu/xcap last version
  • went on the two last commits of this repo 00f9c75 and 965bc99
  • implement the same on top of latest original xcap changes

cn-kali-team and others added 12 commits December 14, 2024 13:31
* refactor: 重构windows版本读取方式

* chore: 修改devcontainer

---------

Co-authored-by: nashaofu <nashaofu@users.noreply.github.com>
* 添加image默认依赖为可选features

* 默认开启default-image
* feat: 自动感知dpi

* chore: 修改版本

---------

Co-authored-by: nashaofu <nashaofu@users.noreply.github.com>
* feat: window focus

* refactor: window is focused is mouse in it

* fix: fix windows build error

* fix: formatted code

* feat: 修改 image 不作为默认feature

* feat: macos 实现获取窗口是否聚焦

* feat(breaking): List windows in z order (nashaofu#178)

* feat: 窗口按照z轴顺序返回

* refactor(BREAKING CHANGE): remove window.refresh()

---------

Co-authored-by: nashaofu <nashaofu@users.noreply.github.com>

* chore: fmt

* feat: 修改 macos 窗口 z 值 (nashaofu#179)

Co-authored-by: nashaofu <nashaofu@users.noreply.github.com>

---------

Co-authored-by: Louis Beaumont <louis.beaumont@gmail.com>
Co-authored-by: nashaofu <nashaofu@users.noreply.github.com>
* fix: 优化 windows 窗口截图

* chore: 更新版本号

* fix: fmt

---------

Co-authored-by: nashaofu <nashaofu@users.noreply.github.com>
* feat: windows 权限调整

* feat: 优化代码

* chore: 更新版本号

---------

Co-authored-by: nashaofu <nashaofu@users.noreply.github.com>
* feat: 优化代码

* feat: windows 支持获取窗口是否 focused

* feat: linux 实现获取窗口是否 focused

* feat: macos 实现获取窗口是否 focused

* chore: 修改版本号

* fix: 修复命名

---------

Co-authored-by: nashaofu <nashaofu@users.noreply.github.com>
* feat: 优化windows 代码

* feat: windows 获取友好的显示器名称

* feat: macos切换底层依赖到objc2

* chore: 修改版本号

* chore: 格式化

---------

Co-authored-by: nashaofu <nashaofu@users.noreply.github.com>
* fix: 修复 macos Monitor::from_point 未找到窗口时仍然返回数据问题

* chore: 修改版本号

---------

Co-authored-by: nashaofu <nashaofu@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants