Commit graph

615 commits

Author SHA1 Message Date
DreamMaoMao
4ee55fc0ba feat: add back switch_keybaord_layout 2025-11-01 21:21:02 +08:00
DreamMaoMao
f25386cca2 fix: fix focus animation error 2025-11-01 19:32:43 +08:00
Szymon Rączka
e0f114af59 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-11-01 19:29:28 +08:00
DreamMaoMao
cbfd20bff8 opt: optimize animaiton frame fresh 2025-11-01 19:24:45 +08:00
DreamMaoMao
e03be59c80 break change: remove switch_keyboard_layout dispatch 2025-11-01 19:06:34 +08:00
DreamMaoMao
f06dc505e3 opt: optimize config reload fresh 2025-11-01 16:51:04 +08:00
DreamMaoMao
54779e3cbd opt: optimize null check in get_next_stack_client 2025-11-01 15:58:51 +08:00
DreamMaoMao
3ebb9a1508 opt: avoid crash when Incorrect Settings for keyboard layout 2025-11-01 15:58:44 +08:00
DreamMaoMao
e658274b71 opt: Distinguish whether to maximize based on the client's request 2025-11-01 15:58:36 +08:00
DreamMaoMao
9e41545ed5 opt: default ignore maximize request 2025-10-31 14:20:08 +08:00
DreamMaoMao
633a11b225 opt: optimize viewcrossmon 2025-10-30 22:20:25 +08:00
DreamMaoMao
eedff5b085 feat: support get scale by mmsg 2025-10-30 14:18:06 +08:00
DreamMaoMao
15354898c8 feat: add dispatch enable_monitor,disable_monitr,toggle_monitor 2025-10-30 13:30:13 +08:00
reDpz
2764b1103a Set arg.i = UNDIR so that focusmon uses arg.v to select monitor 2025-10-29 23:34:50 +08:00
DreamMaoMao
ce96b774d7 feat: add dispatch viewcrossmon and tagcrossmon 2025-10-29 13:42:02 +08:00
DreamMaoMao
8f9e9255b3 break change: correct maxmize to maximize 2025-10-28 20:29:37 +08:00
DreamMaoMao
31f376f998 opt: allow switch focus between fullscreen and floating window in focusstack 2025-10-27 12:46:46 +08:00
DreamMaoMao
2d3b89e23d opt: only find same monitor when find same x and same y client 2025-10-26 18:11:52 +08:00
DreamMaoMao
424adf8e11 opt: dont set border for fullscreen window when reload config 2025-10-25 14:39:02 +08:00
DreamMaoMao
8708cb347f opt: default numlock to 0 2025-10-22 14:14:05 +08:00
DreamMaoMao
c69b736d0e opt: optimize keymap set 2025-10-22 14:04:47 +08:00
werapi
86cedaadca 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-22 11:04:33 +08:00
DreamMaoMao
b08939bb69 feat: auto convert keysym to keycode bind 2025-10-22 10:40:17 +08:00
DreamMaoMao
c07cc8be5a fix: only set maxmize when ismaxmizescreen is true 2025-10-21 18:49:50 +08:00
DreamMaoMao
8c48e2391b opt: make tag animation more consistent 2025-10-21 16:27:25 +08:00
werapi
10406cebce fix: ensure tag changes happen on correct monitor 2025-10-21 16:11:16 +08:00
DreamMaoMao
f472dfecf5 opt: limit config parse string length to 255 2025-10-21 16:11:16 +08:00
David Delarosa
b5700b1e86 opt: limit scanf string length to 255 2025-10-21 16:11:16 +08:00
DreamMaoMao
a9f42ad6dc opt: reset master per when setmfact toggle 2025-10-20 18:07:59 +08:00
werapi
568befdd3f opt: make focusmon and tagmon respect warpcursor setting 2025-10-20 18:07:59 +08:00
DreamMaoMao
134242196e opt: remove useless keyboard code 2025-10-19 14:32:43 +08:00
DreamMaoMao
42444aa0e7 opt: reduce times of resize request when drag window to resize 2025-10-19 09:54:30 +08:00
DreamMaoMao
c7591bb6b7 fix: should set global client tag before caculate number of client in arrange 2025-10-18 20:39:39 +08:00
DreamMaoMao
1f3696c37a opt: fix build warnning 2025-10-18 13:03:08 +08:00
DreamMaoMao
c756233964 chase: chase ime break change for wlroots 0.20 2025-10-17 12:41:34 +08:00
DreamMaoMao
702c24e8b1 opt: set client maximize state false when toggle floating 2025-10-16 09:22:00 +08:00
DreamMaoMao
e7184762a4 opt: do noting when view same tag widht view_current_to_back disalbed 2025-10-16 09:05:55 +08:00
DreamMaoMao
9fd56f60ec opt: remove useless code 2025-10-15 23:26:39 +08:00
DreamMaoMao
28bd66d4b0 opt: add force_maximize
sf
2025-10-15 22:45:48 +08:00
DreamMaoMao
43798176f3 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:54 +08:00
DreamMaoMao
fd3d18921d opt: always set tile edge but not always set maximize 2025-10-15 21:07:35 +08:00
DreamMaoMao
8f97969a1b opt: remove menu cap in init 2025-10-15 19:30:50 +08:00
DreamMaoMao
f80e5656bf opt: tile state window not set WLR_EDGE_NONE when cancel maximize 2025-10-15 19:30:40 +08:00
DreamMaoMao
0692135cd7 opt: set init properties value in init commit 2025-10-15 18:41:13 +08:00
DreamMaoMao
ae98c1c4a6 opt: not set maximize and minimize cap if the action is disabled 2025-10-15 18:35:57 +08:00
DreamMaoMao
9369adb2fa opt: optimize tile state set in maximize 2025-10-15 18:07:02 +08:00
DreamMaoMao
66361befa5 opt: optimize grid layout gap 2025-10-15 16:24:24 +08:00
DreamMaoMao
32d494eb98 opt: optimize statk hight in center_tile 2025-10-15 16:24:19 +08:00
DreamMaoMao
a0ad794a9c opt: optimize center_tile gap 2025-10-15 16:24:13 +08:00
DreamMaoMao
a8905b4384 feat: add layout right_tile 2025-10-15 13:22:49 +08:00