Commit graph

4939 commits

Author SHA1 Message Date
6bc34d67b5 Nix: add aquamarine 2024-07-06 15:15:28 +02:00
ca7d328ae2 le oops 2024-07-06 15:15:28 +02:00
7754368ade tablets and shit 2024-07-06 15:15:28 +02:00
24e4768753 fixes 2024-07-06 15:14:54 +02:00
1bbcfa9e47 gamma done 2024-07-06 15:14:54 +02:00
c66f63b63d fix crasherino 2024-07-06 15:14:54 +02:00
16a2cb4ffc some format fixes 2024-07-06 15:14:54 +02:00
012235b332 ye 2024-07-06 15:14:54 +02:00
3cec9e37d2 bring back hyprctl output 2024-07-06 15:14:54 +02:00
8d22bf4883 support headless 2024-07-06 15:14:54 +02:00
744d08af84 avoid crash on monitor unplug 2024-07-06 15:14:54 +02:00
6e6c05bd46 fix nullptr deref 2024-07-06 15:14:54 +02:00
972e4241d9 fixado 2024-07-06 15:14:54 +02:00
6e35f6335e switches 2024-07-06 15:14:54 +02:00
920e34efa1 stuff 2024-07-06 15:14:54 +02:00
81bad1f8fc stuff I already forgot what I did 2024-07-06 15:14:54 +02:00
bd92c92ba1 new event api 2024-07-06 15:14:53 +02:00
65a16b84fc get dma formats from aq 2024-07-06 15:14:07 +02:00
00a8171643 ye test 2024-07-06 15:14:07 +02:00
9fc57fc321 reenable direct scanout 2024-07-06 15:14:07 +02:00
b10b70eab0 use auto format for cursor 2024-07-06 15:14:07 +02:00
817c2a56c9 fix hw cursors with new aq stuff 2024-07-06 15:14:07 +02:00
e1adef12f5 keyboard mod fixes 2024-07-06 15:14:07 +02:00
12c5de14c8 minor fixes for wl 2024-07-06 15:14:07 +02:00
1b025eee44 update key state on key events to have mods working in drm 2024-07-06 15:14:07 +02:00
38895ce843 fix dt issues 2024-07-06 15:14:07 +02:00
029d4fb805 restore vt switching 2024-07-06 15:14:07 +02:00
60d04e196d minor fixes for new drm stuff 2024-07-06 15:14:07 +02:00
48bf839230 bring back renderer session scan 2024-07-06 15:14:07 +02:00
484caf3b1c add drm backend to requests 2024-07-06 15:14:07 +02:00
930e7bb0c8 Core: Move to aquamarine 2024-07-06 15:14:05 +02:00
cc98594c3a pointer: update geometry after unplug events
fixes #6700

fixes #6740
2024-07-05 23:05:09 +02:00
MightyPlaza
0502c3f62b
keybinds: fix movewindow float to 0 (#6777)
modified:   src/managers/KeybindManager.cpp
2024-07-05 22:46:38 +02:00
Lincoln Yuji de Oliveira
0a6e83005f
Completions: use only awk (#6763) 2024-07-04 14:21:07 +03:00
Agent00Ming
e894d5e964
tablet: Send .frame() on .proximity_out() (#6761)
Co-authored-by: Agent_00Ming <agent00ming9366@gmail.com>
2024-07-03 21:40:18 +02:00
Lincoln Yuji
8bb75a223d hyprctl completions: Use only awk rather than grep + awk
Using "awk '/<exp>/{ print $n }'" is more minimal and slightly faster
than using "grep '<exp>' | awk '{ print $n }'".

Signed-off-by: Lincoln Yuji <lincolnyuji@hotmail.com>
2024-07-02 22:46:20 +03:00
6247a6b537 renderer: don't skip back background on preBlurQueued
fixes #6332
2024-07-02 18:40:27 +02:00
drendog
2fa57f2dc4
pointer: change min cursor padding to 0 (#6027)
* fix: change min cursor padding to 0

* chore: set default hotspot padding to 0

* fix: adjusting clamp after getting closest point to fix getting off limit point

* fix: deal with floating point to clamp to prev value

* refactor: max coords to vector

* fix: remove box closestPoint adjustment due its fix on hyprutils
2024-07-02 12:17:48 +02:00
Ikalco
e58fd3bfb0
meson: fix wlroots-hyprland dep checks (for libliftoff patch to work) (#6736) 2024-07-02 12:14:27 +02:00
Tom Englund
d7ea1b7785
xwayland: break cyclic loop of parents (#6722)
in X11 some surfaces is a parent of itself and creates a cyclic loop
when trying to find its parent. check for old parent and break if its
beginning to roll over.
2024-07-01 00:26:08 +02:00
UjinT34
4d6f96f74f
debug: add Nvidia driver info (#6715)
* add nvidia driver info to systeminfo

* check file exists
2024-06-30 13:16:41 +02:00
Tom Englund
8ff9410d2c
inputmgr: ensure we dont divide by zero (#6713)
some weird combination of scrolling/nesting hyprland and closing a
window i managed to divide by zero here, reported by ubsan. add a check
to ensure we dont hit UB.
2024-06-30 13:15:59 +02:00
はれなよ
718afe271e
seat: don't send keyboard data without a keyboard cap (#6697)
* Fix #6279: prevent sending keymap or repeat info events by keyboards without keyboard capability

* Remove brackets
2024-06-29 20:05:07 +02:00
はれなよ
1f43a5c859
session: fix activate events being always treated as on (#6696)
* Fix listener_sessionActive to handle an event correctly when the session get inactivated

* Remove log
2024-06-29 20:04:48 +02:00
9c5dd59d4b input: fix capabilities enum types passed
hyprland down to the seat protocol impl expects IHID capabilities, not WL_ ones

ref #6702 #6196
2024-06-29 00:23:02 +02:00
d16c6aa1db pointer-constraint: set lifetime correctly
ref #6679
2024-06-29 00:18:24 +02:00
Tom Englund
ac11771348
core: fix a few ubsan issues reported at exit of hyprland (#6699)
* watchdog: dont detach and cause race condition

instead of detaching and causing a race condition on destruction where
the thread is alive and watchdog has been destroyed, check if its
joinable and join it on destruction.

causes heap use after free on exit of compositor.

* render: add checks for compositor shutting down

avoid member call on null pointer, if the g_pHyprRenderer is destroyed
we can call the member makeEGLCurrent on it, causes undefined behaviour
on destruction of the compositor/hyprrenderer.

found with ubsan.
2024-06-28 22:24:32 +02:00
Alexander
f2dc48d92f
keybinds: never switch to another monitor with per_monitor (#6665)
Co-authored-by: Крылов Александр <aleksandr.krylov@hyperus.team>
2024-06-27 15:07:56 +02:00
outfoxxed
e4d09aa3a9
sessionLock: focus lock on creation based on mouse position (#6658)
* sessionLock: focus lock on creation based on mouse position

* sessionLock: immediately unfocus any focused surfaces on lock
2024-06-25 23:22:38 +02:00
c338acbb7d ime-relay: fix crash on nullptr surface focus 2024-06-25 22:46:36 +02:00