445acec2a2
core: move sendWindowSize off of xwaylandmgr
...
additionally fixes that one weird x11 issue with floating windows being mis-sized on open
2025-01-25 20:36:44 +00:00
d8f79d7678
core: add --verify-config to verify the config with Hyprland
...
fixes #9135
2025-01-24 20:30:21 +00:00
57a39984dd
input: abord dnd op on escape pressed
...
ref #9154
2025-01-24 13:37:30 +00:00
0a1ae48a9f
core: move all shared_ptrs from the STL to hyprutils ( #9143 )
2025-01-23 21:55:41 +01:00
da6e966313
keybinds: add visible arg for cyclenext ( #9045 )
...
Co-authored-by: Крылов Александр <aleksandr.krylov@hyperus.team >
2025-01-21 14:17:07 +00:00
4da9b7cc5b
core: reserve vector sizes as much as we can ( #9118 )
...
avoid reallocations as much as possible with a few edge cases where the
reservation overshoots a tiny bit. but a few bytes of memory short term
is better used then the overhead of potential reallocation.
2025-01-19 10:38:42 +00:00
2bad73354a
core: cleanup header includes ( #9088 )
...
Cleanup some unneeded includes to speed up compilation
2025-01-17 15:21:35 +00:00
b117fae3b4
keybinds: fix movefocus fallback for special workspaces ( #9040 )
2025-01-12 17:00:56 +00:00
15dc024a39
keybinds: fix previous_per_monitor logic ( #9010 )
...
Co-authored-by: Крылов Александр <aleksandr.krylov@hyperus.team >
2025-01-11 16:05:53 +00:00
da9252a23e
keybinds: fix nullptr deref in forcekillactive ( #9021 )
2025-01-10 15:16:52 +00:00
8475a8ef99
core: always use goal size to send to clients
2025-01-10 14:09:16 +01:00
c9822b08f9
keybinds: add new window destruction dispatchers ( #8962 )
2025-01-08 21:16:34 +00:00
5642ed331d
core: move parts of the animation system to hyprutils ( #8868 )
...
* core: change animation manager to use Hyprutils::Animation
* config: move animation config to hyprutils animation tree
* use g_pAnimationManager->createAnimation and the new PHLANIMVAR template
* core: use CGenericAnimatedVariabled::{enabled,setConfig,getStyle} and adapt callbacks
* core: adapt animated variable usage (dereference the shared pointer)
* misc: bump CMakeLists to hyprutils 0.3.3
2025-01-07 17:55:14 +00:00
365caa49ff
keybinds: attempt to wrap around if fallback is allowed in movefocus
...
fixes #8909
2025-01-02 17:36:02 +01:00
8d4c18d723
core: refactor/improve monitor mode selection ( #8804 )
2024-12-28 13:32:04 +00:00
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
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
a5234f26e4
core: drop using deques in favor of vectors
...
No point in most of these.
2024-12-16 15:58:19 +00:00
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
df956a0f6f
windowrules: add rules for mouse and touchpad scroll factors ( #8655 )
2024-12-11 17:27:49 +00:00
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
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
3c617ce33c
internal: fixup some missed updateColorsOk() calls
2024-12-03 22:58:30 +00:00
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
8b51eeb7ae
core: fix compilation outside stdlibc++
...
fixes #8603
2024-11-28 14:31:43 +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
b100344595
keybinds: actually suppress internal keybinds instead of passing them along ( #8538 )
2024-11-22 02:31:42 +00:00
e5fa017172
internal: fix some misused configStringToInt conversions
...
fixes #8523
2024-11-20 10:32:50 +00:00
67cee43006
internal: minor cleanups for color results
2024-11-19 01:16:11 +00:00
47a1650c48
miscfunctions: move configStringToInt to std::expected
2024-11-18 23:53:38 +00:00
936dfedbad
keybinds: move to managed pointers
2024-11-18 19:56:26 +00:00
6113f4da7f
keybinds: allow repeating multiple binds ( #8290 )
2024-11-18 19:48:13 +00:00
83be2480c4
workspace: fix missing name via focusworkspaceoncurrentmonitor ( #8484 )
2024-11-16 16:39:58 +00:00
7affc34ab4
bind: new long press option ( #8302 )
...
---------
Co-authored-by: Vaxry <vaxry@vaxry.net >
2024-11-15 23:21:59 +00:00
8fa4cfb7df
keybinds: don't animate fullscreen size/pos changes coming in
...
when fullscreen, don't animate the pos/size when switching to another fullscreen window, as they can look weird and distracting.
Ideally we would do it differently but it's not really possible to do well without reading minds
2024-11-11 13:55:37 +00:00
5f721dce36
group: fix moveWindowIntoGroup ( #8297 )
2024-10-30 10:00:58 +00:00
7188ee4f99
hyprctl: move setprop into dispatchers ( #8275 )
...
* move setprop into dispatchers
modified: src/debug/HyprCtl.cpp
modified: src/managers/KeybindManager.cpp
modified: src/managers/KeybindManager.hpp
* add deprecated
modified: src/debug/HyprCtl.cpp
2024-10-28 18:18:58 +00:00
5d4b54b012
core: move internal structures to monitor pointers ( #8266 )
2024-10-27 18:45:38 +00:00
f044e4c951
internal: Move CMonitor to SP ( #8178 )
...
* move monitors to sp
* XD
2024-10-19 23:03:29 +01:00
e0cfbec66b
keybinds: fixup xkb_states for resolve_by_sym
...
fixes #7750
2024-10-08 13:15:58 +01:00
caaa9b11e4
wlr-output-configuration: Improve output configuration ( #7571 )
2024-09-26 11:10:53 +01:00
b1ad2d8066
dispatchers: fixup dpms toggle ( #7875 )
...
now toggles every monitor individually
2024-09-26 00:08:50 +01:00
00c8626863
hyprctl: add submap request
...
fixes #7898
2024-09-24 11:25:05 +01:00
0564b46a5e
dispatchers: allow moveintogroup when floating ( #7818 )
...
This allows to use the moveintogroup dispatcher when windows are floating. I don't know why was this disabled in the first place though.
Cheers!
2024-09-18 11:05:17 +01:00
70add904c4
config: add exec-shutdown for running commands on shutdown ( #7683 )
...
* config: add exec-shutdown for running commands on shutdown
* compositor: delay stopping until after exec-shutdown
2024-09-07 20:54:33 +01:00
0fad7a0bb0
workspacerules: fix on-created-empty window focus ( #7657 )
2024-09-06 00:54:01 +01:00
fd8d8e122e
keybinds: fixup misused kb state
...
fixes #7369
2024-08-30 15:53:45 +02:00
242e06b242
keybinds: release mods after sendshortcut ( #7581 )
2024-08-30 15:06:49 +02:00
72c7818ae6
misc: constify the remaining for loops ( #7534 )
...
now we roll loops at blazing constified speed.
2024-08-26 20:24:30 +02:00
1ea47950f4
misc: fix some minor typos ( #7530 )
...
* keybindmgr: fix typo in swap prev
seems a suspicious extra ) got added, remove it.
* configmgr: dont dereference invalid iterator
i think the idea here was to print the key and not the iterator at or
past .end()
2024-08-26 18:02:44 +02:00