Commit Graph

19 Commits

Author SHA1 Message Date
d8cd91ea48 feat: 状态栏配置接入配置系统 2026-03-09 00:49:09 +08:00
35f0ea9680 feat: 添加壁纸功能 2026-03-08 15:23:09 +08:00
4428eb056d fix: 修改 wm_set_current_monitor 函数实现避免光标乱跳
- 将 wm_set_current_monitor 改为支持 restore_cursor 参数,按场景决定是
  否恢复光标位置
- 仅在指针位于当前显示器时更新 cursor_position 缓存,减少错误覆盖
2026-03-03 07:23:34 +08:00
fb0999df90 feat: 统一 current_monitor 切换并让光标跟随 current_monitor 变化
- 新增 wm_set_current_monitor ,切换前记录光标当前所在 monitor 的最后
  位置
- 切换到目标 monitor 时按需恢复该 monitor 的光标位置
- 将 action/event/client 中直接赋值 wm.current_monitor 的逻辑改为统一
  调用 wm_set_current_monitor
- 优化 monitor_restore_cursor_point:首次未初始化时计算并设置位置
- 为 wm_get_monitor_by_area / wm_get_monitor_by_point 增加
  returns_nonnull 约束,并让 by_point 复用 by_area
2026-03-03 04:11:02 +08:00
194c2b000d 添加状态栏 2026-02-05 05:42:54 +08:00
8337ab9519 添加窗口规则支持 2026-02-04 16:47:35 +08:00
ef37f28fa5 处理锁屏或息屏重新进入桌面后 bar 不显示问题 2026-01-27 01:14:29 +08:00
049b18a496 调整 send_client_to_next_monitor 函数实现 2026-01-14 03:44:53 +08:00
ced78b004f 添加记录和恢复光标在每个 monitor 中的位置功能 2026-01-13 12:29:49 +08:00
6382afeb03 处理堆叠顺序 2025-12-22 11:37:18 +08:00
8eeeff5f3b 添加从 Xresources 中读取配置功能 2025-12-20 22:47:58 +08:00
364a00fb7c 添加边框 2025-12-20 20:22:41 +08:00
9594b84237 创建 WM_CHECK 窗口 2025-12-14 16:21:56 +08:00
e7447f8aaa 绘制布局标志 2025-12-08 03:37:29 +08:00
2df0b58cb0 初始化 xkb 扩展 2025-11-25 06:06:42 +08:00
e5927094d1 设置快捷键 2025-11-25 06:06:24 +08:00
14f321a45f 绘制 tag 标签 2025-11-14 12:24:22 +08:00
a2e40bf63a 计算 bar 高度 2025-11-14 05:39:04 +08:00
79425dc890 窗口管理器状态机设计 2025-11-13 16:48:08 +08:00