littleblack111
0bc671b13c
merge if logic for config
2024-11-21 12:14:03 +08:00
littleblack111
7b31616a8e
fix: maxiumize(fullscreenstate 1) to fullscreen or vice versa won't make it be pinned
...
remove: second var to remember maxiumize, use the same var
2024-11-21 01:48:51 +08:00
littleblack111
22024dc0d6
feat: remember maxiumize(fullscreenstate 1) pinned state too
2024-11-21 00:23:43 +08:00
littleblack111
d2a9c985c8
fix: conditions for only fullscreen not other stuff in the eFullscreenMode
like maxiumize(fullscreenstate 1)
2024-11-20 23:53:23 +08:00
littleblack111
2503265966
Merge remote-tracking branch 'upstream/main' into pin-fullscreen
2024-11-20 11:56:29 +08:00
littleblack111
a351dd7b55
per window state instead of global
2024-11-20 09:57:36 +08: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
littleblack111
e51b201316
binds: option to fullscreen pinned window
...
this stores the state in a var and apply pinned status back when
un-fullscrening
2024-11-19 23:17:33 +08: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
MightyPlaza
6113f4da7f
keybinds: allow repeating multiple binds ( #8290 )
2024-11-18 19:48:13 +00:00
Maximilian Seidler
cc923ad031
config: update the configStringToInt implementation ( #8476 )
...
Copied from hyprlang and removed std::expected.
2024-11-18 19:45:22 +00:00
🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко)
df9ff44899
Fix example config name in auto-generated cfg header ( #8509 )
...
Previously, it was suggesting to find `hypr.conf` in the `examples/` folder which doesn't exist. This patch fixed that to point to the existing file.
Additionally, the change updates `HYPR` to `HYPRLAND` in the same header.
2024-11-18 17:54:18 +02:00
Aqa-Ib
97493511f9
internal: fix changeWindowZOrder reordering incorrectly ( #8494 )
2024-11-18 14:44:15 +00:00
505c1f8f4a
miscfunctions: fix cross build
2024-11-18 14:35:09 +00:00
johannes hanika
6744bb57c6
constraints: don't warp pointer position on release ( #8491 )
...
this was annoying for nuklear properties/ui slider elements that grab
the pointer via GLFW_CURSOR_DISABLE to allow more range and finer control.
upon mouse release, the pointer is reset to the middle of the window
without this patch, making long mouse movements necessary to go back
to the original position for readjustments. fwiw the new behaviour
is consistent with x11 and weston.
2024-11-18 14:02:34 +00:00
2259a88551
miscfunctions: add missing include
2024-11-18 13:59:57 +00:00
1ba050d603
shell: propagate new machanism from hyprctl to miscfunctions
2024-11-17 21:58:00 +00:00
e8717a4fce
shell: don't use fgrep, prefer grep -F
2024-11-17 21:57:04 +00:00
Alessio Molinari
9b03307653
hooks: add pre connected/disconnected monitor events ( #8503 )
2024-11-17 19:34:03 +00:00
b735295d2b
windows/xdg: minor cleanup of min/max size calculations
...
fixes #8495
2024-11-17 19:31:54 +00:00
8d5cdedbd3
hyprpm: fix format crash
...
ref #8487
2024-11-17 16:46:49 +00:00
4f591e807a
renderer: simplify blur enabling logic
2024-11-17 16:42:30 +00:00
fb91c2550f
renderer: don't render unmapped popups
...
fixes #8485
2024-11-17 16:16:54 +00:00
Alexandre Acebedo
0ddbd1c3a4
renderer: add lockdead_screen_delay ( #8467 )
2024-11-17 15:58:18 +00:00
Ruslan
af83c82513
hyprctl: add json output on hyprctl -j plugins list ( #8480 )
...
---------
Co-authored-by: Руслан Новокшонов <r.novokshonov@vk.team>
2024-11-16 23:18:30 +00:00
staz
9d37b1b073
workspacerules: Do not check 'on-created-empty' if using a workspace windowrule ( #8486 )
2024-11-16 23:07:33 +00:00
vaxerski
cf18eca86d
[gha] Nix: update inputs
2024-11-16 23:06:35 +00:00
ec1e6be003
core: guard pmonitor in focuswindow
...
may be null
fixes #8483
2024-11-16 23:05:02 +00:00
sslater11
83be2480c4
workspace: fix missing name via focusworkspaceoncurrentmonitor ( #8484 )
2024-11-16 16:39:58 +00:00
littleblack111
7affc34ab4
bind: new long press option ( #8302 )
...
---------
Co-authored-by: Vaxry <vaxry@vaxry.net>
2024-11-15 23:21:59 +00:00
098e491a43
protocols: mark primarySelection as not privileged
...
fixes #8479
2024-11-15 00:47:34 +00:00
UjinT34
967fe76a60
drm: enable explit out fence in AQ ( #8431 )
2024-11-15 00:45:13 +00:00
Tom Englund
940ed3d525
xcursors: store themes in a std:set to order it ( #8474 )
...
using a unordered_set means its store based on a hash_value meaning
currently it can end up loading inherited themes before the actual theme
itself depending on the hash of the theme name used, reason for using
set at all over vector is to keep unique members and not foreverever
looping broken inherit themeing.
2024-11-14 20:38:16 +00:00
6f7280a690
descriptions: add use_cpu_buffer
2024-11-14 20:20:51 +00:00
Vaxry
20031cea92
pointer: add drm dumb buffers for cursors ( #8399 )
...
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-11-14 20:15:51 +00:00
3fb47372b7
flake.lock: update
2024-11-13 21:34:52 +02:00
bb160cfe37
makefile: add stub to discourage direct make
2024-11-12 15:26:25 +00:00
SoSeDiK
a29cfa7843
logging: Add some context to config error logs ( #8326 )
2024-11-12 00:53:55 +00:00
nnra
f5fa84554f
config: Changed the default value of decoration:blur:ignore_opacity to true ( #8418 )
...
This change is made in order to deliver the blur look majority of people
expect by default.
2024-11-11 15:49:35 +00:00
b88e4a1a9a
Nix: disable uwsm desktop file installation
...
Will be enabled in the NixOS module.
2024-11-11 16:52:42 +02:00
ff411658e8
Lock uwsm desktop file behind feature flag
...
The file in the repo cannot be used in NixOS due to missing full paths,
and the fact that `uwsm` does not have access to `PATH` to find the
listed binaries. Might be useful in other situations as well.
2024-11-11 16:52:42 +02:00
943c7d18cc
meson: autodetect systemd
2024-11-11 16:52:42 +02:00
Izmyname
ccfae82ad1
rename hyprland-systemd.desktop and remove hyprland-session.service
2024-11-11 16:52:42 +02:00
izmyname
430b5c302a
systemd: hyprland-systemd.desktop -> hyprland-uwsm.desktop
...
Remove hyprland-session.service.
2024-11-11 16:52:42 +02: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
dawsers
a551f85b91
renderer: scaled surfaces could have zero area ( #8423 )
2024-11-11 13:48:50 +00:00
JManch
07052a515b
pointer: map devices across all outputs by default ( #8352 )
2024-11-11 13:45:33 +00:00