summaryrefslogtreecommitdiff
path: root/src/managers/input
Commit message (Collapse)AuthorAgeFilesLines
* input: Option for handling off-window axis events (#4177)dranull2024-04-081-0/+19
|
* IME: fix IME popup mouse inputs (again) (#5417)Junxuan Liao2024-04-076-41/+53
| | | | | | | | `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.
* input: Dont set active monitor when simulating mouse movement (#5465)thejch2024-04-071-5/+5
| | | | | * fix mouse simulation switching focusedmon * fix some warnings with wrong enum
* input: fix focus on maximized bg surfacesVaxry2024-04-061-3/+5
|
* IME: fix race condition on closing window (#5455)Sungyoon Cho2024-04-063-20/+26
|
* input: fixup background layer checking on maximizedVaxry2024-04-061-7/+6
|
* IME: fix crash on restarting IME (#5428)Sungyoon Cho2024-04-042-13/+21
|
* input: allow focus to bottom layers on maximized in reservedVaxry2024-04-031-9/+18
|
* swipe: add eventsVaxry2024-04-031-0/+6
|
* workspaces: add visible flagVaxry2024-04-031-1/+1
|
* Workspace/core: Refactor workspace storage (#5380)Vaxry2024-04-024-13/+13
| | | | | * refactor workspaces to use ptrs * clang-format
* IME: fix blurry ime on scaledVaxry2024-04-021-1/+8
| | | | ref #5387
* IME: fix incorrect popup damage (#5383)Sungyoon Cho2024-04-022-8/+14
|
* IME: Fix ime popup coordinates and artifacts (#5373)Sungyoon Cho2024-04-011-5/+5
| | | | | * ime: fix incorrect popup coordinate * ime: fix popup artifacts
* textinput: fix typo (#5365)Sungyoon Cho2024-04-011-1/+1
|
* textinput: send deactivate on disable tiVaxry2024-03-311-0/+9
| | | | ref #5288
* input: Fix incorrect keyboard focus taken when no window was present (#5337)Zach DeCook2024-03-311-4/+2
| | | A non-keyboard layer never needs keyboard focus
* IME: don't assert on lock mismatch, just fix itVaxry2024-03-301-2/+9
|
* format: fix formatVaxry2024-03-281-2/+2
|
* textinput: fix ime when opening multiple windows (#5281)Sungyoon Cho2024-03-261-1/+5
|
* layer-shell: render popups above everythingVaxry2024-03-251-0/+3
|
* keybinds: Fix exit trigger by moving it to monitor.frame (#5240)dmayle2024-03-252-5/+0
|
* ime: fix build without pchVaxry2024-03-241-0/+2
|
* IME: Refactor and fixup popupsVaxry2024-03-246-147/+247
|
* text-input: reset lock counter on surface destroyVaxry2024-03-241-0/+4
| | | | fixes #5231
* input: fix crash with text-input-v1 (#5234)Sungyoon Cho2024-03-231-1/+2
|
* input: Add options to set tablet's active area (#5199)Khalid2024-03-232-1/+14
| | | | | | | | | * Add options to set tablet's active area * Set tablet's active area in `setTabletConfigs` * Fix formatting for new variables in ConfigManager * Report tablet's physical size with hyprctl
* IME/TI: Fixes and refactoringVaxry2024-03-224-358/+393
| | | | Fixes #5189
* IME: guard unfocused TIs in leaveVaxry2024-03-221-0/+3
|
* IME: fix crashes with destroyed text-inputsVaxry2024-03-222-9/+13
| | | | ref #5189
* swipe: fix nullptr in `onSwipeUpdate` (#5191)Horror Proton2024-03-201-2/+2
|
* tablet: Add left_handed option for tablets (#5178)Khalid2024-03-201-0/+5
| | | | | * Add left_handed option for tablets * Update left_handed tablet option's fallback string
* refactor: move window.hpp to desktop/Vaxry2024-03-202-1/+2
|
* IME: Improve handling of text-input and ime-relay (#5147)joshua2024-03-192-88/+134
| | | | | | | | | | | | | * 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>
* tablet: minor focus fixesVaxry2024-03-191-8/+10
| | | | ref #3004
* swipe: Touchscreen workspace swipe (#4489)Zach DeCook2024-03-173-4/+79
| | | | | | | | | * Workspace Swipe: Refactor update and end functions * Touch: Implement workspace swipe better ignoring additional fingers and new touches allow gaps-right and gaps-left to be different
* input: fix minor default cursor reset conditionsVaxry2024-03-092-1/+5
|
* deps: update wlrootsVaxry2024-03-092-7/+7
|
* input: scale local coords in constraintsVaxry2024-03-081-1/+1
| | | | fixes #5029
* config: Add input:scroll_factor configuration (#4980)Grant Ammons2024-03-051-2/+3
| | | | | | | | | | * Allow for input:scroll_factor configuration This PR will allow for a `scroll_factor` configuration within an `input` block. The purpose is to control the scroll factor of external mice. Closes #2574. * clang-format
* input: send motion to confined cursorsVaxry2024-03-041-0/+1
|
* config: improve config value infrastructureVaxry2024-03-032-103/+105
|
* input: Rewritten pointer constraints (#4889)Vaxry2024-03-022-198/+55
| | | | | | | | | | | | | | | | | * rewritten constraints * send pointer enter on activate if not pointer focus * minor cleanup * simulate movement on commit * don't ignore oneshot prop * various fixes * dont send motion on confined * update pos hint on region change
* keybinds: better follow xkb translation stateVaxry2024-03-021-3/+4
| | | | fixes #4908
* animations: Refactor AnimatedVariable (#4911)GartoxFR2024-03-025-17/+17
| | | | | | | | | | | | | | | | | | | | | | | * 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
* core: add additional headers for Popup.cpp and InputMethodRelay.hpp (#4909)Brett Alcox2024-03-011-1/+2
|
* config: Add option to resolve keybinds by sym instead of code (#4851)Tobias Zimmermann2024-02-271-2/+9
| | | | | | | | | | | | | | This commit adds the new configuration option 'resolve_binds_by_sym' which can be set globally or per-device. It is off by default, which preserves the current behavior. This setting only affects the behavior of keybinds that are defined via key symbols, not those defined via keycode. Binds defined by symbols currently activate if the keycode pressed would generate the specified symbol on the first layout specified in the input section. If enabled, keys pressed on the relevant device will instead match keybinds by the symbols they produce with their current layout. Closes #1881.
* input: Map touch devices and tablets bound to an output (#3544)Philip Damianik2024-02-271-6/+22
| | | | | | | | | | | * Map bound touch devices and tablets to an output * Add "[[Auto]]" default option for auto detecting outputs for touch inputs * Bind new monitors to configured touch and tablet devices * Use Monitor::matchesStaticSelector in CConfigManager::getMonitorRuleFor * Use Monitor::matchesStaticSelector in CCompositor::getMonitorFromString
* IME: don't set modifiers on grab destroyVaxry2024-02-271-4/+0
|
* Migrate the config to hyprlang (#4656)Vaxry2024-02-182-102/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Migrate to hyprlang * pop up errors * fix swapped args * Meson & Nix: build with hyprlang * CI: add hyprlang to setup action * add infra for plugin stuff * fix hyprctl getoption * fix hyprctl getoption with json * format * fix post parse logic * fix autogen config * oops missed exec-once * fmt * fix ws rules * require 0.3.0 for hyprlang * nix: flaek * minor type fixes * fix cfg usages in swipe * use cvarlist for ws rules * fix throw in addPluginConfigVar * Nix: update hyprlang * minor fixes * fix disableLogs * mention hyprlang docs * bump hyprlang dep in cmake * Meson: bump min hyprlang version Nix: update hyprlang * minor fix * Nix: update meson patch --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>