| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Window storage rework - part 1
* format
* remove useless include
* fix pch
* format
* fix crash in dwindle
* fix vram leak
* prefer .expired() for bool checks
|
| |
|
|
|
|
| |
With the `silent` suffix, the focus remains on the current position in
the layout or the current monitor, instead of following the moved
window. When combined with `movewindow mon:X`, this this allows you to
get the same behavior as xmonad's `windowToScreen` command.
|
| |
|
|
|
| |
* master layout: change the mfact dispatcher to use splitratio
* add space for concat
|
| | |
|
| | |
|
| |
|
|
| |
longer applies (#5463)
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
* refactor workspaces to use ptrs
* clang-format
|
| |
|
|
| |
fixes #5374
|
| |
|
|
|
|
|
|
|
| |
* make master workspace orientation rule dynamic
* fix rebase
* fix special ws resizing
* style
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
being created (#5141)
* fix incorrect rendering when manually moving a window when its being created
* add setAnimationsToMove
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
* fix master switch window scrolling
* fix some more dispatchers and remove some duplicate code
* refactor and remove duplicate code
* fix focusmonitor: https://github.com/hyprwm/Hyprland/issues/5006#issuecomment-1986977255
* change check
|
| |
|
|
|
|
|
| |
* fix toggling fullscreen special ws on different monitor
* add for dwindle
* fix change regular workspace when special fullscreen
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* allow fullscreen/maximize in special workspace
* remove duplicate code
* hide top layer
* fix special fullscreen deco
* edit
* fix fade top layer when toggle special
* remove double render
|
| | |
|
| |
|
|
|
| |
* fix master animate resize
* fix some other pointers
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
| |
fixes #4022
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Migrate to hyprlang
* pop up errors
* fix swapped args
* Meson & Nix: build with hyprlang
* CI: add hyprlang to setup action
* add infra for plugin stuff
* fix hyprctl getoption
* fix hyprctl getoption with json
* format
* fix post parse logic
* fix autogen config
* oops missed exec-once
* fmt
* fix ws rules
* require 0.3.0 for hyprlang
* nix: flaek
* minor type fixes
* fix cfg usages in swipe
* use cvarlist for ws rules
* fix throw in addPluginConfigVar
* Nix: update hyprlang
* minor fixes
* fix disableLogs
* mention hyprlang docs
* bump hyprlang dep in cmake
* Meson: bump min hyprlang version
Nix: update hyprlang
* minor fix
* Nix: update meson patch
---------
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
|
| |
|
| |
fixes #4388
|
| |
|
|
|
| |
* add more null check for rollnext
* remove pwindow check
|
| |
|
|
| |
fixes #4331
|
| | |
|
| |
|
|
|
|
|
| |
* Unify input handling on decorations
* Make input methods private
* Optional data
|
| | |
|
| |
|
|
| |
it's useless. m_bIsMapped is the same.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
* add workspace rule for master layout orientation
* change rule format
* edit rule name
* use map for layoutopts
* use std::any instead of string
|
| | |
|
| |
|
|
| |
maybe finally will end #3761
|
| |
|
|
| |
fixes #3761 again
|
| |
|
|
| |
fixes #3758
|
| |
|
|
|
|
|
| |
* box impl
* remove unused operators
* missed applyfromwlr
|
| | |
|
| |
|
|
|
| |
* make drop_at_cursor work when dragging into a one-window workspace
* fix drop_at_cursor when new_is_master is enabled
|
| |
|
|
| |
fixes #3731
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
modified: src/Window.cpp
modified: src/Window.hpp
modified: src/layout/DwindleLayout.cpp
modified: src/layout/MasterLayout.cpp
modified: src/render/decorations/CHyprGroupBarDecoration.cpp
|
| | |
|