Shockingly Good
10a335631e
solitary: Fix the non-working tearing #9429 ( #9772 )
...
Fixes the non-working tearing by removing the incorrect
opaqueness check for the windows.
Fixes #9429
2025-03-30 20:29:39 +02:00
Emad Elsaid
da2d7c3971
config: Fix matching monitor by description to allow space prefix ( #9788 )
2025-03-30 03:12:15 +02:00
LeviVanDerMaas
05eb0aa43d
workspaces: Add binds:hide_special_on_workspace_change ( #9728 )
2025-03-30 03:11:39 +02:00
Tom Englund
fc7223edc0
synctimeline: check if fd is readable before wait ( #9789 )
...
a lot of the time the fd is already readable, and done. so just call the
waiter directly instead of making a waiter and adding it to the
eventloop.
2025-03-30 01:53:23 +01:00
Lee Bousfield
86c279d7d0
protocols: Don't update hdr metadata if image description is unchanged ( #9776 )
2025-03-30 01:25:27 +01:00
micha4w
46b00a4a86
makefile: add new shaders to make installheaders
( #9783 )
2025-03-30 01:25:02 +01:00
Tom Englund
4a79eea6dc
opengl: check for g_pHyprOpengl pointer ( #9791 )
...
restore the pointer check to avoid null ptr dereference on compositor
destruction.
2025-03-29 21:52:27 +01:00
UjinT34
7374a023ef
renderer/opengl: Extract shaders from source ( #9600 )
...
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net >
2025-03-29 01:19:35 +01:00
Lee Bousfield
a46576afc3
xwayland: Cleanup server startup and FDs ( #9769 )
2025-03-28 17:12:25 +01:00
Lee Bousfield
10035a85cc
core: Don't damage the entire surface every frame ( #9763 )
...
* core: Don't damage the entire surface every frame
* core: Damage buffer on dims or transform change
* core: Use guards for scale and tr equality checks
2025-03-28 17:00:39 +01:00
Vaxry
c93140a5f1
surfacestate: reset buffer bit before applying to current
...
fixes #9759
2025-03-28 12:32:07 +00:00
Vaxry
5380cbcdda
workspaces: minor fixes to persistence
...
fixes #9741
2025-03-27 14:00:29 +00:00
Tom Englund
9ea76428b6
internal: fix minor ubsan errors ( #9743 )
...
* opengl: check if g_pHyprOpengl exist
on compositor destruction we can hit a race where a CEGLSync destructs
and tries to call eglDestroySyncKHR on a null g_pHyprOpengl.
/src/render/OpenGL.cpp:3019:32: runtime error: member access within null pointer of type 'struct CHyprOpenGLImpl'
#0 0x555565eed979 in CEGLSync::~CEGLSync() /src/render/OpenGL.cpp:3019
#1 0x555565f6271e in std::default_delete<CEGLSync>::operator()(CEGLSync*)
const /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/bits/unique_ptr.h:93
* xdgshell: dont apply state on empty states
setsize can be called before a state has been added to pending,
resulting in calling ApplyState with a empty state.
/src/protocols/XDGShell.cpp:323:11: runtime error: null pointer passed as argument 2, which is declared to never be null
#0 0x5555659bf67e in CXDGToplevelResource::applyState() /src/protocols/XDGShell.cpp:323
#1 0x5555659bcedc in CXDGToplevelResource::setSize(Hyprutils::Math::Vector2D const&) /src/protocols/XDGShell.cpp: 256
#2 0x555563eed0ef in Events::listener_commitWindow(void*, void*) /src/events/Windows.cpp:841
2025-03-26 18:22:44 +01:00
Vaxry
0cd04bd666
surfacestate: track and apply updated state
...
fixes #9729
2025-03-26 17:22:21 +00:00
Vaxry
1c2b9a9ce3
opengl: don't attempt to compile cm on gles3.0
...
also disable the error for the cm shader
fixes #9738
2025-03-26 14:28:19 +00:00
vaxerski
cec084c178
pass/rect: include clipBox in opaque calculations
...
ref #9730 ref #9709
2025-03-26 11:47:04 +00:00
vaxerski
c2ef8fcc00
groupbar: round boxes
2025-03-26 11:44:38 +00:00
Tom Englund
3fc3521a97
pass: remove unusued timeline in texpass ( #9734 )
...
remove unused timeline and waitpoint in texpass and especially remove
the passing it to renderTextureInternalWithDamage that implicitly
converted it to bool. setting discardActive and allowCustomUV
2025-03-26 02:22:09 +01:00
Arkady Buryakov
9a67354fa2
Groupbar: apply scaling factor to text ( #9731 )
2025-03-26 02:07:56 +01:00
nyx
f7ba86d1f3
keybinds: add sendkeystate dispatcher ( #9599 )
2025-03-25 00:59:13 +01:00
Vaxry
f3db1b172c
decoration: bring back border_part_of_window
...
fixes #9683 , now under decoration: though
2025-03-24 23:57:50 +00:00
Tom Englund
2a6d070774
xwl: dont close the fd to early ( #9715 )
...
dont close the fd until the wl_event_source is removed, so we dont get
another event triggered with an already closed fd.
2025-03-24 19:33:07 +01:00
Vaxry
aec69131cd
seat: avoid sending null surfaces in leave/enter events
...
ref #9699
2025-03-24 14:10:47 +00:00
vaxerski
4b968e5bc1
[gha] Nix: update inputs
2025-03-24 12:57:34 +00:00
UjinT34
a852461c7d
renderer: Simplify and fix hdr metadata setting ( #9706 )
...
* simplify and fix hdr metadata setting
* keep incorrect(?) cm skip till #9600
2025-03-24 13:56:07 +01:00
Mihai Fufezan
e4abf26069
Nix: add changes from Nixpkgs derivation
2025-03-23 18:19:34 +02:00
Mihai Fufezan
006bd9eef5
protocols/meson.build: use native wayland-scanner
2025-03-23 18:15:17 +02:00
Vaxry
5ee35f914f
version: bump to 0.48.0
v0.48.0
2025-03-23 14:56:13 +00:00
entailz
aa1bd647b1
core/Compositor.hpp: fix non-relative Texture import ( #9703 )
2025-03-23 14:49:10 +02:00
Lee Bousfield
fdb7ca6c8f
core/compositor: Fix dropping cursor buffer data early ( #9700 )
2025-03-22 23:06:02 +01:00
UjinT34
6ab5a0befb
renderer: fix cm_fs_passthrough ( #9698 )
2025-03-22 18:34:01 +01:00
Lee Bousfield
6384f4acf4
core/compositor: Correctly track SHM buffer damage ( #9678 )
2025-03-22 17:13:44 +01:00
Aaron Blasko
4600043a49
hyprpm: return 1 when plugins are outdated ( #9694 )
...
* hyprpm: return 1 when plugins are outdated
* clang-formatted
2025-03-22 17:01:35 +01:00
Lee Bousfield
279b06044c
screencopy, render: Use explicit sync for screencopy ( #9697 )
...
* screencopy, render: Use explicit sync for screencopy
* screencopy: Check if explicit sync is enabled
* screencopy: Don't require explicit KMS enabled
2025-03-22 17:01:14 +01:00
Tom Englund
ccbdba7ee2
syncobj: refactor point timelines ( #9689 )
...
no need to store the resource, just store the csynctimeline as a shared
pointer and make the timeline own the syncobj fd.
2025-03-21 20:19:53 +01:00
UjinT34
c7f0519faf
core: fix DS and VRR automation ( #9334 )
2025-03-21 14:33:07 +01:00
Lee Bousfield
7ea4fbf0ba
types: Upgrade buffer ref from WP to SP ( #9677 )
2025-03-20 11:08:47 +00:00
Tom Englund
f6ca4bac51
syncobj: restore SHM buffer reset ( #9675 )
...
reset shm buffers early to mitigate stuttering animations, also reuse
the monitors eglSync and store the eglsync per monitor. this however
reintroduces flickering in dbeaver nonsyncobj application.
2025-03-20 11:39:55 +01:00
phonetic112
155eba57d8
groupbar: remove 2 pixel gap above groupbar ( #9664 )
2025-03-19 23:09:36 +01:00
Andrei V
7b10530a0d
XWayland: restore the abstract socket, and make it optional ( #9615 )
...
* Revert "xwayland: don't create an abstract unix domain socket on linux (#8874 )" (#9574 )
This reverts commit 2b01a5bcf6
.
* xwayland: make the abstract Unix domain socket optional (#9574 )
* xwayland: extend the default permissions for a regular Unix domain socket (#9574 )
* xwayland: a little refactoring for `createSocket`
2025-03-19 23:06:30 +01:00
Tom Englund
a25a214523
dmabuf: pop buffer on failure ( #9620 )
...
ensure it doesnt permanently gets stuck in the container on failure, pop
it from the container.
2025-03-19 17:49:20 +01:00
Lee Bousfield
c8d80a2920
ci: Fail on warnings ( #9668 )
...
* ci: Fail on warnings
* misc: Fix compiler warnings
2025-03-19 00:46:28 +01:00
Vaxry
03385fc07f
seatmgr: avoid crash on null surfs
2025-03-18 19:43:05 +00:00
vaxerski
cca0f48b74
renderer: add an option to disable cm and auto-skip cm if not necessary
...
fixes #9641
adds render:cm_enabled default true
2025-03-18 11:30:08 +00:00
Kamikadze
60edb376f2
config/defaultConfig.hpp: windowrulev2 -> windowrule ( #9663 )
2025-03-18 13:13:03 +02:00
tachyglossues
6f74d8d7e9
example/hyprland.conf: windowrulev2 -> windowrule ( #9662 )
2025-03-18 12:24:43 +02:00
Vaxry
ec4bea7901
config: nuke windowrule v1 syntax
2025-03-18 01:37:00 +00:00
Honkazel
9171db1984
renderer: delete now redundant ifdefs ( #9651 )
...
Hyprland for now requires aquamarine =>0.8.0 anyway
2025-03-18 02:29:08 +01:00
Ikalco
5f60fc7d00
renderer: only commit hw cursor stuff if needed ( #9654 )
2025-03-17 22:06:41 +01:00
Lee Bousfield
c4f46473df
monitor: Optimize direct scanout damage ( #9653 )
2025-03-17 22:05:44 +01:00