724fa4a7d4
add touch binding to output
2022-10-14 12:38:44 +01:00
Vaxry
cee0645fd1
Merge pull request #813 from histausse/touch_dev_rotation
...
Add input:touchdevice:transform config
2022-10-14 12:26:31 +01:00
vaxerski
2ee9fb0675
don't recalc offset on monitor reload offset auto
2022-10-12 15:16:31 +01:00
Felix Dick
7e781f24c5
Merge branch 'main' into simplify_matrix_calculations
2022-10-10 02:45:40 +02:00
Felix Dick
3bf7c5aea1
Change matrixProjection function stop use matrixFlip180 everywhere.
2022-10-10 01:35:42 +02:00
vaxerski
881f828250
better subsurface handling on unmaps
2022-10-09 17:40:30 +01:00
Histausse
32ae0c51f0
Add input:touchdevice:td_rotation config
...
Add support for touch device roation. The rotation is
set globally with `input:touchdevice:td_rotation config` and by
device with `td_rotation` in a device block.
2022-10-08 15:25:46 +02:00
vaxerski
0508c7d384
more monitor checks for shutdown:
2022-10-06 18:43:50 +01:00
vaxerski
11ce468996
add dpms status info in hyprctl
2022-10-05 18:14:11 +01:00
71e2562a41
add desc: to monitor rules
2022-10-05 10:22:33 +01:00
vaxerski
0d702b556d
Add switch device handling and binds
2022-10-04 20:07:21 +01:00
vaxerski
63dfe305dd
log GPU info for debugging
2022-10-03 23:10:15 +01:00
vaxerski
174b593438
optimize removing trailing spaces
2022-10-03 14:36:56 +01:00
vaxerski
a97621b1cb
Added window swallowing
2022-10-01 19:19:15 +01:00
vaxerski
e6c9e3f81d
add case for empty strings in isNumber
2022-09-30 21:54:13 +01:00
Felix Dick
11ee78f88b
Use double literals, don't cast a integer literal to double.
2022-09-28 20:08:41 +02:00
vaxerski
ec5ffe8839
rewrite isNumber
2022-09-28 15:32:53 +01:00
vaxerski
e3b1d3c3c5
allow for pure workspace names in dispatchers
2022-09-28 15:26:41 +01:00
Felix Dick
87afc8c250
Replace clamp with max if there is no upper bound.
2022-09-26 21:10:24 +02:00
Felix Dick
bf3f519eb7
Remove trailing whitespace.
2022-09-25 20:07:48 +02:00
79c645f8cd
handle touch devices internally as objects
2022-09-21 14:39:34 +01:00
4dca2b945b
fix LS fading out on ws change
2022-09-20 09:46:55 +01:00
tomahk
5146165599
this is c++, use nullptr
2022-09-19 21:45:00 +02:00
tomahk
73e19aee6f
prevent assert killing Hyprland after reenabling monitor
2022-09-19 20:44:33 +02:00
18b483b8e1
fix ws switching with LS opacity
2022-09-19 10:40:42 +01:00
a72a39ebd5
minor swipe fixes
2022-09-17 15:05:12 +01:00
vaxerski
8e0f7b9b11
Various subsurface handling fixes
2022-09-14 16:34:41 +02:00
vaxerski
5a146e9d90
guard surface in addsurfaceglobaloffset
2022-09-13 21:49:55 +02:00
vaxerski
e518adf1ac
don't iterate over subsurfaces in unmap
2022-09-13 15:44:50 +02:00
vaxerski
e9f226797e
Added monitor mirroring
2022-09-13 15:25:42 +02:00
vaxerski
f663fa209c
minor code styling fixes
2022-09-09 19:08:11 +02:00
vaxerski
bb90ff0461
sanity check on last window
2022-09-01 11:46:41 +02:00
vaxerski
7f62cbc48a
Update wlroots dep
2022-09-01 11:24:15 +02:00
vaxerski
dacaf72e02
remember last window on workspace
2022-08-31 17:02:49 +02:00
Vaxry
52c0ba544c
Viewporter implementaion ( #585 )
...
Implementation of the `wp_viewporter` core protocol and some bugfixes
2022-08-28 10:14:43 +02:00
Vaxry
1d97ad9856
Merge pull request #588 from alec-lefors/drm-leasing
...
implemented DRM leasing
2022-08-27 23:47:41 +02:00
Alec LeFors
59d7cfcd02
implemented DRM leasing for VR headsets
2022-08-27 17:10:13 -04:00
vaxerski
ed2cacc5d5
fix styling in const ptrs
2022-08-27 21:37:35 +02:00
vaxerski
10f529ada7
added a specialWorkspace anim leaf
2022-08-26 11:26:23 +02:00
vaxerski
a9e34cba93
move monitor damage to separate funcs
2022-08-23 16:07:47 +02:00
vaxerski
23c5760538
IME Popup damage fixes
2022-08-23 11:16:35 +02:00
Charles Taylor
3c8c605541
fix style conflicts and config + monitor retrieval
2022-08-21 21:58:46 +10:00
Charles Taylor
04f0efadc3
add switching to previous workspace
2022-08-21 20:21:21 +10:00
vaxerski
cc3f0ff9e7
update wlroots dep
2022-08-20 20:06:24 +02:00
FlafyDev
f0ad77251b
move absolutePath to MiscFunctions
2022-08-19 23:18:09 +03:00
FlafyDev
69d17bf424
add input:kb_file
2022-08-19 21:01:51 +03:00
b078a12eed
Added an activelayout event
2022-08-18 17:17:33 +02:00
c7350117f1
reinit render on disconnected displays
2022-08-10 23:19:15 +02:00
58ff04fdf3
added experimental monitor saving
2022-08-10 21:54:09 +02:00
9b39a0c2e0
Added hyprctl setcursor
2022-08-10 21:22:11 +02:00
76877d4b15
minor changes to monitor logging
2022-08-10 18:27:57 +02:00
03f2e4d42a
fix compile
2022-08-10 13:45:20 +02:00
15fc0892c7
further fixes to monitor disabling on launch
2022-08-10 13:44:04 +02:00
a564be73c5
set correct full params in disabled at launch
2022-08-10 13:31:58 +02:00
vaxerski
e0ada97a24
support zwp_input_method_v2 popups
2022-08-05 17:07:01 +02:00
vaxerski
9a8a6317ff
multiple IME fixes
2022-08-05 16:21:08 +02:00
vaxerski
cb5521ec6e
fix possible crashes with IME
2022-08-05 13:19:16 +02:00
vaxerski
1c4d0e8c18
added IME protocol support
2022-08-05 13:03:37 +02:00
vaxerski
37068cf4f0
fix crash with reenabling a monitor
2022-08-03 17:42:19 +02:00
vaxerski
c3edb20e04
make monitor IDs permanent
2022-08-03 16:19:00 +02:00
vaxerski
b9be405d32
clear ls lists on monitor disconnect
2022-08-03 16:12:05 +02:00
vaxerski
8dd88d901d
guard onDisconnect
2022-08-03 16:05:25 +02:00
vaxerski
920fdd6bff
Animation config rework
2022-07-28 13:28:43 +02:00
vaxerski
b6f2a4bc36
damage popups correctly
2022-07-28 11:37:27 +02:00
vaxerski
427bc35b6b
fix empty workspace name on unspecified default
2022-07-27 13:56:01 +02:00
vaxerski
cb1a36faf0
missed 2 structs
2022-07-27 12:36:56 +02:00
vaxerski
31a079b347
added DPMS
2022-07-27 12:32:00 +02:00
vaxerski
98ef43496b
listener fixes
2022-07-26 21:41:29 +02:00
vaxerski
b18a2738e3
schedule recalcs in LS
2022-07-26 18:22:34 +02:00
vaxerski
b0d91cbf3a
simplify formats
2022-07-25 22:40:34 +02:00
vaxerski
6e16dfa5e5
use defines for unreachable
2022-07-25 21:34:57 +02:00
vaxerski
b1d3a1deea
force unmap on direct destroy
2022-07-25 18:38:40 +02:00
vaxerski
1626707b7f
make layerSurfaces into RAII
2022-07-23 15:48:08 +02:00
Mihai Fufezan
72700bf9dc
layersurfaces: set default geometry
2022-07-22 20:28:43 +03:00
vaxerski
616ec22735
wrapped wl_listener fixes
2022-07-22 13:34:19 +02:00
Darksome
eb8a1939e6
Merge upstream
2022-07-21 19:18:03 +03:00
vaxerski
641aaff998
minor code adjustments
2022-07-20 18:39:08 +02:00
vaxerski
f905ae33c8
guard pSurface in unmapsubsurface
2022-07-19 13:54:42 +02:00
Vaxry
f35d513bf5
Merge pull request #391 from dgerblick/focuswindow-options
...
focuswindow options + other hyprctl bugs I found when testing
2022-07-18 23:19:12 +02:00
vaxerski
10a83853ac
added ls noprocess
2022-07-18 21:16:01 +02:00
Daniel Gerblick
f2c0e6ef02
fixed issue causing hyprctl to output ill-formed json when strings include characters needing escaping
2022-07-18 14:47:28 -04:00
xDarksome
4f9be67298
Merge branch 'hyprwm:main' into main
2022-07-16 15:30:32 +03:00
Darksome
ce9efb7ae3
Impl changeworkspace(e+{n})
2022-07-16 15:28:17 +03:00
vaxerski
48e5bd96bc
Added shadow colors animations and inactive col
2022-07-16 12:44:45 +02:00
vaxerski
19c646ab47
Minor changes to the renderer's overflow behavior
...
Won't squish base layers anymore
2022-07-15 19:07:06 +02:00
vaxerski
2f3b2db83d
fixed tiled popups going behind windows
2022-07-12 09:49:56 +02:00
vaxerski
f461ea3105
squish oversized subsurfaces while animating
2022-07-11 23:38:10 +02:00
vaxerski
ad66c158ba
don't refocus on virt ptrs
2022-07-11 20:23:16 +02:00
vaxerski
4b334594dc
Added splashes
2022-07-10 15:41:26 +02:00
vaxerski
92e17f2925
added rules to hyprctl devices and fixed rules
2022-07-08 12:27:05 +02:00
vaxerski
91249675de
fix corner artifacts
2022-07-08 09:43:55 +02:00
vaxerski
4b796d30c1
Added swipe workspace gestures
2022-07-07 13:49:04 +02:00
vaxerski
1cf2f378d4
added ls blurring
2022-07-06 22:12:03 +02:00
vaxerski
6a16f11d63
add namespace to hyprctl layers
2022-07-06 21:57:35 +02:00
vaxerski
42d18143e5
use std::unreachable in avars
2022-07-06 16:54:45 +02:00
vaxerski
f9756d10d4
changed C++ std to C++23, use std::string::contains
2022-07-06 16:50:11 +02:00
vaxerski
9655d0c138
added support for wlr_idle_inhibitor_v1
2022-07-06 15:42:37 +02:00
vaxerski
e81de82706
added Vector2D::clamp
2022-07-02 22:17:17 +02:00
vaxerski
d010ca2049
added per-device config options
2022-06-30 21:26:00 +02:00
vaxerski
4510764f34
finally fix scaled snapshots
2022-06-30 20:02:04 +02:00
vaxerski
328b3fa4bc
mordernize pointers
2022-06-30 15:44:26 +02:00
vaxerski
4101006b5e
remove asserts in CAnimatedVariable
2022-06-30 12:22:24 +02:00
vaxerski
2659afee3c
force workspace events
2022-06-29 18:19:06 +02:00
vaxerski
6213328d2c
default currentrules to null
2022-06-28 16:12:47 +02:00
vaxerski
9fcef41d66
mutliple fixes to subsurface handling
2022-06-28 15:30:46 +02:00
vaxerski
3cbd69e703
added createworkspace destroyworkspace events
2022-06-28 12:39:56 +02:00
vaxerski
80f04fa7c6
speed up damage log in commit subsurface
2022-06-28 12:20:33 +02:00
vaxerski
8b4a373efa
update wlroots dep
2022-06-28 11:30:07 +02:00
vaxerski
44aeb1fc90
added decoration:shadow_offset
2022-06-26 22:15:06 +02:00
vaxerski
8de8f6667e
add system info logging
2022-06-25 20:49:06 +02:00
vaxerski
b46f45befa
additional keymap reload safety
2022-06-25 11:50:09 +02:00
vaxerski
72c86b99eb
added general:cursor_inactive_timeout
2022-06-24 23:27:02 +02:00
vaxerski
48e33023af
fix crash on number workspace with null mon
2022-06-21 22:42:54 +02:00
vaxerski
ff49f22440
fix rapid blinking on launch
2022-06-21 22:13:13 +02:00
Florian "sp1rit"
fd0112425f
Added meson buildfiles
...
this makes for a far better experience in combination with wlroots,
since that whole makefile mess is not required.
Additionaly, handling of wayland protocol sources is also slightly
better, but could be improved with mesons inbuilt wayland module.
To build Hyprland using meson:
meson _build -Ddefault_library=static
ninja -C _build
ninja -C _build install
2022-06-16 23:30:28 +02:00
vaxerski
53146ccf69
oopsie
2022-06-09 21:39:03 +02:00
vaxerski
47404534d0
added tablet v2 support (alpha alpha)
2022-06-09 12:46:55 +02:00
vaxerski
663fba76ae
Added resizeactive
2022-06-06 19:32:14 +02:00
vaxerski
d743ac7bb1
added forcerendererreload and some more vt changes
2022-06-06 13:48:17 +02:00
vaxerski
84a0fa0f34
fix subsurfaces not damaging on unmap
2022-06-05 23:23:16 +02:00
vaxerski
1a93b2a756
Handle keyboards better
...
Also fixes some crashes of apps on reload
2022-06-03 18:59:39 +02:00
vaxerski
a2f718059b
fucking typo
2022-06-02 19:50:46 +02:00
vaxerski
601abc7e92
Added locking numlock
2022-06-02 19:47:11 +02:00
vaxerski
f5cdb5b95e
Fix special in m+1 m-1
2022-06-02 16:54:19 +02:00
vaxerski
7afcf656bd
Added hyprctl devices
2022-06-02 13:59:33 +02:00
vaxerski
0f28d2ae55
fix stupid error in anim styles
2022-06-01 20:51:21 +02:00
vaxerski
970018248f
Don't damage surfaces coming from not rendered windows
2022-05-31 22:16:13 +02:00
vaxerski
3e28a8b690
added slidevert for workspaces
2022-05-31 17:56:33 +02:00
vaxerski
0055efc4f1
Added a special workspace
2022-05-31 14:01:00 +02:00
vaxerski
df722cbb86
Added relative monitor workspace offset
2022-05-31 12:33:08 +02:00
vaxerski
c9041bf5c9
notify workspace protocol of workspace group change
2022-05-30 20:51:45 +02:00
vaxerski
1f4c938c67
Added moving workspaces
2022-05-30 20:05:38 +02:00
vaxerski
9842730f57
Added fullscreen types, maximize and full
2022-05-29 15:44:30 +02:00
vaxerski
d0ff0c0990
Added basic monitor transforms, has bugs
...
blur doesnt work on transformed outputs
full damage tracking issues
2022-05-29 12:27:45 +02:00
vaxerski
7f1f14fe85
Added a rounding rule
2022-05-28 17:48:01 +02:00
vaxerski
795504dad0
Added workspaceopt dispatcher
2022-05-26 19:05:32 +02:00
vaxerski
08d4d987cf
return nearest mon if point out of range
2022-05-25 18:40:03 +02:00
vaxerski
0ae6563fef
workspace set active
2022-05-25 10:25:36 +02:00
vaxerski
198fc90df5
What the fuck is going on with git, fix the entire scaling merge
...
This reverts commit 5b15d3b4f4
.
2022-05-18 20:33:54 +02:00
vaxerski
5454cf8e89
Fixed mouse constraints, should be correct now
2022-05-18 14:57:08 +02:00
vaxerski
5b15d3b4f4
Revert "Merge pull request #88 from vaxerski/scaling"
...
This reverts commit f68ddc382a
, reversing
changes made to ba573a529a
.
2022-05-18 14:42:00 +02:00
vaxerski
6c437763f6
Merge branch 'main' into scaling
2022-05-18 13:10:22 +02:00
vaxerski
ba573a529a
fix workspaces disappearing on switch anim mode
2022-05-18 12:39:20 +02:00
vaxerski
f70d0ec5aa
Added movetoworkspacesilent
2022-05-18 12:18:58 +02:00
vaxerski
473d4591b0
fix some memory issues
2022-05-17 18:37:14 +02:00
vaxerski
cc84b0ce50
fix workspace fade damage
2022-05-17 13:24:23 +02:00
vaxerski
cad71218c0
borders are now gangsta
2022-05-17 13:16:37 +02:00
vaxerski
f09de365d5
Added workspace fade transition
2022-05-16 23:13:32 +02:00
vaxerski
bf8ebfc631
added scaling (dt broken)
...
damage tracking on full is broken
2022-05-16 20:45:27 +02:00
vaxerski
109136af97
Fadein/out now applies to layersurfaces too
2022-05-14 17:23:46 +02:00
vaxerski
bef4d7c9b7
Improve bezier baking & approx
2022-05-12 16:59:51 +02:00
vaxerski
0de058beb1
Merge pull request #69 from mdartmann/fix-underflow-remove-begin-end-spaces-tabs
...
Fix string underflow in `removeBeginEndSpacesTabs()`
2022-05-12 12:20:40 +02:00
vaxerski
d438bd970a
Added virtual pointer protocol
2022-05-12 12:13:02 +02:00
Mae Dartmann
a6caac2b61
Fix string underflow in removeBeginEndSpacesTabs()
...
Signed-off-by: Mae Dartmann <hello@maedartmann.name>
Changes to be committed:
modified: src/helpers/MiscFunctions.cpp
2022-05-12 12:08:18 +02:00
vaxerski
ff0f535c28
Added workspace animations
2022-05-12 11:27:31 +02:00
vaxerski
77d37cd72a
optimization: dont damage entire window on border anim
2022-05-05 14:02:30 +02:00
vaxerski
8bb908a8da
Added focusmonitor
2022-05-05 12:50:25 +02:00
vaxerski
d798376330
assert -> rassert for animatedvariable
2022-04-24 17:01:39 +02:00
vaxerski
ad2c72a797
Bake 200, more info
2022-04-23 23:16:43 +02:00
vaxerski
3ebe7d7972
Added bezier curves
2022-04-23 21:47:16 +02:00
vaxerski
306d163613
return const refs + vec constantize
2022-04-23 14:40:51 +02:00
vaxerski
f84294fe07
fixed fullscreen, removed effective vars from windows
2022-04-23 14:35:34 +02:00
vaxerski
0147975faf
New animation system
2022-04-23 14:16:02 +02:00
vaxerski
5fa916e6f2
fix monitor reload crash
2022-04-21 18:11:28 +02:00
vaxerski
b618fc1caa
Added named workspaces
2022-04-21 16:38:48 +02:00
vaxerski
87b8491294
Added the splitratio dispatcher
2022-04-20 16:53:41 +02:00
vaxerski
c7d02a38d9
fixed an oopsie
2022-04-18 18:33:50 +02:00
vaxerski
cbf0d366b4
fixed discardopaque with custom alpha
2022-04-18 18:23:10 +02:00
vaxerski
24316f2e71
Fix trailing spaces in config
2022-04-18 13:25:27 +02:00
vaxerski
7b1eaca840
Implemented mouse constraints
...
has some todos but mostly works
2022-04-17 21:40:04 +02:00
vaxerski
b0f5e4ab56
store scale and scale windows with monitor
2022-04-17 18:47:10 +02:00
vaxerski
75af34da96
added basic damage tracking
2022-04-14 16:43:29 +02:00
vaxerski
429853346f
set hidden and urgent flags for new workspaces
2022-04-12 21:00:46 +02:00
vaxerski
a8e8729230
Added zext_workspace protocol support 🎉
2022-04-11 19:51:37 +02:00
vaxerski
92bfe6f13e
fixed some more crashes
2022-04-10 16:19:49 +02:00
vaxerski
743efafbde
finally fucking fixed #7
2022-04-10 15:36:44 +02:00
vaxerski
3753f83f69
Added default background as a PNG
2022-04-10 14:32:18 +02:00
vaxerski
707de8ec3f
Subsurface tree account for subsubsurfaces
2022-04-07 20:15:24 +02:00
vaxerski
f8e0b0b448
fadein and prep for fadeout
2022-04-05 19:28:10 +02:00
vaxerski
f5562941f7
fixed rounding of things not to be rounded
2022-04-05 18:32:06 +02:00
vaxerski
374491ee63
progress
2022-04-04 19:44:25 +02:00
vaxerski
7add082217
send focus change
2022-04-02 19:09:27 +02:00
vaxerski
223beb8a82
Multiple focus handling changes
2022-04-02 18:57:09 +02:00
vaxerski
c923b4f075
XDG popup tweaks
2022-04-02 13:41:15 +02:00
vaxerski
586e2a98ed
Added animated borders
2022-03-31 17:50:00 +02:00
vaxerski
993e601424
remove some warnings
2022-03-31 17:26:09 +02:00
vaxerski
3e614f2c1e
Draw the drag icon
2022-03-31 17:25:23 +02:00
vaxerski
ad4fc28f78
🎉 Wrapped dynamic event handlers
2022-03-28 22:31:39 +02:00
vaxerski
000b16585f
Some logs n stuff
2022-03-28 21:16:23 +02:00
vaxerski
17e88bf059
log signals
2022-03-28 16:10:30 +02:00
vaxerski
144a79ee00
fixed ASSERT and last commit's oopsie
2022-03-27 22:34:02 +02:00
vaxerski
ad36a9dc9e
rework popups completely
2022-03-27 17:25:20 +02:00
vaxerski
aa64af95fe
handle inhibit
2022-03-22 18:29:13 +01:00
vaxerski
bcb02b9307
handle subsurfaces
2022-03-21 16:13:43 +01:00
vaxerski
50370e4216
added workspaces
2022-03-20 15:55:47 +01:00
vaxerski
decb2f638d
popups handled properly
2022-03-20 14:00:46 +01:00
vaxerski
5d0919fcff
handle layer popups
2022-03-20 12:11:57 +01:00
vaxerski
a4b026df2b
floating windows support
2022-03-20 11:14:24 +01:00
vaxerski
7b7ce638f4
refresh rates
2022-03-19 21:46:29 +01:00
vaxerski
e664b0b692
layers should work now
2022-03-19 14:37:40 +01:00