3f40d6d936
pass: scale blur region in ::render
2024-12-29 12:56:58 +01:00
Mike Will
a364e80425
snap: give edge snapping precedence over corner snapping ( #8873 )
2024-12-29 11:18:14 +00:00
Clayton
2b01a5bcf6
xwayland: don't create an abstract unix domain socket on linux ( #8874 )
2024-12-28 14:07:42 +00:00
Ikalco
8d4c18d723
core: refactor/improve monitor mode selection ( #8804 )
2024-12-28 13:32:04 +00:00
Mike Will
cca0adf6a3
snap: revert #8659 , use bounds checking instead of bit mask ( #8872 )
...
They seem like the same check, but a snap bit might not be
turned on as expected if we grab a different corner after
an edge has already been snapped.
2024-12-27 21:49:45 +00:00
534adad6b1
pass: scale blur regions properly
2024-12-27 17:49:05 +01:00
user111111111111111111111111111111111
775111b603
foreign-toplevel: update active on null window focus ( #8860 )
...
* update ForeignTopLevel on null window focus
* fix
* clang
2024-12-27 15:20:55 +00:00
khushal-solves
85632e7c33
internal: update window position/size after changing fullscreenstate ( #8865 )
...
This effects fullscreen group of floating windows.
2024-12-27 15:20:38 +00:00
e75e2cdac7
functionHooks: wait for hyprland pages before returning addr for trampo
...
ref #8845
2024-12-26 11:31:59 +01:00
2eaa4d80a0
debug: fix overlay not rendering
2024-12-26 00:16:42 +01:00
Avi Herman
dddb64dc35
internal: added reference to CTimer class in KeybindManager ( #8836 )
2024-12-25 19:09:45 +00:00
staz
1a3d17da91
debug: fix ISDEBUG checking ( #8823 )
2024-12-25 16:33:10 +01:00
2a24a61126
pass: improve blur region detection
2024-12-25 00:57:55 +01:00
2e2e2e2cad
monitor: bring back old description behavior
...
this makes description match the beginning again. Fixes #8756
2024-12-23 21:17:38 +00:00
a4a4fffffb
renderer: allow plugins to know what window was rendered in post
2024-12-22 22:07:08 +00:00
1830296df3
debug: add debug:pass for debugging the render pass
2024-12-22 17:20:33 +00:00
Vaxry
e536b02248
Renderer: rewrite render scheduling ( #8683 )
...
This rewrites renderer scheduling. Occlusion is now unified in a new Pass type.
2024-12-22 17:12:09 +01:00
1cc1a46c2e
core: fade in windows when they are brought from invisible workspaces
2024-12-22 16:04:10 +00:00
31422ae25d
windowrules: add negative: prefix for negating a regex
...
fixes #8799
2024-12-21 23:07:34 +00:00
57921d7dbd
windowrules: precompute regexes for window/layer rules
2024-12-21 19:21:50 +00:00
Aqa-Ib
8e8073c421
groups: honor group lock window rule ( #8782 )
2024-12-21 17:35:47 +01:00
52ee7a8748
data-device: fix edge case crash on null xwm
...
fixes #8787
2024-12-21 15:08:00 +00:00
71dc9f6128
pluginAPI: add register dispatcher v2
2024-12-19 20:23:32 +00:00
Aqa-Ib
fd67ee9ecd
layout: apply group rules after window creation ( #8779 )
...
* apply group rules after window creation
* clang-format
2024-12-19 20:22:40 +01:00
bec18dc6f9
core: fix possible crash on null active workspace
...
fixes #7822
2024-12-19 19:11:15 +00:00
Ikalco
5b714f05f8
internal: Make static analysis more happy ( #8767 )
...
* make functions used in 1 file static
* fix invalid substr param -1
* give default initializer to borderGradier
* move RASSERT from printf to std::print
2024-12-19 02:56:01 +01:00
Kamikadze
23e7d8f6a7
logging: fix Gpu info ( #8764 )
2024-12-19 00:08:57 +01:00
Jan Beich
df06cb4d71
core: Unbreak build on FreeBSD ( #8762 )
...
* CrashReporter: restore explicit environ(7) after 8bbeee1173
BSD systems don't declare environ(7) in any header like POSIX suggests.
src/signal-safe.cpp:12:23: error: use of undeclared identifier 'environ'
12 | for (char** var = environ; *var != nullptr; var++) {
| ^
* fix
---------
Co-authored-by: Vaxry <vaxry@vaxry.net>
2024-12-18 20:15:44 +01:00
0fec38fe72
xwayland: fix compile with no xwayland
2024-12-18 19:09:02 +00:00
80a4852266
xwm: fixup targets in selection requests
...
fixes #8719
2024-12-18 15:24:37 +00:00
4c4471c66d
xwayland: fix dnd including xwayland
...
ref #8759
2024-12-18 15:14:37 +00:00
6378c8ed65
core: avoid activating toplevel-less surfaces
...
ref #8609
2024-12-18 15:01:12 +00:00
Ikalco
49e5f9c428
logging: get broader GPUINFO ( #8753 )
2024-12-18 15:56:53 +01:00
Ikalco
e2c78c00e5
internal: remove dead code ( #8748 )
2024-12-17 17:31:27 +01:00
normaltaro
bd7092a9fe
binds: cycle within group on single monitor if no window found in the argument direction. ( #8714 )
2024-12-17 17:12:38 +01:00
4b6163aef3
windowrules: fixup duplicate rule enum tags
...
fixes #8746
2024-12-17 01:57:35 +00:00
bba2d9a197
versionkeeper: init version to 0.0.0 if no file is present
2024-12-16 23:37:13 +00:00
Austin Horstman
e340e9f431
nix/meson: add re2 dependency ( #8738 )
...
* nix/default: add re2 dependency
* meson: add re2
2024-12-16 20:22:36 +01:00
c2d14a2013
opengl: fixup missed /4 in oklab parsing
2024-12-16 18:53:21 +00:00
95cdedee04
windowrules: fix prop rules with boolean values
2024-12-16 18:44:19 +00:00
0706c1a1f7
layerrules: fix ignorezero not working
...
fixes #8737
2024-12-16 18:37:34 +00:00
aecf1abddd
opengl: fixup invalid ogl uniform reads
2024-12-16 18:34:19 +00:00
b9f82e9968
animationmgr: fixup stack-use-after-return
2024-12-16 18:31:07 +00:00
Vaxry
e06b520427
core: Move regex from stdlib to re2 ( #8736 )
...
Moves the regex handling from stdlib to re2
2024-12-16 19:21:44 +01:00
Vaxry
dab50b3ef3
core: Optimize window/layer rule application and scanning ( #8735 )
...
Optimizes window and layer rule parsing and later usage.
2024-12-16 19:05:24 +01:00
a5234f26e4
core: drop using deques in favor of vectors
...
No point in most of these.
2024-12-16 15:58:19 +00:00
de3ad245dc
input: add warp_back_after_non_mouse_input
...
adds cursor:warp_back_after_non_mouse_input
fixes #8675
2024-12-15 23:54:14 +00:00
Vaxry
db24964877
xwayland: Support cross DnD from Wayland ( #8708 )
...
Adds support for drag-and-drop from Wayland clients to XWayland ones
2024-12-15 00:37:17 +01:00
Vaxry
9f7a96b997
core/data: Use pointer focus for DnD operations ( #8707 )
...
fixes #7737
2024-12-14 16:19:56 +01:00
8237627f3a
compositor: fix monitor arrangement with mixed auto directions
...
fixes #8518
2024-12-13 22:31:30 +00:00
35e134e570
hyprctl: add an inhibitingIdle field to windows
...
fixes #4322
2024-12-13 21:30:24 +00:00
normaltaro
452a7e6905
dispatchers: Add an option to prioritize focus change within groups with movefocus ( #8601 )
...
* modified movefocus dispatcher to prioritize focus change within groups
* pass clang-format check
* `movefocus` cycling groups set optional to config bool `movefocus_cycles_groupfirst`
* Update ConfigDescriptions.hpp
2024-12-13 21:28:57 +01:00
Mike Will
61a51bb4ef
snap: bias reserved area when its size is greater than zero ( #8694 )
2024-12-13 17:34:04 +01:00
aefaeedf5e
data-device: fixup wrong box expansion
...
oopsie 7c03e9d376
was wrong
2024-12-12 12:16:59 +00:00
cef5e6dd7c
layersurface: use lastMonitor and not monitor from cursor for new ls
...
fixes #8622
2024-12-11 22:31:38 +00:00
7c03e9d376
core/data-device: expand damage region to fix minor px errors
...
fixes #7656
2024-12-11 22:30:17 +00:00
Mike Will
df956a0f6f
windowrules: add rules for mouse and touchpad scroll factors ( #8655 )
2024-12-11 17:27:49 +00:00
e892310953
workspace: update hasFullscreenWindow in updateWindows
2024-12-11 16:03:04 +00:00
Pavel Belyavsky
4d05677e8d
config: add 'force' option for 'cursor:warp_on_change_workspace' ( #8681 )
...
* config: add 'force' option for 'cursor:warp_on_change_workspace'
* manager: throw the expression into the function arguments
* config: fix description of `cursor:warp_on_change_workspace`
2024-12-10 21:55:05 +01:00
Alexander Iliev
c16044a5c8
core: Fix workspace selector parsing ( #8687 )
...
Search for the closing bracket when parsing a workspace selector.
This is needed when the `m[desc:<monitor description>]` selector
is used, as the monitor description always contains spaces.
2024-12-10 21:54:51 +01:00
littleblack111
d94d8b4ab2
windows: allow replacing existing fullscreen ( #8566 )
...
* feat: `binds:allow_replace_fullscreen`
this allows replacement of fullscreen window(i.e. fullscreening another
window when one is already fullscreened on the workspace)
this is used when a floating window that is spawned on top of a
fullscreen wanted to be fullscreened
* clang-format
* remove: config for `allow_replace_fullscreen`
2024-12-10 21:09:47 +01:00
bb5c3f2702
core/output: don't send enter too aggresively
...
sometimes this might be like 1px and send enter to the wrong output
fixes #8654
2024-12-10 01:40:35 +00:00
0a27af8cd1
crashreporter: avoid clang warning
2024-12-08 18:52:39 +00:00
Vaxry
8bbeee1173
core: Add clang-tidy ( #8664 )
...
This adds a .clang-tidy file for us.
It's not a strict requirement to be compliant, but I tuned it to be alright.
2024-12-07 18:51:18 +01:00
Vaxry
b1e5cc66bd
core: Add support for hyprqtutils' update screen ( #8651 )
...
* Nix: add hyprland-qtutils to PATH
* flake.lock: update
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-12-06 15:45:02 +01:00
Mike Will
5ff02902ee
snap: use the bit mask to check if snapping occurred ( #8659 )
2024-12-06 15:25:14 +01:00
cccca7c02e
renderer: drop requesting OUT_FENCE_PTR
2024-12-06 14:15:46 +00:00
a7a6eedc21
core: move version include to hyprctl
2024-12-05 19:35:50 +00:00
888bdf4e23
hyprctl: add directScanout to hyprctl monitors
2024-12-05 19:33:54 +00:00
ceef4fb3a5
core: feeling a bit quirky today.
2024-12-05 03:36:50 +00:00
22f7d6f142
core: add a few festive splashes
...
adds two new 'special' splash types for xmas and new years. Activated based on local time.
2024-12-05 01:59:36 +00:00
Mike Will
f9e4998a6d
snap: check which corner is being grabbed for monitor snapping ( #8637 )
2024-12-04 19:12:04 +01:00
3c617ce33c
internal: fixup some missed updateColorsOk() calls
2024-12-03 22:58:30 +00:00
f6ac755cf7
cleanup: Revert use doLater instead of adding idle event handlers ( #8624 )
...
This reverts commit 6d7544458d
.
2024-12-03 21:15:25 +00:00
Vaxry
320144ae72
core: move colorspace handling to oklab ( #8635 )
...
* Meson: add hyprgraphics
* Nix: add hyprgraphics
* CI/setup_base: get hyprgraphics-git
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-12-03 18:58:24 +00:00
Vaxry
92186898c0
version: add link versions for other utils ( #8619 )
...
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-12-02 16:31:22 +00:00
UjinT34
10a9fec7fc
master: make center ignore reserved areas ( #8625 )
2024-12-02 15:32:32 +00:00
Ikalco
6d7544458d
cleanup: use doLater instead of adding idle event handlers ( #8624 )
2024-12-01 17:14:35 +00:00
littleblack111
ef6b0c81c9
cleanup: remove leftover var in ThreadManager.cpp ( #8611 )
2024-11-30 16:40:23 +00:00
8f83d29f00
renderer: restore discard mode after IME render pass
...
ref #8555
2024-11-28 23:51:59 +00:00
nyx
5963970be5
descriptions: change allow_pin_fullscreen value to false ( #8592 )
2024-11-28 15:25:24 +00:00
8b51eeb7ae
core: fix compilation outside stdlibc++
...
fixes #8603
2024-11-28 14:31:43 +00:00
Andre Toerien
5329298b52
sessionLock: don't send motion events on every surface commit ( #8584 )
2024-11-27 19:59:00 +00:00
Agent00Ming
e9a7fb8f91
renderer: fix incorrect early return ( #8590 )
...
Co-authored-by: Agent_00Ming <agent00ming9366@gmail.com>
2024-11-27 14:17:45 +00:00
Ikalco
1fb720b62a
seat: fix double scrolling in some applications ( #8583 )
2024-11-26 13:52:43 +00:00
Nabil Otsmane
1930a95000
shm: fix shm fd size check before creating or resizing shm_pool ( #8572 )
...
* protocols: fix shm fd size check before creating or resizing shm_pool
* added static to function
2024-11-25 00:50:35 +00:00
cc38e7e18f
config: don't overwrite errors in gradients
2024-11-24 14:53:36 +00:00
55ec8bd512
config: throw an error explicitly when parsing colors in gradients
...
ref #8552
2024-11-24 02:46:28 +00:00
Mike Will
54f57797e9
snap: account for position of multiple monitors ( #8543 )
2024-11-23 14:36:28 +00:00
littleblack111
65f66dcf0d
binds: add option to allow fullscreening a pinned window ( #8526 )
2024-11-23 14:32:13 +00:00
Ryan
451d7a41fc
renderer: add option to blur IME popups ( #8521 )
2024-11-23 14:29:29 +00:00
745a82ce8a
core: workspace-related function cleanup / refactor
...
CCompositor is massive, and has a lot of functions that could be better optimized if in CWorkspace
2024-11-22 16:01:02 +00:00
a847bc67b1
monitor: fix default focus when switching to a fs workspace
2024-11-22 15:22:35 +00:00
may
b100344595
keybinds: actually suppress internal keybinds instead of passing them along ( #8538 )
2024-11-22 02:31:42 +00:00
Tom Englund
943b3d467b
bezier: optimize setup of bezier curves ( #8528 )
...
avoid reallocations by resizing and copy the pVec into the resized
m_dPoints, reduce the amount of calculations in baking to only do it
once per iteration instead of twice. precompute in getYforT and getXforT
return early in getYForPoint if x is equal or below 0. and use const
references where we can.
these changes we are now down to an average of "time to bake: 2.50µs."
on my machine compared to before average of "time to bake: 11.15µs"
2024-11-22 01:47:51 +00:00
940f7aa990
renderer: fixup blur optimization considitons
...
fixes #8531
2024-11-20 11:02:21 +00:00
e5fa017172
internal: fix some misused configStringToInt conversions
...
fixes #8523
2024-11-20 10:32:50 +00:00
c4eda46d0e
xdg-shell: even more robust layout min/max size
...
although I don't think any apps use this, but better safe than sorry
2024-11-19 22:07:25 +00:00
aa067a4cf1
xdg-shell: don't report invalid min/max sizes on unset
...
fixes #8522
2024-11-19 21:40:16 +00:00
67cee43006
internal: minor cleanups for color results
2024-11-19 01:16:11 +00:00