Commit Graph

619 Commits

Author SHA1 Message Date
DreamMaoMao
4b1d2ef88a opt: optimize layer fadein animaiton 2025-11-02 09:31:02 +08:00
DreamMaoMao
f4a3e55515 opt: optimize fade in animaiton 2025-11-02 09:24:59 +08:00
DreamMaoMao
12e5c03600 fix: miss free kb_layout string 2025-11-01 22:54:53 +08:00
DreamMaoMao
30dd766abc fix: miss free baked_points_focus when reload config 2025-11-01 22:41:22 +08:00
DreamMaoMao
f8060d2f8f opt: simple keyboard layout switch 2025-11-01 21:42:26 +08:00
DreamMaoMao
d75d819e28 feat: add back switch_keybaord_layout 2025-11-01 21:20:09 +08:00
DreamMaoMao
8420d3496a Merge branch 'main' into feat/focus-animation 2025-11-01 19:27:09 +08:00
DreamMaoMao
78f7cb40c7 opt: optimize animaiton frame fresh 2025-11-01 19:24:37 +08:00
DreamMaoMao
3ed36a6ea6 break change: remove switch_keyboard_layout dispatch 2025-11-01 19:06:04 +08:00
DreamMaoMao
d05a2b5b00 opt: optimize config reload fresh 2025-11-01 16:50:45 +08:00
DreamMaoMao
6fdb962786 fix: fix focus animation error 2025-11-01 16:00:25 +08:00
DreamMaoMao
0ab38c6aa6 opt: optimize null check in get_next_stack_client 2025-11-01 14:39:41 +08:00
DreamMaoMao
ef92281b2a opt: avoid crash when Incorrect Settings for keyboard layout 2025-11-01 14:29:53 +08:00
Szymon Rączka
8f706688de feat: add smooth focus transition animation for opacity and border
This adds animated transitions when switching focus between windows.
Both window opacity and border color now fade smoothly using cubic
bezier easing instead of changing instantly.

Implementation:
- Added animation_duration_focus config option (default 400ms)
- Added animation_curve_focus for cubic bezier easing curve
- Window opacity and border color animate together when focus changes
- Uses existing animation infrastructure (baked bezier points)

The feature is backwards compatible and can be disabled by setting
animation_duration_focus=0 in config file.

Changes affect 5 files with minimal additions to keep code clean.
2025-10-31 22:33:38 +01:00
DreamMaoMao
5bb149f84e opt: Distinguish whether to maximize based on the client's request 2025-10-31 18:30:53 +08:00
DreamMaoMao
17f0562cfb opt: default ignore maximize request 2025-10-31 14:19:56 +08:00
DreamMaoMao
99854aa4ea opt: optimize viewcrossmon 2025-10-30 22:20:13 +08:00
DreamMaoMao
05e9d149c1 feat: support get scale by mmsg 2025-10-30 14:13:54 +08:00
DreamMaoMao
27fdead702 feat: add dispatch enable_monitor,disable_monitr,toggle_monitor 2025-10-30 13:30:02 +08:00
reDpz
26fd6894eb Set arg.i = UNDIR so that focusmon uses arg.v to select monitor 2025-10-29 23:34:08 +08:00
DreamMaoMao
9b5ea50095 feat: add dispatch viewcrossmon and tagcrossmon 2025-10-29 13:40:12 +08:00
DreamMaoMao
cbcbda25cd break change: correct maxmize to maximize 2025-10-28 20:29:25 +08:00
DreamMaoMao
918a00d578 opt: allow switch focus between fullscreen and floating window in focusstack 2025-10-27 12:46:04 +08:00
DreamMaoMao
bc2b22946c opt: only find same monitor when find same x and same y client 2025-10-26 15:38:19 +08:00
DreamMaoMao
c20a4139a1 opt: dont set border for fullscreen window when reload config 2025-10-25 14:38:52 +08:00
DreamMaoMao
3fa306fc19 opt: default numlock to 0 2025-10-22 14:13:53 +08:00
DreamMaoMao
bf6644c9f5 opt: optimize keymap set 2025-10-22 13:41:40 +08:00
DreamMaoMao
25067738ed Merge pull request #322 from WeraPea/drm_lease
feat: add support for DRM lease protocol
2025-10-22 11:03:38 +08:00
DreamMaoMao
e9565f88f6 feat: auto convert keysym to keycode bind 2025-10-22 10:40:08 +08:00
werapi
5e8c5c8732 feat: add support for DRM lease protocol
This implementation is based on a patch authored by Micah Gorrell (minego) for dwl.

Original repository: https://github.com/minego/dwl
Original commit: 94c448a842fc3a9fae454646e149ac63b69e7ef8
2025-10-21 15:37:25 +02:00
DreamMaoMao
f7379f625d fix: only set maxmize when ismaxmizescreen is true 2025-10-21 18:06:46 +08:00
DreamMaoMao
5429b723f6 opt: make tag animation more consistent 2025-10-21 16:29:30 +08:00
werapi
242cfb3c2f fix: ensure tag changes happen on correct monitor 2025-10-21 16:11:05 +08:00
DreamMaoMao
67b5e82bbe opt: limit config parse string length to 255 2025-10-21 16:11:05 +08:00
David Delarosa
cc2bd9d599 opt: limit scanf string length to 255 2025-10-21 16:11:05 +08:00
DreamMaoMao
d40d4a2ea6 opt: reset master per when setmfact toggle 2025-10-20 18:07:43 +08:00
werapi
3ec1a0198b opt: make focusmon and tagmon respect warpcursor setting 2025-10-20 18:07:43 +08:00
DreamMaoMao
a707feeb11 opt: remove useless keyboard code 2025-10-19 14:32:33 +08:00
DreamMaoMao
5ed681cbe5 opt: reduce times of resize request when drag window to resize 2025-10-19 09:54:17 +08:00
DreamMaoMao
17009f5364 fix: should set global client tag before caculate number of client in arrange 2025-10-18 20:39:31 +08:00
DreamMaoMao
80efd31e21 opt: fix build warnning 2025-10-18 13:03:00 +08:00
DreamMaoMao
e7e7a86b8c opt: set client maximize state false when toggle floating 2025-10-16 09:21:51 +08:00
DreamMaoMao
3af325fef7 opt: do noting when view same tag widht view_current_to_back disalbed 2025-10-16 09:05:45 +08:00
DreamMaoMao
3547e567cb opt: remove useless code 2025-10-15 23:26:28 +08:00
DreamMaoMao
4954711b3b opt: add force_maximize
sf
2025-10-15 22:45:20 +08:00
DreamMaoMao
9941bf9752 rollback: remove force_tile_state option
Since the non-tiled state can cause the size of some Windows to be out
of sync with the synthesizer's expectations, all Windows are set to the
tiled state by default again
2025-10-15 21:24:41 +08:00
DreamMaoMao
a839771ddf opt: always set tile edge but not always set maximize 2025-10-15 21:07:20 +08:00
DreamMaoMao
139fd35a76 opt: remove menu cap in init 2025-10-15 19:30:04 +08:00
DreamMaoMao
d80de39fbb opt: tile state window not set WLR_EDGE_NONE when cancel maximize 2025-10-15 19:26:33 +08:00
DreamMaoMao
1cfa5885e7 opt: set init properties value in init commit 2025-10-15 18:41:05 +08:00