Commit graph

2574 commits

Author SHA1 Message Date
vaxerski
2118628d58 include climits 2022-04-15 18:59:58 +02:00
vaxerski
7cd3e5f34a Added workspace dispatcher + and - 2022-04-14 23:02:10 +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
c8721baa5a damage layersurfaces on commit 2022-04-14 20:22:14 +02:00
vaxerski
d1e5f87607 fix first workspace being 0 2022-04-14 20:11:46 +02:00
vaxerski
c2b8c27bc5 fix workspace switching with damage 2022-04-14 20:08:39 +02:00
vaxerski
ebfbd4f7c3 fix focus not applying sometimes to the active window 2022-04-14 18:16:09 +02:00
vaxerski
1789facddb fixed some nested render bugs 2022-04-14 17:45:18 +02:00
vaxerski
3e36f1c42c renderer fixes 2022-04-14 17:00:35 +02:00
vaxerski
75af34da96 added basic damage tracking 2022-04-14 16:43:29 +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
402c11d341 respect texture size and not mon size in BGTex 2022-04-13 18:49:15 +02:00
vaxerski
46a95afafd oops, fixed regular renderer 2022-04-13 17:51:18 +02:00
vaxerski
084e922642 Added legacy GLES2 renderer option 2022-04-13 17:34:13 +02:00
vaxerski
5d529d46e7 use output's modes instead of a custom mode 2022-04-13 17:11:37 +02:00
vaxerski
32597bd8cb dwindle: autodetect first/second node on open 2022-04-13 16:24:31 +02:00
vaxerski
6911ed3176 log more in begin() 2022-04-12 21:49:35 +02:00
vaxerski
429853346f set hidden and urgent flags for new workspaces 2022-04-12 21:00:46 +02:00
vaxerski
c68eaafd16 fix exec as well on startup 2022-04-12 20:23:10 +02:00
vaxerski
17f63bf3e8 Fix exec-once being wack on launch 2022-04-12 20:02:57 +02:00
vaxerski
4bd23604f8 Dwindle window group fixes
fixed a crash and animations in the bg
2022-04-12 19:18:26 +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
b56343133d fixed blur rendering, stencil and gles3 2022-04-11 16:39:48 +02:00
vaxerski
0f9850fafc moveactive fixes 2022-04-10 21:45:24 +02:00
vaxerski
8a4f6d01f3 fixed dragging tiled windows cuz i broke it 2022-04-10 20:02:36 +02:00
vaxerski
a06638d87a oops forgot to remove this 2022-04-10 19:33:02 +02:00
vaxerski
c41c01a7fb Splitratio on dwindle and splitratio mouse controls 2022-04-10 19:31:36 +02:00
vaxerski
2973860b25 do not round fullscreen windows 2022-04-10 19:04:38 +02:00
vaxerski
2cf4480969 fix fadeout blinking transparent windows 2022-04-10 18:25:45 +02:00
vaxerski
71916ee09a fixed XDG popups yet again + removed some old TODOs 2022-04-10 16:47:19 +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
5046c02cce minor fixes for closing windows and focus 2022-04-10 11:17:06 +02:00
vaxerski
c8c9a966b4 fixes for exec-once and hyprerror 2022-04-09 22:49:07 +02:00
vaxerski
91a6c53197 Added blur_passes config 2022-04-09 17:06:09 +02:00
vaxerski
25299b80bb reset autogenerated status on config load 2022-04-09 16:52:05 +02:00
vaxerski
7996abc8ed fix C++20 deprecation warning 2022-04-09 16:51:36 +02:00
vaxerski
969bebbd06 Added blurring 🎉 2022-04-09 16:51:08 +02:00
vaxerski
b7094200f6 Rendering now to a HyprFramebuffer 2022-04-09 15:01:28 +02:00
vaxerski
eea92231fa warp cursor on focus change 2022-04-09 13:33:44 +02:00
vaxerski
3d5e2c1dc3 Added movefocus dispatcher 2022-04-09 13:26:55 +02:00
vaxerski
7449a0c44c Added default config & warning about it 2022-04-08 22:07:40 +02:00
vaxerski
7347a72ba6 Added HyprError for showing config errors 2022-04-08 21:40:41 +02:00
vaxerski
707de8ec3f Subsurface tree account for subsubsurfaces 2022-04-07 20:15:24 +02:00
vaxerski
e72fc4fca2 Fix XWayland crash on moving invalid window 2022-04-07 18:54:31 +02:00
vaxerski
cebe45a188 small fullscreen fix 2022-04-07 17:07:42 +02:00
vaxerski
80b72afbeb fix cleanupWindows cleaning up wrong windows 2022-04-07 16:45:38 +02:00
vaxerski
c99062f2ec Finally fixed #4 🎉 2022-04-07 16:42:16 +02:00
vaxerski
c7cc9d49d2 unconstrain popups properly 2022-04-06 19:24:20 +02:00
vaxerski
a86bc76b9a fix getTitle crash 2022-04-05 22:28:06 +02:00
vaxerski
50b48818a2 fix crash in AnimationManager 2022-04-05 20:53:16 +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
f5562941f7 fixed rounding of things not to be rounded 2022-04-05 18:32:06 +02:00
vaxerski
ddcd4fb767 Mostly fixes #5 2022-04-05 18:29:58 +02:00
vaxerski
dcb6fc269a support all shaders rounded and fix RGBX borders 2022-04-05 17:01:44 +02:00
vaxerski
3385269dca Added rounded borders. 2022-04-05 16:47:03 +02:00
vaxerski
27c06758e4 basic window rounded corners 2022-04-05 15:50:47 +02:00
vaxerski
19d9465042 Rendering textures 2022-04-05 14:33:54 +02:00
vaxerski
67343898ff fixed rendering rects 2022-04-04 22:06:57 +02:00
vaxerski
334f5a59b0 added broken rect renderer 2022-04-04 21:45:35 +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
59b96f782b Bring floated to top on click 2022-04-04 16:28:43 +02:00
vaxerski
c21881be25 Implement proper z-system 2022-04-04 16:25:30 +02:00
vaxerski
462781b16f Added drag to move window 2022-04-03 13:49:21 +02:00
vaxerski
df6a3c6877 fix non-gdk popups on multimon 2022-04-03 10:32:21 +02:00
vaxerski
3f99dad7f5 Added pseudotiling 2022-04-02 20:04:32 +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
ca2459e563 Do not refocus on pressed mouse 2022-04-01 23:34:19 +02:00
vaxerski
befddca16d Only refocus on pressed 2022-04-01 23:31:33 +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
7ec2aed55f More checks in popups 2022-03-31 21:58:33 +02:00
vaxerski
51dfc0f9c9 fix critical crash with multi-popups 2022-03-31 21:55:21 +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
b89c174da2 custom animation speeds for components 2022-03-31 17:53:28 +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
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
f794c91293 windows on top of fullscreen, lastmonitor fixes 2022-03-30 20:16:23 +02:00
vaxerski
e49657f0f9 use last monitor and not cursor in map 2022-03-30 19:34:57 +02:00
vaxerski
cd8d628c72 handle invalid map 2022-03-30 17:43:31 +02:00
vaxerski
7439246efb tell windows to fullscreen on keybind 2022-03-30 17:39:04 +02:00
vaxerski
d01c7c07d8 Fix IPC being wonky 2022-03-30 16:24:42 +02:00
vaxerski
ae3d1ec3ad fix crash 2022-03-29 15:30:08 +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
b8e3bddcf1 window late signals 2022-03-28 17:51:03 +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
de8d2fd136 handle window subsurface trees 2022-03-27 21:46:27 +02:00
vaxerski
39303fd2b0 animate float->tile properly 2022-03-27 20:06:44 +02:00
vaxerski
ba7b2d0db2 Handle TTY switching
but bugs rn when coming back :-/
2022-03-27 19:32:50 +02:00
vaxerski
07612534dd fix fullscreen animation 2022-03-27 19:27:50 +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
ed5c0a7d33 Log shifts 2022-03-24 21:34:24 +01:00
vaxerski
7eb2a1023b Added keyboard configuration 2022-03-24 21:05:34 +01:00
vaxerski
5d93fdfd8f fix XDG surfaces being too XD 2022-03-24 19:14:44 +01:00
vaxerski
3d41dd6c25 fix dwindle monitors 2022-03-24 19:05:25 +01:00
vaxerski
5503d99778 bring back mouse request 2022-03-24 18:31:45 +01:00
vaxerski
a4f79dcb11 fix hyprctl .socket 2022-03-24 18:25:18 +01:00
vaxerski
ccbc0e4a2e Added window rules 2022-03-24 18:22:01 +01: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
14d387ea14 animation + floating fixes 2022-03-24 16:05:06 +01:00
vaxerski
97501fc034 update for latest wlroots 2022-03-24 15:57:46 +01:00
vaxerski
411a050169 didnt mean to comment that out 2022-03-23 22:38:54 +01:00
vaxerski
172f8b04f0 oops commit only for xdg
commit only for xdg
2022-03-23 22:36:28 +01:00
vaxerski
d834a8f7de unlink a window properly on destroy 2022-03-23 22:34:11 +01:00
vaxerski
bcf7ee6dc2 Added basic animations for windows 2022-03-23 22:01:59 +01:00
vaxerski
1923b0d170 added a keybind todo 2022-03-23 16:52:43 +01:00
vaxerski
f108ec78e2 Added movetoworkspace 2022-03-23 16:51:48 +01:00
vaxerski
f82fdb012e fix dwindle + minor logs and comments 2022-03-22 22:22:59 +01:00
vaxerski
53388ad8a4 dwindle: fix openingon, kind of 2022-03-22 22:04:35 +01:00
vaxerski
e6fcbf576c up the max hyprctl port 2022-03-22 22:02:43 +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
b6f3aa5d01 update a comment on an issue 2022-03-22 20:43:06 +01:00
vaxerski
6e48069a88 fix bug with popups on XWayland 2022-03-22 20:13:58 +01:00
vaxerski
90bb8e6441 minor changes 2022-03-22 20:04:39 +01:00
vaxerski
aa64af95fe handle inhibit 2022-03-22 18:29:13 +01:00
vaxerski
db4b4ec0d3 Try to fix the crash again 2022-03-22 17:41:23 +01:00
vaxerski
c58b15c6da Fix a crash with setting title 2022-03-22 17:31:19 +01:00
vaxerski
8fe1cec87c fixed floating window dragging and rendering 2022-03-22 17:14:07 +01:00
vaxerski
8a8b26a635 added 2 more hyprctl commands 2022-03-22 16:54:45 +01:00
vaxerski
7b612b46b8 fixed a bug with layers duplicating 2022-03-21 22:34:25 +01:00
vaxerski
63ec83e179 remove spammy log 2022-03-21 21:58:44 +01:00
vaxerski
3d61738d5d minor QoL patches 2022-03-21 19:28:43 +01:00
vaxerski
295a0c4a69 Added fullscreen 2022-03-21 19:18:33 +01:00
vaxerski
1b50377a5a R> is redundant 2022-03-21 18:34:49 +01:00
vaxerski
509f0c9a8a IPC is now a socket 2022-03-21 18:29:41 +01:00
vaxerski
30ae4be181 added drag and drop functionality
barebones but functioning
2022-03-21 17:50:28 +01:00
vaxerski
546fff6aa6 fix log 2022-03-21 17:26:02 +01:00
vaxerski
6dcd6f21b9 create floating windows correctly 2022-03-21 17:24:41 +01:00
vaxerski
51ce922ae1 properly calc layers 2022-03-21 17:00:17 +01:00
vaxerski
21418f97ff fixed closing layers not recalcing layout 2022-03-21 16:33:38 +01:00
vaxerski
cd720eaf66 fix crash 2022-03-21 16:16:47 +01:00
vaxerski
bcb02b9307 handle subsurfaces 2022-03-21 16:13:43 +01:00
vaxerski
d06423c9d1 moved events to separate files 2022-03-21 15:17:04 +01:00
vaxerski
2e9bd86c8b fix lockup on reloading config 2022-03-20 19:58:12 +01:00
vaxerski
db56e01c63 I am an idiot 2022-03-20 19:29:50 +01:00
vaxerski
942efbcd77 fix it again 2022-03-20 19:28:57 +01:00
vaxerski
027f29023c fix the last xwayland fix because it didnt fully fix 2022-03-20 19:27:47 +01:00
vaxerski
001dfbe323 better shouldbefloated for xwayland 2022-03-20 19:26:16 +01:00
vaxerski
23ec4793e1 fix xwayland windows grabbing mouse when hidden 2022-03-20 19:14:17 +01:00
vaxerski
0b2bf23d69 fixed multimon render again 2022-03-20 18:49:40 +01:00
vaxerski
1f639f2aba dwindle fixes 2022-03-20 18:31:58 +01:00
vaxerski
06114e728d stop complaining 2022-03-20 18:23:39 +01:00
vaxerski
0eba018c8b fixed an oopsie 2022-03-20 18:23:16 +01:00
vaxerski
9421be0221 removed a past unused placeholder 2022-03-20 18:10:17 +01:00
vaxerski
c32917a5ba added hyprctl 2022-03-20 16:51:14 +01:00
vaxerski
5644e668ef fix dwindle with workspaces 2022-03-20 16:06:17 +01:00
vaxerski
2e18fa268a default workspace option 2022-03-20 16:01:47 +01:00
vaxerski
50370e4216 added workspaces 2022-03-20 15:55:47 +01:00
vaxerski
45addfb31d arrange properly layers with no anchors 2022-03-20 14:52:23 +01:00
vaxerski
e7abda1b2b focus new layers 2022-03-20 14:41:33 +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
332fa8a802 XWayland floating 2022-03-20 13:37:07 +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
281cb9fd04 fix floating rendering on multimon 2022-03-20 11:18:01 +01:00
vaxerski
a4b026df2b floating windows support 2022-03-20 11:14:24 +01:00
vaxerski
a4d69a15b3 handle surface monitor better 2022-03-20 10:43:39 +01:00
vaxerski
c923ad4bea fancy 2022-03-20 10:37:31 +01:00
vaxerski
74379879dd Fixed a crash 2022-03-19 22:34:50 +01:00
vaxerski
221acebf2c input tweaks 2022-03-19 22:03:40 +01:00
vaxerski
2e5435fe91 fix layout refresh on config and keybinds doubling 2022-03-19 21:48:24 +01:00
vaxerski
7b7ce638f4 refresh rates 2022-03-19 21:46:29 +01:00
vaxerski
3277321c26 fix recalc dwindle 2022-03-19 20:59:22 +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
dba7bbdcf3 patches 2022-03-19 17:00:52 +01:00
vaxerski
0c88c0310e fix bars 2022-03-19 16:48:47 +01:00
vaxerski
9e735ad2f5 added borders 2022-03-19 16:13:19 +01:00
vaxerski
61e10e2048 added a layoutmanager and basic dwindle 2022-03-19 15:59:53 +01:00
vaxerski
e664b0b692 layers should work now 2022-03-19 14:37:40 +01:00
vaxerski
5f71a33d99 handle the signals 2022-03-19 14:09:11 +01:00
vaxerski
bc9d9c9c8d outputmgr applytest 2022-03-19 14:07:18 +01:00
vaxerski
86b6d7f938 handle layersurfaces better 2022-03-19 14:00:24 +01:00
vaxerski
5ea20cd041 fixed some oopsies 2022-03-19 13:54:24 +01:00
vaxerski
d615033526 layers 2022-03-19 13:35:04 +01:00
vaxerski
8cc0f35fbb fix keyboard 2022-03-19 13:28:02 +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
7590c4d27b handle axis 2022-03-19 10:25:11 +01:00
vaxerski
625e4ce264 fixed rendering 2022-03-18 23:52:36 +01:00
vaxerski
5971576a50 keyboard fix 2022-03-18 23:25:26 +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
d086fa3faa fixes minor 2022-03-18 20:20:49 +01:00
vaxerski
958bee27d4 oops 2022-03-18 20:07:36 +01:00
vaxerski
a9773bd91a XWayland and moved managers 2022-03-18 20:03:39 +01:00
vaxerski
854c827911 input manager progress 2022-03-17 20:55:04 +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
6e1819b3dc some events 2022-03-17 18:25:16 +01:00
vaxerski
a4ef84d987 it now actually runs lol 2022-03-17 17:08:54 +01:00
vaxerski
d6c2553af2 start handling monitors 2022-03-17 16:56:33 +01:00
vaxerski
cf51ab71a2 input basics 2022-03-17 16:19:10 +01:00
vaxerski
52090853da added vector2d 2022-03-16 22:21:12 +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