summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Merge pull request #239 from SebOuellette/mainvaxerski2022-06-211-18/+22
| |\ \ | | | | | | | | Optimize cursor constraints for games
| | * | dang it autoformatvaxerski2022-06-211-1/+1
| | | |
| | * | cleaner codevaxerski2022-06-211-79/+77
| | | |
| | * | Passes all constraint tests!SebOuellette2022-06-211-80/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So a summary of what's been done in this fork/PR. Instead of moving the cursor, we're warp_closest ing. warp_absolute didn't work, so warp closest has kindof an auto constrain feature so it works beautifully. I'm also contraining to the right side of the window - 1, because the cursors are treating that pixel as the next pixel over, so it was actually thinking it was on the next monitor (assuming fullscreen) when the cursor got to the right or bottom of the window. TL;DR rounding issue. This fix didn't work when you had a fullscreen video playing on a monitor beside, so I also fixed that by ignoring all focus changes or whatever when a constraint actually occured, we obviously just don't want to focus another monitor when constrained, so why not just *disable it when a constraint happened* The PR is now ready, I love Hyprland, and I can't wait to contribute more :)
| | * | Actually, mostly working.SebOuellette2022-06-211-1/+1
| | | | | | | | | | | | | | | | One failure case: When there is a fullscreen window directly to the right of a game, for example, in a multimonitor setup, then the cursor will bug out in between the monitors. sometimes it will get constrained to the border, but just outside the window (which is what this PR fixes, so it's unusual) and sometimes the cursor will just ignore the constraint entirely. However this is only in the one case.
| | * | Mouse no longer removes focus from constraining windowSebOuellette2022-06-201-20/+18
| | | | | | | | | | | | | | | | | | | | | | | | The window properly constrains the mouse now I do still notice a bug with moving the mouse in games, if you don't move the mouse fast enough, some games will not register the mouse movement. This doesn't happen in KDE so I know it's related somehow
| | * | Merge branch 'vaxerski:main' into mainSebastian Ouellette2022-06-206-56/+88
| | |\|
| | * | Set the constraint position to the window center (properly)Sebastian Ouellette2022-06-191-1/+1
| | | | | | | | | | | | Missed one expression, it was set to the bottom middle. I missed it because i don't have an extra monitor extending from the bottom of that screen.
| | * | Converted tabs to spaces. Now ready for PRSebastian Ouellette2022-06-191-5/+5
| | | |
| | * | Cleaned up some old debugSebOuellette2022-06-191-16/+8
| | | |
| | * | Invisible cursors are constrained to centerSebastian Ouellette2022-06-191-15/+25
| | | | | | | | | | | | | | | | | | | | This is a first version of my test to properly constrain cursors. This is mostly working in the buggy applications I had before, but I feel that the cursor needs to actually move around, instead of being locked to the center of the window. This may cause problems when locking to the edge, but yeah.
| * | | support all workspace types in workspace keywordvaxerski2022-06-213-8/+15
| | | |
| * | | move ignore to eventmanager and fix double focus in changeworkspacevaxerski2022-06-214-12/+12
| | | |
| * | | fix rapid blinking on launchvaxerski2022-06-212-2/+8
| | |/ | |/|
* | | Change workspace wheel scrolling directionDarksome2022-06-241-1/+1
| | |
* | | Add workspace switching with mouse wheelDarksome2022-06-203-3/+21
|/ /
* | Merge pull request #205 from sp1ritCS/mesonvaxerski2022-06-206-56/+88
|\ \ | |/ |/| Added meson buildfiles
| * meson: ensure non-debug builds will use proper configurationFlorian "sp1rit"​2022-06-182-0/+7
| | | | | | | | | | | | meson will set add -DHYPRLAND_DEBUG to CXXFLAGS during compilation of debug builds. this avoids NDEBUG issues with wlroots and ensures asserts will also work on release builds.
| * meson: added wayland dependencies to main executableFlorian "sp1rit"​2022-06-161-0/+2
| |
| * moved wlroots/xwayland definitions to the main meson fileFlorian "sp1rit"​2022-06-161-13/+0
| | | | | | | | | | | | prevents build-failure when xwayland is disabled to to add_project_arguments('-DNO_XWAYLAND', language: 'cpp') beeing called after the required wayland protocols have been built.
| * replaced source list with globber scriptFlorian "sp1rit"​2022-06-161-43/+2
| | | | | | | | | | | | See: - https://mesonbuild.com/FAQ.html#why-cant-i-specify-target-files-with-a-wildcard - https://github.com/vaxerski/Hyprland/pull/205#issuecomment-1154158918
| * Added meson buildfilesFlorian "sp1rit"​2022-06-164-56/+133
| | | | | | | | | | | | | | | | | | | | | | | | this makes for a far better experience in combination with wlroots, since that whole makefile mess is not required. Additionaly, handling of wayland protocol sources is also slightly better, but could be improved with mesons inbuilt wayland module. To build Hyprland using meson: meson _build -Ddefault_library=static ninja -C _build ninja -C _build install
* | undo formattingYoni FIRROLONI2022-06-171-93/+52
| |
* | move, set active, recalc, anim on monitor connectedYoni FIRROLONI2022-06-171-55/+99
| |
* | Merge pull request #231 from CcydtN/mainvaxerski2022-06-172-4/+77
|\ \ | |/ |/| Fix zombie process problem
| * Fixing format issueCcydtN2022-06-172-23/+23
| |
| * Fix generating zombie processCcydtN2022-06-172-6/+79
| |
* | Resolves #204. Enables numlock on startup when configured to do so.bazuin-322022-06-162-1/+2
|/
* Create config directory if it doesn't existBruno Ancona2022-06-151-1/+11
|
* CodestyleMarco Siedentopf2022-06-121-3/+3
|
* Merge branch 'vaxerski:main' into mainMarco Siedentopf2022-06-121-1/+5
|\
| * Access config value staticallyspectreseven11382022-06-121-3/+3
| |
| * Add loose (2) option to follow_mouse configspectreseven11382022-06-121-1/+5
| |
* | Implemented Config options for TouchpadsMarco Siedentopf2022-06-121-1/+14
| | | | | | Implemented Options to 1. toggle between clickfinger behavior and software buttons, 2. button emulation and 3. tap-to-click
* | Added Config options for TouchpadsMarco Siedentopf2022-06-121-0/+3
|/ | | Added Options to 1. toggle between clickfinger behavior and software buttons, 2. middle button emulation and 3. tap-to-click
* Add natural_scrolling option for touchpads onlyBruno Ancona2022-06-112-2/+9
|
* fullscreen fixFrancois Rigaut2022-06-111-2/+1
|
* find surfaces in reverse for focusvaxerski2022-06-101-3/+3
|
* added focuswindowbyclassvaxerski2022-06-102-0/+27
|
* cyclenextvaxerski2022-06-101-1/+1
|
* Added circlenextvaxerski2022-06-102-1/+14
|
* remove unfocusallvaxerski2022-06-093-22/+0
|
* de-focusify on lost proximityvaxerski2022-06-091-0/+6
|
* oopsievaxerski2022-06-092-5/+10
|
* unfocus on destroyvaxerski2022-06-091-0/+6
|
* unfocus tabletsvaxerski2022-06-093-7/+23
|
* log tablets in hyprctlvaxerski2022-06-091-0/+14
|
* remove redundant logsvaxerski2022-06-091-42/+7
|
* set proximity in tabletsvaxerski2022-06-093-21/+27
|
* logify even morevaxerski2022-06-091-10/+30
|