Commit graph

1223 commits

Author SHA1 Message Date
vaxerski
4a3f9ccba2 move ignore to eventmanager and fix double focus in changeworkspace 2022-06-21 22:17:30 +02:00
vaxerski
ff49f22440 fix rapid blinking on launch 2022-06-21 22:13:13 +02:00
vaxerski
a2fa1bc80d fix CMake debug mode 2022-06-21 22:09:46 +02:00
Mihai Fufezan
593f24a2ec
workflows: add meson version updater and update versions 2022-06-21 22:28:20 +03:00
Mihai Fufezan
8bd7234d72
nix: change build system to meson
flake.nix: change wlroots url to mirror, update version
flake.lock: update wlroots & nixpkgs
nix/update-inputs.sh: update wlroots url
2022-06-21 22:11:46 +03:00
vaxerski
f58bb0187b
Merge pull request #241 from viperML/main
Nix: refactor packages and overlays
2022-06-21 11:29:35 +01:00
SebOuellette
3dc2277fd0 Actually, mostly working.
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.
2022-06-21 02:23:57 -04:00
SebOuellette
ee7900f819 Mouse no longer removes focus from constraining window
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
2022-06-20 23:15:16 -04:00
Sebastian Ouellette
f7e9a27c0a
Merge branch 'vaxerski:main' into main 2022-06-20 22:05:02 -04:00
Darksome
8f62f6d4b0 Add workspace switching with mouse wheel 2022-06-20 22:47:28 +03:00
Caleb Owens
7d80327e7d fixed vertical swapping issue 2022-06-20 17:11:59 +01:00
Caleb Owens
3d46c73981 Added a multiplier for the width to height ratio 2022-06-20 14:37:27 +01:00
vaxerski
f5f531562b
Merge pull request #205 from sp1ritCS/meson
Added meson buildfiles
2022-06-20 13:56:58 +01:00
Fernando Ayats
4efd913de8 nix: use the overlay in the module 2022-06-20 13:04:40 +02:00
Fernando Ayats
bd95301188 nix: no pseudo-overlay 2022-06-20 12:16:07 +02:00
Fernando Ayats
d6b324306b nix: add a proper overlay and cleanup flake 2022-06-20 11:50:06 +02:00
Sebastian Ouellette
dc84935059
Set the constraint position to the window center (properly)
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.
2022-06-19 16:54:59 -04:00
Sebastian Ouellette
95e083dbd3
Converted tabs to spaces. Now ready for PR 2022-06-19 16:51:03 -04:00
SebOuellette
39d03fc196 Removed the log file which was causing conflicts 2022-06-19 16:24:30 -04:00
SebOuellette
5058a74453 Cleaned up some old debug 2022-06-19 16:23:49 -04:00
Sebastian Ouellette
ae1bcc909d
Invisible cursors are constrained to center
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.
2022-06-19 16:07:41 -04:00
Florian "sp1rit"​
7c3626f15e
meson: ensure non-debug builds will use proper configuration
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.
2022-06-18 13:09:38 +02:00
vaxerski
f7bdc2e870
Merge pull request #234 from alba4k/main
revised makefile, newline after execution
2022-06-17 21:23:48 +01:00
alba4k
faa1b5a44f
Update main.cpp 2022-06-17 22:02:57 +02:00
Yoni FIRROLONI
f428604b6f undo formatting 2022-06-17 19:51:34 +01:00
Yoni FIRROLONI
2feca08a67 move, set active, recalc, anim on monitor connected 2022-06-17 19:51:34 +01:00
vaxerski
837d4af8f6
Merge pull request #231 from CcydtN/main
Fix zombie process problem
2022-06-17 17:53:47 +01:00
alba4k
9c6c5481bb revised makefile, newline after execution 2022-06-17 12:18:25 +02:00
Florian "sp1rit"​
75918c14d7
meson: added wayland dependencies to main executable 2022-06-16 23:30:30 +02:00
Florian "sp1rit"​
d179501c4f
meson: added default_library=static as default option 2022-06-16 23:30:30 +02:00
Florian "sp1rit"​
8e203b0da3
added assets/wallpapers to install 2022-06-16 23:30:30 +02:00
Florian "sp1rit"​
09cd8c45a6
dropped emoticons from meson workflow 2022-06-16 23:30:30 +02:00
Florian "sp1rit"​
43065657c9
actions: added meson workflow 2022-06-16 23:30:30 +02:00
Florian "sp1rit"​
89454ada6c
added runtime tag to the wayland-session launchable and sample config
this allows for a small-install footprint by running
    meson install -C _build --tags runtime
2022-06-16 23:30:30 +02:00
Florian "sp1rit"​
c169f94895
moved wlroots/xwayland definitions to the main meson file
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.
2022-06-16 23:30:30 +02:00
Florian "sp1rit"​
b3ef1fcc54
replaced source list with globber script
See:
  - https://mesonbuild.com/FAQ.html#why-cant-i-specify-target-files-with-a-wildcard
  - https://github.com/vaxerski/Hyprland/pull/205#issuecomment-1154158918
2022-06-16 23:30:30 +02:00
Florian "sp1rit"​
fd0112425f
Added meson buildfiles
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
2022-06-16 23:30:28 +02:00
CcydtN
b69375a918 Fixing format issue 2022-06-17 03:25:08 +08:00
vaxerski
354e265128
Merge pull request #230 from bazuin-32/main
Resolves #204. Enables numlock on startup when configured to do so
2022-06-16 18:33:37 +01:00
CcydtN
5fa61e5a54 Fix generating zombie process 2022-06-17 01:14:10 +08:00
bazuin-32
1926bb4659 Resolves #204. Enables numlock on startup when configured to do so. 2022-06-16 10:49:16 -06:00
vaxerski
36ea12b315
Merge pull request #223 from PowerBall253/main
Create config directory if it doesn't exist
2022-06-15 07:41:05 +01:00
Bruno Ancona
0c5d2f04b4 Create config directory if it doesn't exist 2022-06-15 01:29:51 -05:00
vaxerski
fa6530c7e8
Merge pull request #213 from ThatOneCalculator/mirror
Change wlroots submodule url to github mirror
2022-06-13 22:16:28 +01:00
ThatOneCalculator
e97b83167f Change wlroots submodule url to github mirror 2022-06-13 14:10:49 -07:00
vaxerski
9aec355727
update contrib link in readme 2022-06-13 21:30:01 +01:00
vaxerski
a4e21a25f4
Merge pull request #200 from siemato/main
Added Touchpad Config options
2022-06-13 17:30:17 +01:00
Marco Siedentopf
f13217f698
Codestyle 2022-06-12 15:06:58 +00:00
Marco Siedentopf
85d2c1d5a6
Merge branch 'vaxerski:main' into main 2022-06-12 15:04:02 +00:00
vaxerski
2208be5175
Merge pull request #197 from spectreseven1138/main
Add loose follow_mouse option
2022-06-12 14:31:07 +02:00