summaryrefslogtreecommitdiff
path: root/src/managers/input/InputMethodRelay.cpp
Commit message (Collapse)AuthorAgeFilesLines
* input/ti: avoid sending events to inactive TIsVaxry2026-01-011-0/+5
| | | | ref https://github.com/hyprwm/Hyprland/discussions/12105
* debug: move to hyprutils' logger (#12673)Vaxry2025-12-181-4/+4
|
* compositor: Configurable behavior when window to be focused conflicts with ↵Nikolai Nechaev2025-11-251-8/+7
| | | | | | | | | | fullscreen (#12033) Renames `misc:new_window_takes_over_fullscreen` into `misc:on_focus_under_fullscreen` and implements the following behavior: - By default, when a tiling window is being focused on a workspace where a fullscreen/maximized window exists, respect the `misc:on_focus_under_fullscreen` config variable.
* core: use new typed signals from hu (#10853)outfoxxed2025-07-081-8/+7
|
* protocols: refactor class member vars (n-t) (#10273)davc0n2025-05-041-2/+2
|
* protocols: refactor class member vars (a-m) (#10265)davc0n2025-05-041-4/+4
|
* inputs: refactor class member vars (#10230)davc0n2025-05-011-31/+31
|
* compositor: refactor class member vars (#10141)davc0n2025-04-221-6/+6
|
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-3/+3
|
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-0/+1
| | | Cleanup some unneeded includes to speed up compilation
* internal: remove dead code (#8748)Ikalco2024-12-171-4/+0
|
* textinput: handle IME resetting (#7731)Sungyoon Cho2024-09-101-4/+6
|
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-7/+7
| | | now we roll loops at blazing constified speed.
* protocols: move text-input-v1 to hyprwayland-scanner (#7096)Ikalco2024-07-291-4/+6
| | | | | * move text-input-v1 to hyprwayland-scanner * vro
* ime-relay: fix crash on nullptr surface focusVaxry2024-06-251-0/+3
|
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-9/+11
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-051-3/+3
| | | | | | | | | | | 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.
* ime-v2: move to new implVaxry2024-05-011-96/+32
|
* text-input-v3: move to new implVaxry2024-04-251-2/+5
|
* HookSystem: improve callback safetyVaxry2024-04-201-1/+1
|
* IME: fix IME popup mouse inputs (again) (#5417)Junxuan Liao2024-04-071-0/+9
| | | | | | | | `lastBoxLocal`'s size should be the actual popup's size instead of the cursor rectangle's size. Also, the rectangle position is now relative to the popup. (Actually fixes #5255 imho.) One thing #3922 missed was handling focus held by buttons. Let's hope I get it right this time.
* IME: fix race condition on closing window (#5455)Sungyoon Cho2024-04-061-0/+19
|
* IME: fix crash on restarting IME (#5428)Sungyoon Cho2024-04-041-3/+13
|
* IME: Refactor and fixup popupsVaxry2024-03-241-133/+21
|
* IME/TI: Fixes and refactoringVaxry2024-03-221-334/+58
| | | | Fixes #5189
* IME: guard unfocused TIs in leaveVaxry2024-03-221-0/+3
|
* IME: fix crashes with destroyed text-inputsVaxry2024-03-221-9/+12
| | | | ref #5189
* IME: Improve handling of text-input and ime-relay (#5147)joshua2024-03-191-83/+118
| | | | | | | | | | | | | * 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>
* animations: Refactor AnimatedVariable (#4911)GartoxFR2024-03-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | | * 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
* IME: don't set modifiers on grab destroyVaxry2024-02-271-4/+0
|
* Internal: Hyprland box implementation (#3755)Vaxry2023-11-041-3/+3
| | | | | | | * box impl * remove unused operators * missed applyfromwlr
* hooksystem: add callbackinfo struct and cancellable eventsVaxry2023-10-211-1/+1
|
* text-input-v1: Fix preedit styling in chromium (#3131)q234rty2023-09-011-3/+3
|
* deps: update wlrootsvaxerski2023-06-031-4/+4
|
* ime: account for text height in popup calcsvaxerski2023-03-141-1/+1
|
* ime: fix panels overflowing on cornersvaxerski2023-03-141-1/+11
|
* input: minor fixes for tiv1vaxerski2023-03-141-4/+9
|
* tiv1: minor fixes for crashesvaxerski2023-03-141-1/+3
|
* input: text-input-v1 support (#1778)Vaxry2023-03-141-47/+110
| | | | | | | support zwp_text_input_v1 --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* Added an Event Hook System (#1578)Vaxry2023-02-191-1/+3
| | | | | * added an eventHookSystem * Add all socket2 events to hooks
* update wlroots depvaxerski2023-02-031-4/+4
|
* send enter for IME popupsvaxerski2023-01-101-0/+3
|
* Added clang format (#1239)Vaxry2022-12-161-140/+151
| | | * clang-format stuff and format files
* remove spammy ime logsvaxerski2022-11-101-4/+4
|
* lower IME errors to WARNsvaxerski2022-10-281-5/+5
|
* Remove trailing whitespace.Felix Dick2022-09-251-4/+4
|
* minor code styling fixesvaxerski2022-09-091-3/+1
|
* IME Popup damage fixesvaxerski2022-08-231-0/+7
|
* fix IME grab on multiple open native inputsvaxerski2022-08-221-3/+0
|
* remove some spammy logs from IMEvaxerski2022-08-051-5/+0
|