| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
|
|
|
| |
fullscreen (#12033)
Renames `misc:new_window_takes_over_fullscreen` into
`misc:on_focus_under_fullscreen` and implements the following behavior:
- By default, when a tiling window is being focused on a workspace where
a fullscreen/maximized window exists, respect
the `misc:on_focus_under_fullscreen` config variable.
|
| |
|
|
| |
akin to CPopup, which already does this
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
* layers: refactor class member vars
* popups: rename m_WLSurface to m_wlSurface
|
| | |
|
| | |
|
| |
|
|
| |
updates (#9421)
|
| |
|
|
| |
fixes #9283
|
| |
|
|
|
|
|
|
| |
makes sure m_pSelf is set before we do anything like possibly adding children
fixes #9275
supersedes #9276
|
| |
|
|
|
|
|
| |
* declare dtor once + DMABBUF typo fix
* dup include + clang moment
* linux-dmabuf: last minute nit change
|
| |
|
|
| |
fixes #9224
|
| |
|
|
| |
in favor of const refs
|
| | |
|
| |
|
|
|
|
| |
the previous method doesn't exactly work, idk todo fix
fixes #8784
|
| | |
|
| |
|
| |
Cleanup some unneeded includes to speed up compilation
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
| |
old semi-wrappers for wl_signal, they are no longer used
|
| |
|
| |
now we roll loops at blazing constified speed.
|
| |
|
|
|
| |
* wayland/core/dmabuf: move to new impl
it's the final countdown
|
| |
|
|
|
|
|
|
|
|
|
| |
moves std::shared_ptrs to a new implementation
Advantages:
- you can dereference a weak_ptr directly. This will obviously segfault on a nullptr deref if it's expired.
- this is useful to avoid the .lock() hell where we are 100% sure the pointer _should_ be valid. (and if it isn't, it should throw.)
- weak_ptrs are still valid while the SP is being destroyed.
- reasoning: while an object (e.g. CWindow) is being destroyed, its `weak_ptr self` should be accessible (the sp is still alive, and so is CWindow), but it's not because by stl it's already expired (to prevent resurrection)
- this impl solves it differently. w_p is expired, but can still be dereferenced and used. Creating `s_p`s is not possible anymore, though.
- this is useful in destructors and callbacks.
|
| |
|
|
| |
fixes #5878
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Window storage rework - part 1
* format
* remove useless include
* fix pch
* format
* fix crash in dwindle
* fix vram leak
* prefer .expired() for bool checks
|
| |
|
|
| |
fixes #5333
|
| | |
|
| |
|
|
| |
ref #5113
|
| |
|
|
| |
ref #5113
|
| |
|
|
| |
fixes #4969
|
| |
|
|
| |
fixes #4935
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* animation: Refactor AnimatedVariable
This commit decomposes the AnimatedVariable class into a base class
with the common attribute to all variable types and a templated derived
type containing strongly typed info on the type being animated.
Access to the typed version is perfomed using the visitor pattern. A
utility is provided to build a visitor on the fly using lambdas.
Adding a new type to be animated should just be a matter of adding the
typed in the list defined by the ANIMABLE_TYPES macro
The size of the commit is justified by the API change in the
AnimatedVariable class. No more vec(), fl() or col() method but a unified
value() method.
* animation: Remove visitor pattern
* animation: Fix coding style
* animation: Fix coding style
|
| | |
|
| | |
|
| |
|