| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
|
| |
* Fix include path in Monitor.hpp
* fix more includes
|
| | |
|
| |
|
| |
Adds support for the recently merged w-p CM protocol alongside the (now deprecated) old CM WIP protocols
|
| |
|
|
|
|
|
| |
Minor changes to xwayland dnd / regular dnd to fix various issues
---------
Co-authored-by: Vaxry <vaxry@vaxry.net>
|
| |
|
|
|
|
| |
for xdg-shell, we can ping the wm_base, and thus render an ANR dialog if an app dies
for XWayland, there probably is a similar method, but I don't know about it and don't care.
|
| |
|
|
|
|
| |
timeline check only returns nullopt on ETIME_ERR , meaning the if check
later on returns true if drmSyncobjTimelineWait returns anything else
like EINVAL/EPERM/EACCESS etc, so actually check the returned .value()
of the std::optional. also move the fd to rvalue references.
|
| |
|
|
| |
Signed-off-by: James Ramsey <james.jehiel.ramsey@gmail.com>
Co-authored-by: James Ramsey <james.jehiel.ramsey@gmail.com>
|
| |
|
| |
Reason: look at the setReceive parameters and also at the next line(tries to narrow)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
ensure framebuffer textures are detached and deleted, avoid leaving framebuffers bound when not needed
* render: avoid calling glDeleteProgram on no program
its safe to do so but it adds a bunch of unnecessery lines in apitrace
when tracing. if guard it and return early.
* opengl: ensure texture and buffers are unbound
ensure bound buffers are unbound after use, also detach textures from
framebuffer before deleting it otherwise it will become dangling and
essentially leak.
|
| |
|
|
|
| |
* toplevelexport: fix transformed origin for shm buffers
* toplevelexport: fix style nits
|
| | |
|
| | |
|
| |
|
|
|
| |
* protocols: implement hyprland-ctm-control v2
* bump h-p and nix
|
| |
|
|
| |
fixes #9023
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* config: make fd use CFileDescriptor
make use of the new hyprutils CFileDescriptor instead of manual FD
handling.
* hyprctl: make fd use CFileDescriptor
make use of the new hyprutils CFileDescriptor instead of manual FD
handling.
* ikeyboard: make fd use CFileDescriptor
make use of the new CFileDescriptor instead of manual FD handling, also
in sendKeymap remove dead code, it already early returns if keyboard
isnt valid, and dont try to close the FD that ikeyboard owns.
* core: make SHMFile functions use CFileDescriptor
make SHMFile misc functions use CFileDescriptor and its associated usage
in dmabuf and keyboard.
* core: make explicit sync use CFileDescriptor
begin using CFileDescriptor in explicit sync and its timelines and
eglsync usage in opengl, there is still a bit left with manual handling
that requires future aquamarine change aswell.
* eventmgr: make fd and sockets use CFileDescriptor
make use of the hyprutils CFileDescriptor instead of manual FD and
socket handling and closing.
* eventloopmgr: make timerfd use CFileDescriptor
make the timerfd use CFileDescriptor instead of manual fd handling
* opengl: make gbm fd use CFileDescriptor
make the gbm rendernode fd use CFileDescriptor instead of manual fd
handling
* core: make selection source/offer use CFileDescriptor
make data selection source and offers use CFileDescriptor and its
associated use in xwm and protocols
* protocols: convert protocols fd to CFileDescriptor
make most fd handling use CFileDescriptor in protocols
* shm: make SHMPool use CfileDescriptor
make SHMPool use CFileDescriptor instead of manual fd handling.
* opengl: duplicate fd with CFileDescriptor
duplicate fenceFD with CFileDescriptor duplicate instead.
* xwayland: make sockets and fds use CFileDescriptor
instead of manual opening/closing make sockets and fds use
CFileDescriptor
* keybindmgr: make sockets and fds use CFileDescriptor
make sockets and fds use CFileDescriptor instead of manual handling.
|
| |
|
|
|
|
|
| |
* declare dtor once + DMABBUF typo fix
* dup include + clang moment
* linux-dmabuf: last minute nit change
|
| |
|
|
| |
ref #8087
|
| |
|
|
| |
in favor of const refs
|
| |
|
|
| |
fixes compositor crash when client tried to create a layer surface with
invalid layer argument
|
| |
|
|
| |
ref #9154
|
| | |
|
| | |
|
| |
|
|
| |
fixes #9126
|
| | |
|
| | |
|
| |
|
|
|
| |
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.
|
| | |
|
| |
|
|
| |
helps the compiler optimize
|
| |
|
| |
Cleanup some unneeded includes to speed up compilation
|
| |
|
| |
Also sets m_ignoreDamage, as it wasn't set before.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
configurable (#9019)
|
| |
|
| |
Co-authored-by: Dardo D Kleiner <dardo.kleiner@nrl.navy.mil>
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| | |
|
| |
|
|
|
|
| |
The server might be dead or restarting, and we'd deref null
ref #7822
|
| |
|
|
| |
fixes #8781
|
| |
|
|
| |
Also fixes small issues with hyprland-surface opacity < 1.0 while
surface alpha = 1.0.
|
| | |
|
| |
|
|
| |
Fixes #8891, the nvidia driver dies when we spam CTM too much.
|
| | |
|
| |
|
|
|
|
|
| |
* update ForeignTopLevel on null window focus
* fix
* clang
|
| |
|
| |
This rewrites renderer scheduling. Occlusion is now unified in a new Pass type.
|
| |
|
|
| |
fixes #8787
|