a01949dd28
deco: fix warnings
2024-03-09 16:39:38 +00:00
3f58e77e75
deps: update wlroots
2024-03-09 16:35:35 +00:00
300d77edd9
keybinds: track submap at press for keypresses
...
fixes #5037
2024-03-09 16:08:07 +00:00
c9ea600baa
layer-shell: allow for popup creation before map
...
ref https://github.com/jjsullivan5196/wvkbd/issues/65
2024-03-09 15:32:36 +00:00
3e930a568a
format: fix format
2024-03-09 03:09:25 +00:00
024d4ddc74
input: scale local coords in constraints
...
fixes #5029
2024-03-08 22:51:28 +00:00
717d5b3cc2
hyprctl: hide unmapped windows without -a
2024-03-08 17:47:12 +00:00
0a4ade01d3
format: make ci happy
2024-03-08 17:40:28 +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
4c34e4aac2
windowrules: minor improvements to min/max size
...
fixes #5017
2024-03-08 17:10:38 +00:00
Epilepsy Gatherings
1290507ac4
windowrules: check if floating when resizing from maxsize ( #5019 )
...
* check if floating
* use return
2024-03-08 14:54:45 +00:00
Epilepsy Gatherings
e52d3fa852
windowrules: Make min/maxsize rules dynamic ( #4775 )
...
* rebase
* simplify and remove prop
* Stuff
- add back win prop
- change minsize defaults
- change request formatting for setprop
* style fix
* remove empty line
* change defaults
* redo string to vec
* remove redundant parsing
* change to vec
* support commas
* remove static rules
* take out garbage
* format
* don't allow commas and resize on setprop
* use isNumber
2024-03-08 02:24:44 +00:00
ItsDrike
ceecdd0fd5
hyprctl: Fix incorrect invalid fontsize kwarg response ( #5013 )
2024-03-07 23:34:33 +00:00
thejch
6c4e2489a0
layout: Fix toggling fullscreen special workspace on different monitor ( #5000 )
...
* fix toggling fullscreen special ws on different monitor
* add for dwindle
* fix change regular workspace when special fullscreen
2024-03-07 13:27:58 +00:00
thejch
bf71026b8d
master: change active monitor when moving windows around ( #5001 )
2024-03-07 13:23:22 +00:00
95769a3c54
compositor: update state after moving to workspace
...
fixes #4987
2024-03-06 21:33:55 +00:00
ItsDrike
067df84388
notify: Add custom fontsize support for notifications ( #4981 )
...
* Add custom fontsize support for notifications
* Remove debug stuff
* Use original default font size
* Handle fontsize as keyword arg
* Use CVarList::join instead of for loop
* Use size_t for msgidx
2024-03-06 21:20:26 +00:00
8e2a62e53b
events: apply monitor state on sessionActive
...
ref #4839
2024-03-06 18:14:59 +00:00
outfoxxed
d6f1b151b2
animations: fix m_Goal not being set after #4911 ( #4992 )
2024-03-06 10:14:13 +00:00
bvr-yr
fb87e332c5
input: fix window move stutter by introducing additional checks for low-hz monitors ( #4553 )
...
* resize-limiter: add additional check for low-hz monitors
* simplify checker
* add comment
* rename variable
2024-03-06 00:15:44 +00:00
Zach DeCook
b1e2ca04a0
CrashReporter: Fix compilation with musl libc ( #4805 )
...
It can be assumed this doesn't function correctly:
my 'configuration does not support execinfo.h', so I have no backtrace to test against
2024-03-05 22:51:34 +00:00
05dd204c5f
window: ignore surface updates in unsafe / on invalid monitors
2024-03-05 20:46:08 +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
Grant Ammons
0ee69058c4
config: Add input:scroll_factor configuration ( #4980 )
...
* Allow for input:scroll_factor configuration
This PR will allow for a `scroll_factor` configuration within an `input`
block. The purpose is to control the scroll factor of external mice.
Closes #2574 .
* clang-format
2024-03-05 19:18:53 +00:00
Junxuan Liao
f8a081b56d
layout: warp the cursor when focusing windows ( #4982 )
...
Similar to the `focuswindow` dispatcher, when focusing a window with
wlr-foreign-toplevel-management, the cursor should be warped. Otherwise, the
focus is lost immediately after the cursor moves.
2024-03-05 17:56:06 +00:00
bdfa8ab856
hyprctl: print format and modes
...
fixes #4971
2024-03-05 13:55:38 +00:00
Junxuan Liao
08152477dc
monitor: remove commas from short description ( #4970 )
...
Since `hyprctl monitor` shows szShortDescription now, it needs to be sanitized.
(See #2457 )
Also, monitor selectors are now compared against szShortDescription and
szDescription to avoid re-striping the string.
2024-03-05 13:41:51 +00:00
12985fa0d8
surface: fix damage tearing feedback
...
fixes #4935
2024-03-05 00:21:37 +00:00
thejch
9c48c322d4
keybinds: Allow fullscreen/maximize in special workspace ( #4921 )
...
* 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
2024-03-04 23:29:45 +00:00
7a76ab01d1
input: send motion to confined cursors
2024-03-04 23:07:16 +00:00
Tom Benham
07c7235b72
keybinds: Better handling of workspace_back_and_forth ( #4952 )
...
* Removed redundant boolean condition
* Better handling of workspace_back_and_forth when using focusworkspaceoncurrentmonitor dispatcher
* Fixed config acquisition
---------
Co-authored-by: Tom Benham <tom.benham@quadrille.fr>
2024-03-04 17:05:20 +00:00
12da0fc84f
hyprctl: parse custom types in getoption
2024-03-04 10:36:38 +00:00
Isaiah Hamilton
9d89b7109d
config: update per device input configs link ( #4951 )
2024-03-03 23:00:28 +00:00
063708df26
config: improve config value infrastructure
2024-03-03 18:41:38 +00:00
JManch
8ccbd272cc
compositor: ignore grab extend behind special workspaces ( #4944 )
...
* compositor: ignore grab extend behind special workspaces
* ignore the window entirely
2024-03-03 17:04:39 +00:00
thejch
28272d2d74
master: Fix animate resize ( #4942 )
...
* fix master animate resize
* fix some other pointers
2024-03-03 17:03:23 +00:00
c701767038
xkb: handle invalid keymaps in updateXKBTranslationState
...
fixes #4941
2024-03-03 17:02:15 +00:00
cc94123fa7
renderer: minor fixes to transformations
2024-03-03 02:18:06 +00:00
Julien Roy
2a08f2ba84
opengl: fix compilation on legacy renderer ( #4928 )
2024-03-03 00:31:36 +00:00
689fced8b9
windowrules: fix center
...
fixes #4934
2024-03-03 00:22:40 +00:00
Epilepsy Gatherings
acf0b536a6
xwayland: disable initial focus for xwayland dialogs ( #4936 )
2024-03-03 00:18:53 +00:00
JManch
1762e9c6ec
renderer: respect forceNoBlur when rendering small surface windows ( #4932 )
2024-03-03 00:17:40 +00:00
Tobias Zimmermann
964f1a438d
keybinds: Add the 'catchall' keyword that matches all keys ( #4930 )
...
* Add the 'catchall' keyword that matches all keys
This keyword can be used to define arbitrary keybinds. The only special
behavior that it exhibits is that it matches every key, including
modifier keys. Any flags still apply normally.
This commit also fixes an issue that keys bound via the code:KEYCODE
format were not unbound correctly.
* Disallow catchall keybinds outside of submaps
A catchall keybind outside a submap would prevent essentially all key
events from going through to applications and would be difficult to
remove again.
2024-03-03 00:17:02 +00:00
JManch
508262b7db
events: update render data after workspace window rule ( #4931 )
2024-03-02 22:15:07 +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
d2289d8327
xdg: minor improvements to initial size reporting
...
fixes #4918
2024-03-02 18:53:17 +00:00
ItsDrike
be89d6faa9
notifs: Implement notification dimissing ( #4790 )
2024-03-02 18:12:31 +00:00
8811f4b69a
drag: check min size for reisze drags
...
fixes #4920
2024-03-02 15:25:32 +00:00
52db216608
events: don't switch to active workspace on workspace rule
2024-03-02 15:20:40 +00:00
7ce781e87c
keybinds: better follow xkb translation state
...
fixes #4908
2024-03-02 01:46: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
f115ba94d2
xwayland: set scaledBy for unmanaged windows in map
2024-03-01 23:04:34 +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
f801d15947
configmgr: fix compile on 32-bit archs
...
fixes #4895
2024-02-29 21:33:39 +00:00
e63b4b18aa
renderer: force a few render frames on init anim end
...
fixes #4875
2024-02-29 19:04:40 +00:00
1698d336f2
core: fix crashes on access of deleted wlr_ surface
...
ref fixes #4893
2024-02-29 17:23:44 +00:00
fbba8757cb
window: remove unused list
2024-02-29 16:16:03 +00:00
6916d0a6a3
surface: unify owners
2024-02-29 15:07:14 +00:00
Anton Samokhvalov
bcec082a1c
build: fix libc++/clang build ( #4886 )
2024-02-29 15:01:56 +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
4bff762d97
xwaylandmgr: don't read xwayland surface from unmapped xwayland
2024-02-29 01:21:23 +00:00
Vaxry
b1c0f1cc01
subsurface: Rewrite the subsurface tree ( #4877 )
2024-02-29 00:03:28 +00:00
1e7eb3a5a5
xdg: check for floating conditions before sending tiled size hint
...
ref #4871
2024-02-28 23:14:50 +00:00
097f561e41
surfacetree: Revert "subsurfaceTree: assign surfaces to a CWLSurface"
...
This reverts commit 51b1b17fcb
.
Crash issues, fixes #4874
2024-02-28 19:42:04 +00:00
a31433c215
renderer: damage whole ring on failed commit
...
fixes #4770
2024-02-28 18:00:02 +00:00
51b1b17fcb
subsurfaceTree: assign surfaces to a CWLSurface
...
fixes #4872
2024-02-28 17:53:17 +00:00
29cdd7de1f
layers: minor fixes for new animations
2024-02-28 15:59:45 +00:00
4bc669f933
layers: add fully featured animations
...
Adds configs and layerrules to handle them
alas fixes #981
I have cooked
2024-02-28 15:00:40 +00:00
f4f3aa2e50
layout: add size prediction for initial xdg commits
...
fixes #4022
2024-02-28 11:45:43 +00:00
JManch
c198d744b7
keybinds: unconstrain mouse on focusmonitor and cyclenext ( #4863 )
2024-02-28 00:52:45 +00:00
Tobias Zimmermann
489ac40abd
config: Add option to resolve keybinds by sym instead of code ( #4851 )
...
This commit adds the new configuration option 'resolve_binds_by_sym'
which can be set globally or per-device. It is off by default, which
preserves the current behavior.
This setting only affects the behavior of keybinds that are defined via
key symbols, not those defined via keycode. Binds defined by symbols
currently activate if the keycode pressed would generate the specified
symbol on the first layout specified in the input section.
If enabled, keys pressed on the relevant device will instead match
keybinds by the symbols they produce with their current layout.
Closes #1881 .
2024-02-27 23:21:22 +00:00
e3373669e5
wayland: implement keyboard_shortcuts_inhibit_v1
...
fixes #4568
2024-02-27 23:15:24 +00:00
f26d7aa58d
config: add defaultName for workspace rules
...
alas, fixes #665
2024-02-27 22:44:42 +00:00
e2c286548d
avar: return curve value of 1 when not animated
...
fixes #4862
2024-02-27 22:34:07 +00:00
Philip Damianik
60f81b8a23
input: Map touch devices and tablets bound to an output ( #3544 )
...
* Map bound touch devices and tablets to an output
* Add "[[Auto]]" default option for auto detecting outputs for touch inputs
* Bind new monitors to configured touch and tablet devices
* Use Monitor::matchesStaticSelector in CConfigManager::getMonitorRuleFor
* Use Monitor::matchesStaticSelector in CCompositor::getMonitorFromString
2024-02-27 22:11:59 +00:00
98034fea3c
screencopy: send full frame damage
...
fixes #4855
2024-02-27 14:51:27 +00:00
21f7f32dc9
screencopy: avoid dangling client ptrs on client destroy
2024-02-27 12:23:59 +00:00
ffd7217243
IME: don't set modifiers on grab destroy
2024-02-27 12:23:45 +00:00
bc3f5b94eb
core: nullcheck for old monitor in moveWorkspaceToMonitor
...
fixes #4495
2024-02-26 21:12:12 +00:00
f7a3453487
socket2: move to the wayland event loop
2024-02-26 17:20:51 +00:00
Bernd Müller
1742605eb8
keybinds: fix movewindoworgroup onto empy workspace on next monitor ( #4486 )
...
* fix: movewindoworgroup when no window or group is in desired direction, e.g. move window onto empty workspace on next monitor
* fix: movewindoworgroup when no window or group is in desired direction, e.g. move window onto empty workspace on next monitor
* reset flake.nix
* add: changes mentioned in review of #4486
2024-02-26 14:05:24 +00:00
github-usr-name
81fe2ae7f1
surface: ensure global pointers valid before using in destructor ( #4844 )
...
This fixes an observed SigSegV resulting from the cursor surface using
`g_pInputManager` when invoked from the `CInputManager` destructor
Co-authored-by: github-user-name <spam-here@github.com>
2024-02-26 09:52:12 +00:00
dfcfb92ec6
renderer: take into account fading out windows in solitary recheck
2024-02-26 00:19:16 +00:00
9815402074
keybinds: focus floating on top of fs
2024-02-26 00:15:59 +00:00
shezdy
a14f6b570f
keybinds: fix focuswindow for fullscreen ( #4840 )
...
* focuswindow fix
* fix format
---------
Co-authored-by: ddmetz <77217897+ddmetz@users.noreply.github.com>
2024-02-26 00:05:20 +00:00
Tom Benham
54a8329936
layout: Fixed ghost window when opened while fullscreen on a different workspace ( #4822 )
...
* Fixed ghost window when opened while fullscreen on a different workspace
* Format
---------
Co-authored-by: Tom Benham <tom.benham@quadrille.fr>
2024-02-25 14:09:41 +00:00
github-usr-name
f9cfec8abb
compositor: allow source monitor to be provided to getMonitorInDirection
( #4837 )
...
Co-authored-by: github-user-name <spam-here@github.com>
2024-02-25 14:03:00 +00:00
JManch
e9528fc214
config: fix layout invalidation for keyword commands ( #4826 )
2024-02-24 14:06:28 +00:00
6f83856025
hyprctl: add -r argument
2024-02-24 14:02:03 +00:00
thejch
d92da7959a
core: Fix SEGV/ABRT core dump when exiting ( #4823 )
...
* reset input manager first
* move reset
2024-02-24 02:50:54 +00:00
bdbd8d965d
hyprctl: jsonify new gaps
...
fixes #4820
2024-02-23 21:25:04 +00:00
bfb1e876a8
config: add opengl:force_introspection
...
fixes #4819
2024-02-23 21:21:24 +00:00
ca59bd5739
opengl: check bottom/bg layers for required introspection
...
ref #4818
2024-02-23 21:09:47 +00:00
thejch
f389f77015
core: Try to fix the exit hang ( #4811 )
...
* add signal removal
* use a flag instead
* remove signals in cleanup
2024-02-23 16:48:27 +00:00
8c3613632a
renderer: nuke lastFrameDamage and rework finalDamage
...
this fucking SUCKED
2024-02-23 01:02:32 +00:00
c1ef361e02
renderer: fix logs
2024-02-23 00:02:48 +00:00
35e80a64a6
renderer: add more logging for fails in beginRender
2024-02-22 23:50:56 +00:00