SoSeDiK
1343aa865d
config: Don't override fullscreen opacity if only two opacities are provided ( #5512 )
2024-04-09 16:22:44 +01:00
Sungyoon Cho
fcac25bcc2
workspace: Add count group flag in windowCount workspace selector prop ( #5499 )
...
* Add groupCount workspace selector prop
* Intergrate groupCount with windowCount
2024-04-09 12:08:38 +01:00
Tom Englund
125a8f7e07
workspace: fix crash on destruction of compositor ( #5495 )
...
when the compositor destructs because of exiting hyprland the
hookmanager and eventmanager is already destroyed, add an if check in
the destructor of workspace so it doesnt segfault on exit.
2024-04-08 18:28:11 +01:00
SoSeDiK
43b96f03b5
props: Allow setting per-window fullscreen opacity ( #5470 )
2024-04-07 23:19:02 +01:00
fa79aacea3
constraint: fix possible uaf on double destruction
...
ref #5448
2024-04-06 18:43:17 +01:00
staz
1596e2d1f7
workspacerules: add back on-created-empty functionality ( #5452 )
...
* workspacerules: add back on-created-empty functionality
* clang format
* workspacerules: spawn on-created-empty window while initializing CWorkspace
* clang format
* configManager: fix typo
---------
Co-authored-by: Your Name <you@example.com>
2024-04-06 15:53:32 +01:00
24734fbf1d
subsurface: init existing subsurfaces on children creations
...
fixes #5333
2024-04-06 03:09:20 +01:00
094bce8118
core: simplify sanityCheckWorkspaces
2024-04-05 19:43:51 +01:00
f815a33f64
workspace: remove monitor and visible flags on inert
2024-04-05 16:57:49 +01:00
thejch
1e8f57c734
workspacerules: fix workspace rule loops ( #5433 )
2024-04-05 16:54:30 +01:00
1454c6213e
window: fix invalid last workspace id
...
ref #5432
2024-04-04 22:49:15 +01:00
4f3e90ad2d
popups: more safety in damage checking
2024-04-04 16:42:30 +01:00
347b839034
workspaces: add visible flag
2024-04-03 10:09:48 +01:00
MightyPlaza
153c8f35ce
workspace: fix special unnamed workspace rules ( #5390 )
...
modified: src/desktop/Workspace.cpp
2024-04-02 22:58:45 +01:00
Vaxry
ef23ef60c5
Workspace/core: Refactor workspace storage ( #5380 )
...
* refactor workspaces to use ptrs
* clang-format
2024-04-02 20:32:39 +01:00
2e5b146e57
workspace: remove lastFocusedWindow on unmap
2024-04-02 12:10:03 +01:00
thejch
16a9c16d9f
renderer/animations: Fix various inaccurate damage tracking issues and offsets ( #5297 )
2024-03-31 02:14:26 +01:00
thejch
5e8c25d498
core: match all workspace rules instead of the first one only ( #5340 )
2024-03-31 00:49:53 +00:00
2930c5cb6f
animvar: fixup update callbacks and cleanup
2024-03-29 00:23:23 +00:00
ca17a89d86
renderer: allow blurring ls popups
2024-03-25 16:09:02 +00:00
295128ab2a
window: assign surface on create
...
ref #5076
2024-03-23 22:10:37 +00:00
361357095c
workspace: fix selectors with special:
...
fixes #5187
2024-03-20 18:06:03 +00:00
thejch
95ac8a34b1
workspace: fix integer overflow in selector parser ( #5177 )
2024-03-20 02:33:39 +00:00
8593c45be3
refactor: move window.hpp to desktop/
2024-03-20 01:44:51 +00:00
f6038837bc
constraint: do not disable constraints in destroy
...
fixes #5170
2024-03-20 01:30:41 +00:00
05cd6d3df1
config/workspace: added workspace selectors
2024-03-19 20:56:20 +00:00
c32b2331d1
constraint: set active flag before propagating props
...
fixes #5170
2024-03-19 18:55:17 +00:00
bb933dcf04
popup: avoid damage loops with commits
...
fixes #5118
2024-03-15 15:55:30 +00:00
045c3fbd85
subsurface: fix visibility check
...
ref #5113
2024-03-14 20:42:33 +00:00
b7b13623ba
subsurface/popup: expand on map/unmap to add buffering
...
ref #5113
2024-03-14 20:21:58 +00:00
Matt Wyatt
335506d555
constraints: only warp cursor on deactivate if constraint is locked. ( #5056 )
2024-03-09 23:19:48 +00:00
Aaron
5920c6a6b8
socket2: Add 5 IPC event with support for workspace ID ( #5022 )
...
- `moveworkspacev2`: returns workspaceID,workspaceName,monitorName
- `movewindowv2`: returns windowAddress,workspaceID,workspaceName
- `createWorkspacev2`: returns workspaceID,workspaceName
- `destroyWorkspacev2`: returns workspaceID,workspaceName
- `workspacev2`: returns workspaceID,workspaceName
- Include workspaceID as a parameter in CWorkspace constructor to support `createWorkspacev2`.
Resolves #4929
2024-03-08 17:39:53 +00:00
31e1287da2
subsurface: don't update transform on unmap
...
fixes #4969
2024-03-05 20:45:23 +00:00
a4c1f4a03d
popup: send scale on map
...
fixes #4972
2024-03-05 20:42:29 +00:00
12985fa0d8
surface: fix damage tearing feedback
...
fixes #4935
2024-03-05 00:21:37 +00:00
063708df26
config: improve config value infrastructure
2024-03-03 18:41:38 +00:00
Vaxry
d72ea5f2a7
input: Rewritten pointer constraints ( #4889 )
...
* rewritten constraints
* send pointer enter on activate if not pointer focus
* minor cleanup
* simulate movement on commit
* don't ignore oneshot prop
* various fixes
* dont send motion on confined
* update pos hint on region change
2024-03-02 21:04:55 +00:00
GartoxFR
b2c3440477
animations: Refactor AnimatedVariable ( #4911 )
...
* 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
2024-03-02 00:35:17 +00:00
Brett Alcox
6e3a494d1d
core: add additional headers for Popup.cpp and InputMethodRelay.hpp ( #4909 )
2024-03-01 20:07:36 +00:00
f590505daf
popup: minor fixes to xdg geometries
...
fixes #4900
2024-02-29 21:51:50 +00:00
6916d0a6a3
surface: unify owners
2024-02-29 15:07:14 +00:00
2e111c8cf9
xdg: rewrite entire popup implementation
2024-02-29 14:26:02 +00:00
b39dcfa497
refactor: move a few things to desktop/
2024-02-29 13:03:38 +00:00