davc0n
adbae0f74d
protocols: refactor class member vars (a-m) ( #10265 )
2025-05-04 00:13:29 +02:00
davc0n
d9cad5e1b6
protocols: refactor class member vars (core) ( #10259 )
2025-05-03 16:02:49 +02:00
davc0n
5b3e489108
inputs: refactor class member vars ( #10230 )
2025-05-01 23:57:11 +02:00
davc0n
241a4935a2
compositor: refactor class member vars ( #10141 )
2025-04-22 15:23:29 +02:00
Vaxry
8bbeee1173
core: Add clang-tidy ( #8664 )
...
This adds a .clang-tidy file for us.
It's not a strict requirement to be compliant, but I tuned it to be alright.
2024-12-07 18:51:18 +01:00
Sungyoon Cho
eb97d949aa
textinput: don't reset if ti isn't enabled ( #7798 )
2024-09-15 17:31:38 +01:00
Sungyoon Cho
118be4dea0
textinput: fix tiv3 leave ( #7761 )
2024-09-12 17:41:24 +01:00
Sungyoon Cho
155d44016d
textinput: handle IME resetting ( #7731 )
2024-09-10 14:49:10 +01:00
Sungyoon Cho
e1448732b3
tiv1: fix deleting first character ( #7716 )
2024-09-09 09:58:44 +01:00
Sungyoon Cho
727f1b54cd
textinput: fix ime activation in some edge cases ( #7660 )
...
* textinput: clear ti3 state when focused surface gets destroyed
* textinput: send enter to newly created ti in focus
2024-09-05 20:04:23 +01:00
Sungyoon Cho
6934e7aa2b
textinput: don't deactivate ime if another ti is focused ( #7617 )
2024-09-01 21:33:31 +02:00
Sungyoon Cho
8bbeee2041
textinput: send deactivate to ime on destory ti ( #7614 )
2024-09-01 18:44:33 +02:00
Ikalco
60b663e276
protocols: move text-input-v1 to hyprwayland-scanner ( #7096 )
...
* move text-input-v1 to hyprwayland-scanner
* vro
2024-07-29 18:14:19 +02:00
Vaxry
13bc7e1e14
style: fix clang-format
2024-07-13 12:36:35 +02:00
Vaxry
6967a31450
wayland/core: move to new impl ( #6268 )
...
* wayland/core/dmabuf: move to new impl
it's the final countdown
2024-06-08 10:07:59 +02:00
Vaxry
1ed1ce9506
internal: new shared_ptr and weak_ptr implementation ( #5883 )
...
moves std::shared_ptrs to a new implementation
Advantages:
- you can dereference a weak_ptr directly. This will obviously segfault on a nullptr deref if it's expired.
- this is useful to avoid the .lock() hell where we are 100% sure the pointer _should_ be valid. (and if it isn't, it should throw.)
- weak_ptrs are still valid while the SP is being destroyed.
- reasoning: while an object (e.g. CWindow) is being destroyed, its `weak_ptr self` should be accessible (the sp is still alive, and so is CWindow), but it's not because by stl it's already expired (to prevent resurrection)
- this impl solves it differently. w_p is expired, but can still be dereferenced and used. Creating `s_p`s is not possible anymore, though.
- this is useful in destructors and callbacks.
2024-05-05 17:16:00 +01:00
Vaxry
8bcccf9f0f
ime-v2: move to new impl
2024-05-01 16:41:17 +01:00
Vaxry
1d40af64d3
text-input-v3: move to new impl
2024-04-25 23:27:44 +01:00
Sungyoon Cho
04d067d78b
IME: fix race condition on closing window ( #5455 )
2024-04-06 15:54:02 +01:00
Sungyoon Cho
c4b660a339
IME: fix crash on restarting IME ( #5428 )
2024-04-04 17:34:04 +01:00
Sungyoon Cho
ecc1f22e05
textinput: fix typo ( #5365 )
2024-04-01 00:41:00 +01:00
Vaxry
4156b55cf9
textinput: send deactivate on disable ti
...
ref #5288
2024-03-31 21:30:36 +01:00
Vaxry
77f26997fd
IME: don't assert on lock mismatch, just fix it
2024-03-30 17:01:02 +00:00
Vaxry
2571875453
format: fix format
2024-03-28 02:28:22 +00:00
Sungyoon Cho
ae52b7f468
textinput: fix ime when opening multiple windows ( #5281 )
2024-03-26 15:16:09 +00:00
Vaxry
5cc4bf699c
IME: Refactor and fixup popups
2024-03-24 16:08:25 +00:00
Vaxry
acf15e5579
text-input: reset lock counter on surface destroy
...
fixes #5231
2024-03-24 15:00:00 +00:00
Sungyoon Cho
2d5fda4810
input: fix crash with text-input-v1 ( #5234 )
2024-03-23 21:12:27 +00:00
Vaxry
9f2ed02f35
IME/TI: Fixes and refactoring
...
Fixes #5189
2024-03-22 23:08:52 +00:00