Commit graph

398 commits

Author SHA1 Message Date
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
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
vaxerski
3e614f2c1e Draw the drag icon 2022-03-31 17:25:23 +02:00
vaxerski
469af204f7 Set envvars to encourage apps to use wayland 2022-03-30 22:38:07 +02:00
vaxerski
3ca2d3b678 fix some crashes 2022-03-30 21:18:42 +02:00
vaxerski
3f84dac599 return front when monitor from vector fails 2022-03-30 20:17:33 +02:00
vaxerski
17e88bf059 log signals 2022-03-28 16:10:30 +02:00
vaxerski
4d498137b2 fix crash 2022-03-27 19:16:33 +02:00
vaxerski
ad36a9dc9e rework popups completely 2022-03-27 17:25:20 +02:00
vaxerski
116ab9e56c EGL 2022-03-24 17:17:08 +01:00
vaxerski
dcd8b49c43 switch renderer to GLES 2022-03-24 16:07:01 +01:00
vaxerski
97501fc034 update for latest wlroots 2022-03-24 15:57:46 +01:00
vaxerski
bcf7ee6dc2 Added basic animations for windows 2022-03-23 22:01:59 +01:00
vaxerski
118006e876 fixed layersurface coord mapping 2022-03-22 21:59:14 +01:00
vaxerski
2bc29f32ec finally fixed XWayland popups 2022-03-22 21:28:57 +01:00
vaxerski
e6a848adc0 handle modals a bit better 2022-03-22 20:53:11 +01:00
vaxerski
aa64af95fe handle inhibit 2022-03-22 18:29:13 +01:00
vaxerski
8fe1cec87c fixed floating window dragging and rendering 2022-03-22 17:14:07 +01:00
vaxerski
295a0c4a69 Added fullscreen 2022-03-21 19:18:33 +01:00
vaxerski
30ae4be181 added drag and drop functionality
barebones but functioning
2022-03-21 17:50:28 +01:00
vaxerski
23ec4793e1 fix xwayland windows grabbing mouse when hidden 2022-03-20 19:14:17 +01:00
vaxerski
1f639f2aba dwindle fixes 2022-03-20 18:31:58 +01:00
vaxerski
c32917a5ba added hyprctl 2022-03-20 16:51:14 +01:00
vaxerski
50370e4216 added workspaces 2022-03-20 15:55:47 +01:00
vaxerski
f8a731b10b focus to layers 2022-03-20 14:36:55 +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
b0dffc10b7 remove this warning 2022-03-20 11:23:36 +01:00
vaxerski
6fc504fc4c fix various issues with floating windows 2022-03-20 11:22:55 +01:00
vaxerski
a4b026df2b floating windows support 2022-03-20 11:14:24 +01:00
vaxerski
1a298257c9 fix xwaylabnd too, stuff 2022-03-19 20:56:19 +01:00
vaxerski
cf76b90606 multimon fixes 2022-03-19 20:30:21 +01:00
vaxerski
f9a4e9aecd basic keybinds 2022-03-19 17:48:18 +01:00
vaxerski
61e10e2048 added a layoutmanager and basic dwindle 2022-03-19 15:59:53 +01:00
vaxerski
5f71a33d99 handle the signals 2022-03-19 14:09:11 +01:00
vaxerski
5ea20cd041 fixed some oopsies 2022-03-19 13:54:24 +01:00
vaxerski
03da5a3ef5 fix crash and log more 2022-03-19 11:27:19 +01:00
vaxerski
d09d3dc0f3 pointer focus works now 2022-03-19 10:53:39 +01:00
vaxerski
625e4ce264 fixed rendering 2022-03-18 23:52:36 +01:00
vaxerski
7f8648fc8b fix crashes 2022-03-18 23:16:15 +01:00
vaxerski
dbf566c78a handle keys and focus 2022-03-18 23:06:45 +01:00
vaxerski
5811d968bf focus and move mouse to inputmanager 2022-03-18 22:53:27 +01:00
vaxerski
a1a8f3b6d5 change to lists, titles etc 2022-03-18 22:35:51 +01:00
vaxerski
00098aef4f handle buttons 2022-03-18 20:42:49 +01:00
vaxerski
a9773bd91a XWayland and moved managers 2022-03-18 20:03:39 +01:00
vaxerski
bc937e3e71 Renderer 2022-03-17 20:22:29 +01:00
vaxerski
ab7d727532 render-ready 2022-03-17 19:03:15 +01:00
vaxerski
a4ef84d987 it now actually runs lol 2022-03-17 17:08:54 +01:00
vaxerski
cf51ab71a2 input basics 2022-03-17 16:19:10 +01:00
vaxerski
ffd309ca2a some basic startup code 2022-03-16 21:37:21 +01:00
vaxerski
de4c836e97 Initial Commit 2022-03-16 20:50:55 +01:00