9f2ed02f35
IME/TI: Fixes and refactoring
...
Fixes #5189
2024-03-22 23:08:52 +00:00
8c88689faf
IME: guard unfocused TIs in leave
2024-03-22 18:58:28 +00:00
d2b42e29c6
IME: fix crashes with destroyed text-inputs
...
ref #5189
2024-03-22 18:45:28 +00:00
joshua
5c1097cbc1
IME: Improve handling of text-input and ime-relay ( #5147 )
...
* input: Handling multiple surfaces for the text-input-v1 protocol implementation and imporve InputMethodRelay logic
fixes #2708
* clang-format
* minor style nits
---------
Co-authored-by: Vaxry <vaxry@vaxry.net>
2024-03-19 15:54:33 +00:00
GartoxFR
b2c3440477
animations: Refactor AnimatedVariable ( #4911 )
...
* animation: Refactor AnimatedVariable
This commit decomposes the AnimatedVariable class into a base class
with the common attribute to all variable types and a templated derived
type containing strongly typed info on the type being animated.
Access to the typed version is perfomed using the visitor pattern. A
utility is provided to build a visitor on the fly using lambdas.
Adding a new type to be animated should just be a matter of adding the
typed in the list defined by the ANIMABLE_TYPES macro
The size of the commit is justified by the API change in the
AnimatedVariable class. No more vec(), fl() or col() method but a unified
value() method.
* animation: Remove visitor pattern
* animation: Fix coding style
* animation: Fix coding style
2024-03-02 00:35:17 +00:00
ffd7217243
IME: don't set modifiers on grab destroy
2024-02-27 12:23:45 +00:00
Vaxry
55b4f84fea
Internal: Hyprland box implementation ( #3755 )
...
* box impl
* remove unused operators
* missed applyfromwlr
2023-11-04 17:03:05 +00:00
a61eb7694d
hooksystem: add callbackinfo struct and cancellable events
2023-10-21 14:52:43 +01:00
q234rty
5035f5fc68
text-input-v1: Fix preedit styling in chromium ( #3131 )
2023-09-01 16:39:15 +02:00
147e962370
deps: update wlroots
2023-06-03 12:20:28 +02:00
vaxerski
d63e8c8f45
ime: account for text height in popup calcs
2023-03-14 16:46:39 +00:00
vaxerski
7e5a3eb045
ime: fix panels overflowing on corners
2023-03-14 16:12:25 +00:00
vaxerski
f960f72785
input: minor fixes for tiv1
2023-03-14 14:37:00 +00:00
vaxerski
0807b8b95f
tiv1: minor fixes for crashes
2023-03-14 13:51:08 +00:00
Vaxry
5dc1a5fec6
input: text-input-v1 support ( #1778 )
...
support zwp_text_input_v1
---------
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2023-03-14 12:57:50 +00:00
Vaxry
1b56cc4e99
Added an Event Hook System ( #1578 )
...
* added an eventHookSystem
* Add all socket2 events to hooks
2023-02-19 20:54:53 +00:00
vaxerski
a46abd8b1a
update wlroots dep
2023-02-03 12:43:43 +00:00
4ec034ad49
send enter for IME popups
2023-01-10 19:21:59 +01:00
Vaxry
98a4fa2b0d
Added clang format ( #1239 )
...
* clang-format stuff and format files
2022-12-16 17:17:31 +00:00
vaxerski
5f2c741f49
remove spammy ime logs
2022-11-10 12:24:41 +00:00
vaxerski
644c64d79d
lower IME errors to WARNs
2022-10-28 21:47:08 +01:00
Felix Dick
bf3f519eb7
Remove trailing whitespace.
2022-09-25 20:07:48 +02:00
vaxerski
f663fa209c
minor code styling fixes
2022-09-09 19:08:11 +02:00
vaxerski
23c5760538
IME Popup damage fixes
2022-08-23 11:16:35 +02:00
vaxerski
6565c31dbf
fix IME grab on multiple open native inputs
2022-08-22 18:40:38 +02:00
vaxerski
78e4f274bc
remove some spammy logs from IME
2022-08-05 19:03:03 +02:00
vaxerski
14026d4484
move IME panel below the cursor to not obstruct
2022-08-05 18:54:59 +02:00
vaxerski
ad42392856
fix rare IME crash
2022-08-05 17:19:49 +02:00
vaxerski
e0ada97a24
support zwp_input_method_v2 popups
2022-08-05 17:07:01 +02:00
vaxerski
9a8a6317ff
multiple IME fixes
2022-08-05 16:21:08 +02:00
vaxerski
cb5521ec6e
fix possible crashes with IME
2022-08-05 13:19:16 +02:00
vaxerski
1c4d0e8c18
added IME protocol support
2022-08-05 13:03:37 +02:00