Commit Graph

399 Commits

Author SHA1 Message Date
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
Vaxry 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
Vaxry e5d143b238 support more wlr_cursor events 2022-09-22 21:14:02 +01:00
Vaxry d24f31de51 disallow fullscreen pinned 2022-09-21 14:09:26 +01:00
Vaxry 6f98b3cbd8 fix pinned fade on fs 2022-09-20 15:33:53 +01:00
Vaxry 85c7aaf155 fade control for fullscreen action on windows 2022-09-19 17:26:11 +01:00
Vaxry abb6db9c37 don't apply alpha to fadingOut on setWindowFullscreen 2022-09-19 11:44:11 +01:00
Vaxry 7c809a3059 fullscreen animation en-nice-ment 2022-09-19 10:23:13 +01:00
Vaxry a72a39ebd5 minor swipe fixes 2022-09-17 15:05:12 +01:00
Vaxry 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
Vaxry 43aea417b0 Fix occasional hangups on exit 2022-08-18 22:36:58 +02:00
Vaxry f3c597bfb7 fix crash 2022-08-18 07:28:07 +02:00
Vaxry c5a4c83f78 better integrate touch with subsurfaces 2022-08-17 23:23:36 +02:00
Vaxry daeb0d3418 force sending size on setWindowFullscreen 2022-08-16 16:30:10 +02:00
Vaxry b0b3a5af10 added resizewindowpixel and movewindowpixel 2022-08-15 15:59:07 +02:00
Vaxry d47bfe6af1 remove unused fixXWaylandWindowsOnWorkspace 2022-08-15 00:34:39 +02:00
Vaxry 28867758c4 better fix the last fix 2022-08-14 16:39:56 +02:00
Vaxry 920727cbba fix crash with fullscreen requests 2022-08-14 16:34:40 +02:00
Vaxry f4f0495050 disable focus to menu x11 types 2022-08-11 19:36:15 +02:00
Vaxry 9eb750c00b added misc:layers_hog_keyboard_focus 2022-08-10 17:46:01 +02:00
Vaxry 7e8666754f allow focus to override redirect 2022-08-10 12:49:45 +02:00
Vaxry 9fca4b5bc2 fix lastwindow in focusWindow null 2022-08-08 20:42:14 +02:00
Vaxry bf9d358d3b fix refocus shenanigans with window data 2022-08-08 20:21:11 +02:00
Vaxry d64227e7c7 added basic touch controls 2022-08-07 21:17:03 +02:00
Vaxry 68fd97fae9 change workspace in focusWindow if necessary 2022-08-06 21:05:19 +02:00
Vaxry 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
Vaxry 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
vaxerski 6f2368f809 Add a pass dispatcher 2022-07-26 17:30:30 +02:00
vaxerski d04f36c57d set moz env 2022-07-26 10:05:29 +02:00
vaxerski b0d91cbf3a simplify formats 2022-07-25 22:40:34 +02:00
vaxerski db899e00e7 adjust ls fading out logic 2022-07-25 22:00:46 +02:00
vaxerski c998e946aa Wrap adding to fading out
needed to avoid memory safety issues, because sometimes there would be duplicates.
2022-07-25 21:08:54 +02:00
vaxerski e388a86c9d move floating windows manually on moveworkspacetomonitor 2022-07-25 14:22:32 +02:00
vaxerski 1ddd7ee713 remove forced envvars 2022-07-24 13:29:46 +02:00
vaxerski 1626707b7f make layerSurfaces into RAII 2022-07-23 15:48:08 +02:00
vaxerski 641aaff998 minor code adjustments 2022-07-20 18:39:08 +02:00
vaxerski 53b8263eb1 remove fixXwaylandwindowsonworkspace, not needed anymore 2022-07-18 21:15:46 +02:00
vaxerski 90d07d7b52 fix shadows on unmanaged and noborder 2022-07-18 12:39:57 +02:00
vaxerski afeb040684 fix selection events 2022-07-17 18:56:01 +02:00
vaxerski ef24329495 pass through pinch events 2022-07-16 16:12:31 +02:00
vaxerski 5c836e6460 added master layout 2022-07-16 15:57:31 +02:00
vaxerski 48e5bd96bc Added shadow colors animations and inactive col 2022-07-16 12:44:45 +02:00
vaxerski 0488f17976 fix opacity inactive methodology 2022-07-14 18:46:42 +02:00
vaxerski 8b52858bb5 fix opacity active 2022-07-14 18:45:16 +02:00
vaxerski 49dbb586e3 fixed session-less envs 2022-07-13 18:31:09 +02:00
Vaxry 6708f3b133
Fixed TTY switching (#364) 2022-07-13 18:18:23 +02:00
vaxerski bf762f566f Fix VRAM memory leak when releasing snapshots 2022-07-12 23:11:34 +02:00
vaxerski a4f82491b7 active opacity is now animated 2022-07-12 13:40:55 +02:00
vaxerski 2f3b2db83d fixed tiled popups going behind windows 2022-07-12 09:49:56 +02:00
vaxerski 2936368e80 minor event fixes 2022-07-11 14:13:15 +02:00
vaxerski 5eaf93697a clear kb focus on focusSurface null 2022-07-11 12:29:50 +02:00
vaxerski 4b334594dc Added splashes 2022-07-10 15:41:26 +02:00
vaxerski c44cafda97 added cyclenext param previous 2022-07-09 18:39:41 +02:00
vaxerski ddc4cbbd7e allow focus to modal 2022-07-08 23:37:55 +02:00
vaxerski 8482063157 fixed layersurface focus quirks 2022-07-08 13:19:57 +02:00
vaxerski 75a580feda Disallow focus to modal and override_redirect X11 windows 2022-07-08 10:36:21 +02:00
vaxerski 75c2a378e3 unfocus keyboard on refocus null 2022-07-07 21:47:59 +02:00
vaxerski 05736bc1e3 I am an idiot, fixed special ws deletion 2022-07-07 19:00:34 +02:00
vaxerski 4b796d30c1 Added swipe workspace gestures 2022-07-07 13:49:04 +02:00
vaxerski 0d7a8cca79 use C++ throw methods instead of printf and exit 2022-07-06 16:17:58 +02:00
vaxerski 9655d0c138 added support for wlr_idle_inhibitor_v1 2022-07-06 15:42:37 +02:00
vaxerski cda0c4577e find floating special windows in vector methods 2022-07-06 11:07:23 +02:00
vaxerski 6f4f164071 don't focus layers without keyboard_interactive 2022-07-01 20:14:33 +02:00
vaxerski 990d3f232b fix another crash 2022-06-30 16:11:26 +02:00
vaxerski 97b515edb7 fix crash 2022-06-30 16:00:44 +02:00
vaxerski 328b3fa4bc mordernize pointers 2022-06-30 15:44:26 +02:00
vaxerski d28151d255 added foreign support 2022-06-29 22:23:51 +02:00
vaxerski 31a1b3b192 allow init logs to be saved 2022-06-29 12:58:49 +02:00
vaxerski 8820f7f210 optimization + revert one oopsie 2022-06-29 12:54:53 +02:00
vaxerski 78bf88ba60 Added fullscreen rule 2022-06-26 12:12:29 +02:00
vaxerski 2c8cf6afc4 notify of wiki in case of crashes 2022-06-25 21:16:52 +02:00
vaxerski 8de8f6667e add system info logging 2022-06-25 20:49:06 +02:00
vaxerski f76b9c4852 fix: ignore reserved in getWindowInDirection 2022-06-23 20:39:48 +02:00
vaxerski f9745b0d3b allow getWindowInDirection to scan other mons 2022-06-23 09:56:16 +02:00
vaxerski 770bada5d5 Fixed oversized apps' incorrect layout 2022-06-22 15:45:56 +02:00
vaxerski dc5cc15474 find surfaces in reverse for focus 2022-06-10 15:18:30 +02:00
vaxerski da80eb8e57 Added the tablet manager and tablet v2 protocol 2022-06-08 14:29:49 +02:00
vaxerski d743ac7bb1 added forcerendererreload and some more vt changes 2022-06-06 13:48:17 +02:00
vaxerski 9486a230c7 Log to the instance folder 2022-06-03 17:48:07 +02:00
vaxerski 6f3b004199 IPC and log changes, introduce signature 2022-06-03 17:41:57 +02:00
vaxerski e73df80782 Add mon in mon out events and fix crash 2022-05-31 17:17:44 +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 eee9698ec9 move workspaces and not windows on mon disconnect 2022-05-30 20:44:14 +02:00
vaxerski 1f4c938c67 Added moving workspaces 2022-05-30 20:05:38 +02:00
vaxerski c44c79abb2 fix monitor cleanups on removed 2022-05-30 17:11:35 +02:00
vaxerski 7167be9c48 Fix relative IDs in movetoworkspace crashing 2022-05-30 14:18:46 +02:00
vaxerski b76b32b458 don't add existing and invalid monitors 2022-05-29 20:15:34 +02:00
vaxerski fdb3f610e5 Added wlr_foreign_toplevel_v1 2022-05-29 11:24:42 +02:00
vaxerski f06d4fca27 Fix one more SIGSEGV while exiting 2022-05-29 00:07:31 +02:00
vaxerski 3f8845a6a7 Added an exit dispatcher and no more SIGSEGV on exit 2022-05-29 00:00:47 +02:00
vaxerski 8c10857f14 Added a debug overlay 2022-05-28 17:32:19 +02:00
vaxerski daff7d8ca2 use xdg-shell v3 2022-05-27 16:05:25 +02:00
vaxerski 19a168792b activewindow class and title 2022-05-26 21:24:52 +02:00
vaxerski 8a3ea54184 Update border colors on config reload 2022-05-26 21:23:13 +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 0ad33742e1 fix workspace event and add activewindow and activemon 2022-05-24 22:21:31 +02:00
vaxerski ba7e3cd9a1 Major IPC Rework + Added Socket2
IPC is now done with UNIX sockets instead of TCP ones (security!), and added Socket2, see Wiki.
2022-05-24 19:42:43 +02:00
vaxerski 473d4591b0 fix some memory issues 2022-05-17 18:37:14 +02:00
vaxerski 96cdf8fd5e fix for wlroots-git update 2022-05-15 18:41:02 +02:00
vaxerski deb18af955 Protect against crash in focusWindow 2022-05-14 20:56:21 +02:00
vaxerski f0d52d8a88 log layersurface cleanup 2022-05-14 17:28:55 +02:00
vaxerski 6db68917ab rename cleanupWindows to cleanupFadingOut 2022-05-14 17:26:34 +02:00
vaxerski 109136af97 Fadein/out now applies to layersurfaces too 2022-05-14 17:23:46 +02:00
vaxerski a1567feb3d Added nofocus rule 2022-05-14 14:37:57 +02:00
vaxerski d438bd970a Added virtual pointer protocol 2022-05-12 12:13:02 +02:00
vaxerski 96819c8ab9 Fix GDK window extents mouse offset
kind of...? Should work more or less
2022-05-10 11:01:03 +02:00
vaxerski 8bb908a8da Added focusmonitor 2022-05-05 12:50:25 +02:00
vaxerski 51172129d7 deactivate exclusive 2022-04-28 17:55:25 +02:00
vaxerski 17bd1779ea fix fadeout 2022-04-28 15:39:49 +02:00
vaxerski dddb00fbc8 Support the virtual keyboard protocol 2022-04-27 17:29:33 +02:00
vaxerski d35019f185 fix rare crash 2022-04-26 17:51:00 +02:00
vaxerski 9eae3b3c3b minor xwayland constraint fixes 2022-04-25 13:40:46 +02:00
vaxerski c35517d44e fixes for xwayland popups, autofloat pop-up and task_dialog 2022-04-24 17:53:50 +02:00
vaxerski 3ebe7d7972 Added bezier curves 2022-04-23 21:47:16 +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 304b93a4f6 Minor tweaks 2022-04-21 21:48:37 +02:00
vaxerski c16ebec3b2 count down in named workspace IDs 2022-04-21 21:35:08 +02:00
vaxerski b618fc1caa Added named workspaces 2022-04-21 16:38:48 +02:00
vaxerski 422eaad420 handle term and int signals and cleanup 2022-04-21 15:59:28 +02:00
vaxerski 7ae87a233c Inhibit fixes 2022-04-18 17:16:01 +02:00
vaxerski 7b1eaca840 Implemented mouse constraints
has some todos but mostly works
2022-04-17 21:40:04 +02:00
vaxerski 05d7afe2ec support linux_dmabuf_v1 2022-04-14 21:48:12 +02:00
vaxerski e4d05c90ce fix pointer focus coords in focusWindow 2022-04-14 21:30:18 +02:00
vaxerski ebfbd4f7c3 fix focus not applying sometimes to the active window 2022-04-14 18:16:09 +02:00
vaxerski 158af1eb09 better keyboard window switching 2022-04-13 20:45:06 +02:00
vaxerski a558bcdfbf added follow_mouse 2022-04-13 20:19:40 +02:00
vaxerski b6a93b2f03 Added window grouping for dwindle
furthermore, added LayoutRenderHints.
2022-04-12 16:44:18 +02:00
vaxerski f2ab2466ed respect window.isMapped in getWindowsOnWorkspace 2022-04-11 19:57:36 +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 5046c02cce minor fixes for closing windows and focus 2022-04-10 11:17:06 +02:00
vaxerski 3d5e2c1dc3 Added movefocus dispatcher 2022-04-09 13:26:55 +02:00
vaxerski 7347a72ba6 Added HyprError for showing config errors 2022-04-08 21:40:41 +02:00
vaxerski a49bbf4508 fadeout done 🎉 2022-04-05 20:49:15 +02:00
vaxerski f8e0b0b448 fadein and prep for fadeout 2022-04-05 19:28:10 +02:00
vaxerski ddcd4fb767 Mostly fixes #5 2022-04-05 18:29:58 +02:00
vaxerski 374491ee63 progress 2022-04-04 19:44:25 +02:00
vaxerski d15cda7e41 iterate over floating windows correctly with Z 2022-04-04 16:33:50 +02:00
vaxerski c21881be25 Implement proper z-system 2022-04-04 16:25:30 +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 4db773b1e7 Fix popups focus on native GDK 2022-04-02 13:02:16 +02:00
vaxerski 304bf4522e Revert "Fixed XWayland (GTK/?) popups focus"
This reverts commit cd62eb5624.
Breaks a lot of other popups
2022-04-01 23:31:12 +02:00
vaxerski cd62eb5624 Fixed XWayland (GTK/?) popups focus 2022-04-01 23:11:09 +02:00
vaxerski a3860e99cb modify unfocus behavior 2022-03-31 21:47:03 +02:00
vaxerski c63225b332 Log focus 2022-03-31 19:41:55 +02:00
vaxerski 670ba55b35 export XDG_CURRENT_DESKTOP 2022-03-31 19:16:00 +02:00