vaxerski
4c4fcc128b
input: fix ls focus in non-input area
2023-04-15 16:53:31 +01:00
vaxerski
287e6c4ede
internal: workspace manip handling rework
2023-04-14 15:03:53 +01:00
vaxerski
260ef788f5
internal: don't sanity check workspaces on internal ws calls
2023-04-13 22:21:11 +01:00
vaxerski
41c7d896e3
internal: prevent premature destroy in moveworkspace
2023-04-13 21:09:50 +01:00
vaxerski
a68feb5aa0
internal: guarantee activeWindow event type
2023-04-12 13:11:38 +01:00
vaxerski
92fecb8ad4
internal: don't iterate special workspaces in move
2023-04-12 11:24:36 +01:00
vaxerski
ea77622e04
input: send null keycodes on focusSurface
2023-04-10 22:37:55 +01:00
vaxerski
366ebc123b
internal: don't remove x11 children on parent remove
2023-04-06 20:59:44 +01:00
vaxerski
a740e3e517
internal: comply to nofocus on vectorToWindow
2023-04-06 13:17:15 +01:00
Vaxry
0a099ca2ab
Hyprland Screencopy impl ( #1800 )
...
---------
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2023-04-03 17:01:05 +01:00
vaxerski
e6211eef00
log: Move stdout log disabling to the end of init
2023-04-03 10:41:49 +01:00
vaxerski
b1426cad28
input: fix minor issue with holding focus
2023-04-02 13:42:57 +01:00
vaxerski
0fc145c52c
input: hold focus on mouse buttons
2023-04-02 13:30:45 +01:00
vaxerski
e73c6fd3b0
logs: disable stdout after init
2023-03-24 13:00:54 +00:00
471ac474a1
core: remove old redundant shutdown stuff
2023-03-23 03:07:57 +00:00
vaxerski
a8b3be2c9c
config: add misc:suppress_portal_warnings
2023-03-22 12:17:16 +00:00
vaxerski
cb229f6436
compositor: adjust xdp error cases
2023-03-20 22:26:54 +00:00
vaxerski
316674fecf
notifs: use empty color for auto
2023-03-20 15:32:11 +00:00
vaxerski
71a95a581f
feat: add pretty notifications
2023-03-20 15:03:09 +00:00
Vaxry
788a8f7c13
internal: wrap wlr surfaces ( #1822 )
2023-03-20 15:00:58 +00:00
vaxerski
d23bbd1687
workspaces: preserve pin on moves
2023-03-20 01:50:46 +00:00
vaxerski
5d44ea802a
monitors: guard output when read
2023-03-16 14:03:40 +00:00
ca1c1438e3
Compositor: fix crash on exit
2023-03-09 14:19:54 +00:00
92d2331170
Events: Avoid sending std::nullptr_t in keyboardFocus
2023-03-08 09:46:17 +00:00
vaxerski
dc7d783d14
Initialize priority managers before server init
2023-03-05 13:37:21 +00:00
vaxerski
fea2031bfe
systemd: expand sysd import env script
2023-03-04 15:21:27 +00:00
dea71875e4
add desc: to getMonitorFromString
2023-03-02 12:04:41 +00:00
556c7dd51f
reset signal handlers in unrecoverable
2023-03-01 21:55:30 +00:00
6c250df77e
generate coredumps on sigabrt too
2023-03-01 15:08:44 +00:00
vaxerski
7c5c7ced91
Convert reverse iterators to ranges
2023-03-01 14:06:52 +00:00
vaxerski
3cef005fec
use XCURSOR_SIZE for internal cursor size
2023-03-01 13:54:48 +00:00
86acdcf8b6
nuke unmanagedx11 vector
2023-03-01 13:15:51 +00:00
ea717731a4
Simplfy framebuffer erasing in cleanupFadingOut
2023-03-01 10:06:15 +00:00
Stanisław Zagórowski
5c93f6947a
Unload plugins on compositor cleanup ( #1662 )
2023-02-28 23:11:49 +00:00
vaxerski
2187c6cf43
Allow decos to request interactivity
2023-02-28 22:32:42 +00:00
vaxerski
7e523e4d5e
minor fixes to X11 configure/or handling
2023-02-28 18:50:47 +00:00
ac251d7a66
allow focus to grouped windows
2023-02-28 12:34:59 +00:00
vaxerski
49f423aa8f
update decos on anim values update
2023-02-27 23:34:41 +00:00
Vaxry
8b81f41e52
Plugin System ( #1590 )
...
---------
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2023-02-27 12:32:38 +00:00
vaxerski
66e3679ba3
Conform to X11 OR surfaces wanting focus
2023-02-21 20:47:02 +00:00
vaxerski
784cdd7638
abort instead of exiting on sigsegv
2023-02-20 11:02:44 +00:00
Vaxry
e5a4c0c986
Group/Tab Rework ( #1580 )
2023-02-19 21:07:32 +00:00
Vaxry
1b56cc4e99
Added an Event Hook System ( #1578 )
...
* added an eventHookSystem
* Add all socket2 events to hooks
2023-02-19 20:54:53 +00:00
vaxerski
38c25bb50d
Added a crash reporter
2023-02-19 13:45:56 +00:00
Ching Pei Yang
c92e0c05e4
Resize on border ( #1347 )
2023-02-18 22:35:31 +00:00
vaxerski
ff95721ad9
fix compile for single_pixel_buffer_v1
2023-02-16 13:37:46 +00:00
d710e7347a
enable single_pixel_buffer_v1
2023-02-16 12:55:52 +00:00
vaxerski
127e80692f
move no_vfr to vfr and add vrr
2023-02-14 17:08:42 +00:00
vaxerski
79ad93d536
clear focus on lockscreen refocus
2023-02-12 19:20:13 +00:00
vaxerski
863812a097
added activewindowv2
2023-02-06 13:16:59 +00:00
vaxerski
a0bc0e4998
make a null surface focus reset lastfocus
2023-02-03 17:18:22 +00:00
vaxerski
129e99a6f6
Implement ext-session-lock-v1
2023-02-03 11:58:55 +00:00
ozwaldorf
32d56fec97
feat: border angle animations ( #1469 )
...
Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
2023-02-01 21:06:01 +00:00
vaxerski
1c1e688564
fix crash in nested non-mouse warps
2023-01-28 17:54:14 +00:00
vaxerski
86f4772bd6
fix clang warn
2023-01-28 17:52:32 +00:00
vaxerski
61c9e50bcd
warp cursor on login to center
2023-01-28 12:26:38 +00:00
94b7b6b584
added binds:focus_preferred_method
2023-01-26 14:36:22 +00:00
a2ae37396f
add hyprctl setprop
2023-01-24 19:05:43 +00:00
vaxerski
e3d1743722
Revert "use spawn in dbus-env activation"
...
This reverts commit 63babcba36
.
oops.
2023-01-24 16:25:18 +00:00
63babcba36
use spawn in dbus-env activation
2023-01-24 14:05:59 +00:00
vaxerski
70b5c1b119
fix clamp in monitor relative
2023-01-23 20:56:43 +00:00
DB
7574b3db64
fix: hyprland crashing wenn moving window -1 from first monitor ( #1419 )
...
Co-authored-by: xVermillionx <xVermillionx@notvalid>
2023-01-23 20:56:05 +00:00
cb98242ea7
remove old comment and fixup lsl var name
2023-01-22 17:03:25 +01:00
Cyril Levis
fcbfd19393
feat: add focus to urgent or last window ( #1402 )
...
* feat: add focus to urgent or last window
* Rename dispatcher
Co-authored-by: Maxim Baz <git@maximbaz.com>
2023-01-21 11:18:55 +01:00
434719611d
fix focus history on workspace jumps
2023-01-20 20:57:35 +01:00
5814d9b2a0
make hyprerror follow fadein anim
2023-01-20 20:48:07 +01:00
fb2679d5ef
add a focus history vec
2023-01-20 19:15:15 +01:00
5112056fdb
better log wl socket adding and use auto if failed
2023-01-19 16:44:23 +01:00
b5b436e01d
better error handling around getMonitorFromString
2023-01-14 20:45:28 +01:00
Maxim Baz
668d90c700
Implement urgency hint for workspaces ( #1379 )
...
When there are any unfocused windows that request activation, mark the workspace as urgent.
2023-01-14 20:31:11 +01:00
df30f0519a
damage monitor on stack rotations
2023-01-11 17:57:54 +01:00
Cyril Levis
3173fbdc4a
feat: dispatcher, add workspace renaming ( #1336 )
...
* feat: dispatcher, add workspace renaming
Co-authored-by: vaxerski <vaxry@vaxry.net>
2023-01-08 14:19:18 +01:00
rubyowo
0d2e1e1270
fix crashes and bug wiki link ( #1333 )
2023-01-07 12:33:36 +01:00
jrun
0d14fd9136
add systemd support ( #1253 )
...
* add systemd support
motivation for this is is proper ordering of related/bound/required
services to Hyprland (e.g. swaybg) that would need to have a compositor
ready.
this could possibly be a build-time option of course.
see also:
example/ files for example of services
Signed-off-by: Paymon MARANDI <darwinskernel@gmail.com>
* nix: add withSystemd flag
Signed-off-by: Paymon MARANDI <darwinskernel@gmail.com>
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
Co-authored-by: Vaxerski <vaxry@vaxry.net>
2023-01-05 20:17:55 +01:00
96198dae55
Normalize color storage
...
Colors are now normalized to 0 - 1 values instead of 0 - 255
causes calculations to be simpler and generally cleans up the codebase.
2023-01-05 19:25:45 +01:00
7f595ed0ca
support gradients in dwindle group colors
2022-12-31 16:23:56 +01:00
0baef17a02
simplify workspace sanity checks
2022-12-29 17:06:30 +01:00
d64fc7d336
remove useless log
2022-12-27 15:28:41 +01:00
vaxerski
2b888d5106
ignore focus to empty input region ls-es
2022-12-22 15:03:32 +00:00
vaxerski
96cb47fc64
Add sane permissions for /tmp/hypr
2022-12-21 15:41:02 +00:00
vaxerski
4fd90144d1
touch up the clang format and format all files
2022-12-20 02:18:47 +00:00
vaxerski
0f3214714f
respect ls protocol by forcing kb focus to kb interactive top and overlay
2022-12-17 22:35:51 +00:00
Vaxry
98a4fa2b0d
Added clang format ( #1239 )
...
* clang-format stuff and format files
2022-12-16 17:17:31 +00:00
vaxerski
121ea1fac2
set created over fullscreen in movetotop
2022-12-15 17:29:06 +00:00
Vaxry
111d209bff
Added toplevel handle sharing Rev2 ( #1203 )
...
* Added toplevel handle sharing
* nix: fix build
* update hyprland-protocols
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2022-12-12 14:56:42 +00:00
vaxerski
e8b99ae13a
add override to opacity rules
2022-12-11 17:15:02 +00:00
vaxerski
cba10ba5b7
fix memory safety in getWindowFromSurface
2022-12-08 17:43:15 +00:00
vaxerski
050693be2e
fix up relative monitors
2022-12-08 12:09:48 +00:00
vaxerski
6259202c01
add missing c_str in debug log
2022-12-07 22:47:32 +00:00
vaxerski
d8dcf670da
fix lost windows clogging up memory
2022-12-07 14:32:24 +00:00
vaxerski
7ed401e5e0
fix group border oversaturation
2022-12-06 12:57:10 +00:00
vaxerski
6cf716f182
fix handle finding
2022-12-05 17:57:59 +00:00
vaxerski
9fb24ac1e9
avoid using wayland-0 as a socket name
2022-12-05 17:21:09 +00:00
Vaxry
66fb083003
Implement window sharing with the hl toplevel export proto ( #1179 )
...
* implement window sharing
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2022-12-05 17:05:15 +00:00
vaxerski
c012e3d66b
update wlroots dep
2022-12-01 21:00:54 +00:00
Jef
45d2d1e97d
convert bordercolors to GradientValueData correctly ( #1122 )
...
Co-authored-by: Jef Steelant <jef.steelant_ext@softathome.com>
2022-11-28 11:44:31 +00:00
vaxerski
0a302901d2
Added handling more special workspaces
2022-11-27 22:42:22 +00:00
vaxerski
0948b078e1
added border gradients
2022-11-26 17:57:02 +00:00
vaxerski
f6067816fb
skip covered windows on fullscreen workspaces in getWindowInDirection
2022-11-23 23:40:05 +00:00
vaxerski
b0f95c63c9
fix crash in setActiveMonitor null
2022-11-22 23:17:10 +00:00
vaxerski
e427d9f622
unify setting of the active monitor
2022-11-19 16:41:41 +00:00
vaxerski
df132e5ff3
update wlroots dep
2022-11-19 16:28:04 +00:00
e887149f25
minor fixes for mirrors & log more monitor events
2022-11-19 13:01:32 +00:00
vaxerski
250d61e0b3
find base surface if no subsurface found in ls
2022-11-18 20:35:15 +00:00
Jef
dbb6732743
apply some rules dynamically when state of window changes ( #1020 )
...
Co-authored-by: Jef Steelant <jef.steelant_ext@softathome.com>
2022-11-15 10:21:26 +00:00
Jef
549fdf63f6
Add bordercolor windowrule ( #992 )
...
* Add bordercolor windowrule
* remove spaces form bordercolor rule + typo
Co-authored-by: Jef Steelant <jef.steelant_ext@softathome.com>
2022-11-13 19:33:13 +00:00
vaxerski
9a9ecc25db
added monitor cycling
2022-11-10 12:22:19 +00:00
vaxerski
5a750b485a
Added creating / destroying outputs on a multi-backend + headless backend
...
See `hyprctl output`.
2022-11-05 18:04:44 +00:00
vaxerski
f50c786640
Added direct scanout
2022-11-05 12:50:47 +00:00
vaxerski
34ad837fd9
don't update the env in session-less hl
2022-11-04 11:30:25 +00:00
vaxerski
9aad352789
automatically update dbus environment on start
2022-11-04 10:37:14 +00:00
vaxerski
c1542da18a
fix typo in focus
2022-11-02 18:54:41 +00:00
vaxerski
a69fd21a1a
Add an idleinhibit windowrule
2022-10-31 12:26:07 +00:00
vaxerski
6245c92bd0
avoid creating bound WS-es in moveWorkspaceToMonitor
2022-10-30 12:14:12 +00:00
vaxerski
1a767b021b
fix minor focus oopsie
2022-10-28 20:12:17 +01:00
vaxerski
83e4006b16
properly find the constraint window
2022-10-28 19:35:02 +01:00
vaxerski
1759b0483c
constrain mouse on focus change
2022-10-28 19:20:12 +01:00
vaxerski
f7174acc48
minor fixes for xwayland refocus
2022-10-28 19:18:10 +01:00
vaxerski
34bd2cf803
respect wsbind in workspace silent rules
2022-10-25 10:30:25 +01:00
vaxerski
69f1d7b360
Rework workspace rules
2022-10-24 18:36:31 +01:00
vaxerski
c04563734e
Rework candidate finding on close window
2022-10-24 12:25:36 +01:00
vaxerski
c6a3092b45
more safety around shutting down and mouse movements
2022-10-24 00:14:42 +01:00
vaxerski
2c714eace5
handle activate requests
2022-10-22 16:43:47 +01:00
vaxerski
1ccb0b5f96
bump xdg ver to 5
2022-10-20 18:04:21 +01:00
vaxerski
bf9d31ce49
fix maximized windows not hiding tiled
2022-10-19 15:17:35 +01:00
vaxerski
3f77cde50e
set XCURSOR_SIZE if not set in init
2022-10-17 14:01:04 +01:00
vaxerski
34cd8b125a
rework focus system to be more safe and faster
2022-10-14 20:46:32 +01:00
vaxerski
0508c7d384
more monitor checks for shutdown:
2022-10-06 18:43:50 +01:00
vaxerski
ee3b770cfd
more checks in pid gathering
2022-10-06 17:58:38 +01:00
vaxerski
355366714e
minor OR XWayland fixes
2022-10-01 18:25:02 +01:00
vaxerski
9f9129e536
focusable checks in nextWindow calls
2022-09-29 16:53:31 +01:00
ead0e74471
handle maximize toplevel request
2022-09-29 10:20:17 +01:00
Felix Dick
11ee78f88b
Use double literals, don't cast a integer literal to double.
2022-09-28 20:08:41 +02:00
Felix Dick
bf3f519eb7
Remove trailing whitespace.
2022-09-25 20:07:48 +02:00
e5d143b238
support more wlr_cursor events
2022-09-22 21:14:02 +01:00
d24f31de51
disallow fullscreen pinned
2022-09-21 14:09:26 +01:00
6f98b3cbd8
fix pinned fade on fs
2022-09-20 15:33:53 +01:00
85c7aaf155
fade control for fullscreen action on windows
2022-09-19 17:26:11 +01:00
abb6db9c37
don't apply alpha to fadingOut on setWindowFullscreen
2022-09-19 11:44:11 +01:00
7c809a3059
fullscreen animation en-nice-ment
2022-09-19 10:23:13 +01:00
a72a39ebd5
minor swipe fixes
2022-09-17 15:05:12 +01:00
fa2d81b649
fix animation issues with workspace silent
2022-09-16 21:17:03 +01:00
vaxerski
82aa78916d
hyprctl-nopoll
2022-09-10 21:21:28 +02:00
vaxerski
f024d7114f
allow current in monitorfromstring
2022-09-10 19:57:57 +02:00
vaxerski
d94fe3d063
added window pinning
2022-09-10 13:11:02 +02:00
vaxerski
0d95a0174c
more guarding in cleanup pid gathering
2022-09-08 20:55:25 +02:00
vaxerski
f4add0ac6d
refocus on reserved area
2022-09-03 15:35:53 +02:00
vaxerski
3c3f80c2fe
simplify code and update monitor on warp
2022-09-03 11:55:19 +02:00
vaxerski
48eb2e0d6f
Added window dimming
2022-08-30 12:46:17 +02:00
vaxerski
5da114477f
move X11 transients to top on parent top
2022-08-28 19:47:06 +02:00
vaxerski
cfa6c01df0
remove double drm and dmabuf creation
2022-08-28 12:32:26 +02:00
vaxerski
d413388761
Multiple improvements to the shutdown procedure
2022-08-28 11:19:08 +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
8b5c64c8fd
Merge pull request #589 from alec-lefors/drm-leasing
...
fix more indents
2022-08-28 00:07:01 +02:00
Alec LeFors
2ea5f50f40
fix more indents, im sorry vaxry
2022-08-27 17:57:02 -04: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
1d43bb70d4
fix indents, change crit log to info
2022-08-27 17:24:36 -04:00
Alec LeFors
59d7cfcd02
implemented DRM leasing for VR headsets
2022-08-27 17:10:13 -04:00
vaxerski
0964448f93
fix fullscreen in moving ws
2022-08-27 19:11:21 +02:00
vaxerski
949655005a
added an event for moving workspace
2022-08-26 16:05:02 +02:00
vaxerski
89018bfa95
remove leftover code that didnt work
2022-08-25 21:38:01 +02:00
vaxerski
0d1a9e4ba9
modify exit behaviour a bit
2022-08-25 21:35:47 +02:00
vaxerski
e327b0a835
added a swapactiveworkspaces dispatcher
2022-08-25 21:25:28 +02:00
vaxerski
d0ec2b72ae
report sizes to all windows on fullscreen
2022-08-22 14:22:21 +02:00
vaxerski
e97fa4e26b
destroy monitor resources on exit
2022-08-22 14:17:25 +02:00
vaxerski
8faac0c9ac
minor activewindow and focus fixes
2022-08-21 18:34:38 +02:00
vaxerski
5569e1f69c
remove unused func
2022-08-21 17:09:35 +02:00
vaxerski
cc3f0ff9e7
update wlroots dep
2022-08-20 20:06:24 +02:00
43aea417b0
Fix occasional hangups on exit
2022-08-18 22:36:58 +02:00
f3c597bfb7
fix crash
2022-08-18 07:28:07 +02:00
c5a4c83f78
better integrate touch with subsurfaces
2022-08-17 23:23:36 +02:00
daeb0d3418
force sending size on setWindowFullscreen
2022-08-16 16:30:10 +02:00
b0b3a5af10
added resizewindowpixel and movewindowpixel
2022-08-15 15:59:07 +02:00
d47bfe6af1
remove unused fixXWaylandWindowsOnWorkspace
2022-08-15 00:34:39 +02:00
28867758c4
better fix the last fix
2022-08-14 16:39:56 +02:00
920727cbba
fix crash with fullscreen requests
2022-08-14 16:34:40 +02:00
f4f0495050
disable focus to menu x11 types
2022-08-11 19:36:15 +02:00
9eb750c00b
added misc:layers_hog_keyboard_focus
2022-08-10 17:46:01 +02:00
7e8666754f
allow focus to override redirect
2022-08-10 12:49:45 +02:00
9fca4b5bc2
fix lastwindow in focusWindow null
2022-08-08 20:42:14 +02:00
bf9d358d3b
fix refocus shenanigans with window data
2022-08-08 20:21:11 +02:00
d64227e7c7
added basic touch controls
2022-08-07 21:17:03 +02:00
68fd97fae9
change workspace in focusWindow if necessary
2022-08-06 21:05:19 +02:00
69b8568ccf
better foreign toplevel protocol obedience
2022-08-06 20:57:38 +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
1c4d0e8c18
added IME protocol support
2022-08-05 13:03:37 +02:00
vaxerski
c3edb20e04
make monitor IDs permanent
2022-08-03 16:19:00 +02:00
vaxerski
a6cd552980
bring back xdg current desktop
2022-08-01 23:31:25 +02:00
vaxerski
1edd66618f
added general:no_cursor_warps
2022-08-01 18:50:16 +02:00
vaxerski
070d7699a7
added decoration:blur_new_optimizations
2022-08-01 12:16:33 +02:00
8a4e04d789
check window validity in getfirstwindowonworkspace
2022-08-01 00:45:06 +02:00
vaxerski
9be239dac6
remove wlr_viewporter, we do not support it
2022-07-31 14:10:21 +02:00
vaxerski
2230f0ccaa
move to XDG 4
2022-07-31 13:21:33 +02:00
vaxerski
e2bc07d276
fix lack of return in tickHyprctl
2022-07-31 12:35:10 +02:00
vaxerski
edac94bed1
tick hyprctl separately
2022-07-31 00:27:32 +02:00
vaxerski
217ff1f401
do not call dmabuf_create twice
2022-07-30 23:45:27 +02:00
vaxerski
c2db3ad8ce
fix minor memory issue
2022-07-30 23:04:31 +02:00
vaxerski
f96b611651
support wlr-output-power-management
2022-07-30 22:41:24 +02:00
vaxerski
31a079b347
added DPMS
2022-07-27 12:32:00 +02:00