Commit graph

573 commits

Author SHA1 Message Date
vaxerski
c71b76a9e0 fix chromium part 1 2022-07-04 15:58:12 +02:00
vaxerski
853a33888b fix issue with special workspace rules 2022-07-04 12:03:09 +02:00
vaxerski
f7c4865bac warp size and pos before rule fullscreen 2022-07-03 21:38:39 +02:00
xDarksome
185c4d6ea1
Merge branch 'hyprwm:main' into main 2022-07-02 19:43:52 +03:00
vaxerski
e77f451e27 minor oopsie 2022-07-01 22:49:12 +02:00
vaxerski
4510764f34 finally fix scaled snapshots 2022-06-30 20:02:04 +02:00
vaxerski
96a23eca81 calculate damage properly for layers on commit
since the damageSurface func now works, we can remove this old remnant
2022-06-30 18:46:00 +02:00
vaxerski
328b3fa4bc mordernize pointers 2022-06-30 15:44:26 +02:00
vaxerski
37abe0aedc added debug:damage_blink 2022-06-29 11:44:00 +02:00
vaxerski
9fcef41d66 mutliple fixes to subsurface handling 2022-06-28 15:30:46 +02:00
vaxerski
fc5cd49795 don't create a surface tree on xwayland windows 2022-06-28 14:09:14 +02:00
vaxerski
9f407b9018 log window parent for x11 2022-06-28 12:46:32 +02:00
vaxerski
85977fb4dc add xwayland class raw to destroywindow 2022-06-28 12:43:08 +02:00
vaxerski
3cbd69e703 added createworkspace destroyworkspace events 2022-06-28 12:39:56 +02:00
vaxerski
a2e009bd9f log classes in create/destroy 2022-06-28 12:24:21 +02:00
vaxerski
1fc1fc9d3b fix focus on close fullscreen 2022-06-27 22:34:37 +02:00
vaxerski
4443906994 fix fullscreen rule on already fullscreen ws 2022-06-27 20:11:09 +02:00
vaxerski
213d0f25cf fix oopsie with fullscreen 2022-06-27 19:08:14 +02:00
vaxerski
781526dac5 added hyprctl kill 2022-06-27 13:42:20 +02:00
vaxerski
6a47a305f8 fix some xwayland popups 2022-06-26 20:08:19 +02:00
xDarksome
fc4b10d13c
Remove empty line 2022-06-26 19:28:30 +03:00
xDarksome
504f76112a
Merge branch 'hyprwm:main' into main 2022-06-26 19:20:20 +03:00
vaxerski
f5c2dfc706 a bit of fixes to cursor hiding 2022-06-26 13:43:32 +02:00
vaxerski
78bf88ba60 Added fullscreen rule 2022-06-26 12:12:29 +02:00
vaxerski
72c86b99eb added general:cursor_inactive_timeout 2022-06-24 23:27:02 +02:00
vaxerski
45a44f9690 added noblur 2022-06-24 22:28:54 +02:00
xDarksome
be460ea954
Merge branch 'hyprwm:main' into main 2022-06-24 18:58:11 +03:00
vaxerski
ae60075226 fix calculating damage offset for oversized popups 2022-06-23 19:32:00 +02:00
vaxerski
770bada5d5 Fixed oversized apps' incorrect layout 2022-06-22 15:45:56 +02:00
vaxerski
84d6e640ff support all workspace types in workspace keyword 2022-06-21 22:25:54 +02:00
vaxerski
ff49f22440 fix rapid blinking on launch 2022-06-21 22:13:13 +02:00
Darksome
8f62f6d4b0 Add workspace switching with mouse wheel 2022-06-20 22:47:28 +03:00
Yoni FIRROLONI
f428604b6f undo formatting 2022-06-17 19:51:34 +01:00
Yoni FIRROLONI
2feca08a67 move, set active, recalc, anim on monitor connected 2022-06-17 19:51:34 +01:00
vaxerski
49fc1ccdb4 oops 2022-06-09 17:32:58 +02:00
vaxerski
47404534d0 added tablet v2 support (alpha alpha) 2022-06-09 12:46:55 +02:00
vaxerski
248ce66459 warn unrecognized input devices 2022-06-08 22:11:24 +02:00
vaxerski
638b44cabd Attach touch devices raw 2022-06-08 22:09:35 +02:00
vaxerski
7b73570f11 fix a crash in monitorDestroy 2022-06-08 15:13:47 +02:00
vaxerski
1642b1ff66 optimize config calls in often called areas 2022-06-07 20:41:40 +02:00
vaxerski
b62e530fdb Force window style tiled on all xdg windows 2022-06-06 19:43:44 +02:00
vaxerski
d743ac7bb1 added forcerendererreload and some more vt changes 2022-06-06 13:48:17 +02:00
vaxerski
4f76d5d8d7 destroy monitor on disabled 2022-06-01 21:10:12 +02:00
vaxerski
8d850b0ce1 Added workspace/monitor unset and workspace silent rules 2022-06-01 21:04:06 +02:00
vaxerski
d2451aea4b use overflowing coords when surface unmaps 2022-06-01 13:38:33 +02:00
vaxerski
970018248f Don't damage surfaces coming from not rendered windows 2022-05-31 22:16:13 +02:00
vaxerski
8de7cc5a8d opacity windowrule support 2 values 2022-05-31 17:35:50 +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
68f7e565e6 Use existing default mon workspace if available on connect 2022-05-31 12:10:34 +02:00
vaxerski
b2474d406a don't duplicate workspaces on connect 2022-05-30 20:45:39 +02:00
vaxerski
eee9698ec9 move workspaces and not windows on mon disconnect 2022-05-30 20:44:14 +02:00
vaxerski
c44c79abb2 fix monitor cleanups on removed 2022-05-30 17:11:35 +02:00
vaxerski
b76b32b458 don't add existing and invalid monitors 2022-05-29 20:15:34 +02:00
vaxerski
f5645805d8 Don't animate out if window wasnt animated in 2022-05-29 16:01:45 +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
fdb3f610e5 Added wlr_foreign_toplevel_v1 2022-05-29 11:24:42 +02:00
vaxerski
15553804d6 Added closing animations (reverse of open) 2022-05-28 18:28:55 +02:00
vaxerski
7f1f14fe85 Added a rounding rule 2022-05-28 17:48:01 +02:00
vaxerski
7d442d4851 Added rendertime no overlay 2022-05-28 17:40:57 +02:00
vaxerski
8c10857f14 Added a debug overlay 2022-05-28 17:32:19 +02:00
vaxerski
1bef63a1e6 fix for latest wlroots 2022-05-27 16:03:24 +02:00
vaxerski
19a168792b activewindow class and title 2022-05-26 21:24:52 +02:00
vaxerski
795504dad0 Added workspaceopt dispatcher 2022-05-26 19:05:32 +02:00
vaxerski
9597ffdd32 fix missing region32 copy in renderer 2022-05-25 19:19:54 +02:00
vaxerski
c8f0a74975 update activewindow on its title change 2022-05-25 17:29:44 +02:00
vaxerski
0ae6563fef workspace set active 2022-05-25 10:25:36 +02:00
vaxerski
c8425926c9 fix default workspaces being unnamed 2022-05-24 22:30:36 +02:00
vaxerski
f522c597ef Fix fullscreen focus detection and configure requests 2022-05-23 22:07:29 +02:00
vaxerski
5f620ee7ca fix fullscreen request loops 2022-05-20 15:02:51 +02:00
vaxerski
36be9c4a11 warp to middle on remove constraint 2022-05-19 15:29:26 +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
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
473d4591b0 fix some memory issues 2022-05-17 18:37:14 +02:00
vaxerski
0503835ee6 fixed blur and shit 2022-05-16 21:30:11 +02:00
vaxerski
bf8ebfc631 added scaling (dt broken)
damage tracking on full is broken
2022-05-16 20:45:27 +02:00
vaxerski
d7ad80e6a2 Added window animation rules 2022-05-15 14:18:31 +02:00
vaxerski
cba4693d39 Fix certain layersurfaces crashing 2022-05-15 11:25:42 +02:00
vaxerski
f7214114d4 adjust blur radius 2022-05-14 20:11:34 +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
694f4433a2 Added animation style and style slide 2022-05-14 16:43:30 +02:00
vaxerski
a1567feb3d Added nofocus rule 2022-05-14 14:37:57 +02:00
vaxerski
0273d21a77 fix incorrect mem use after delete 2022-05-14 11:10:50 +02:00
vaxerski
d438bd970a Added virtual pointer protocol 2022-05-12 12:13:02 +02:00
vaxerski
ff0f535c28 Added workspace animations 2022-05-12 11:27:31 +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
ff86f723b2 Fix blur leaving strokes on full damage tracking 2022-05-06 16:06:21 +02:00
vaxerski
8369f2980a crucial fixes to full damage tracking 🎉
should now be mostly usable
2022-05-05 13:48:22 +02:00
vaxerski
726ba65785 enter all outputs in wlr/workspaces 2022-04-28 18:06:25 +02:00
vaxerski
4b985d3e38 fix crash when yanking mouse before init 2022-04-28 17:57:24 +02:00
vaxerski
51172129d7 deactivate exclusive 2022-04-28 17:55:25 +02:00
vaxerski
e5f8bca41c Switched old blur to dual kawase 2022-04-24 16:41:01 +02:00
vaxerski
3b3718df3d some fixes for full damage tracking 2022-04-24 12:04: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
94811485c9 added opacity rule 2022-04-22 14:37:38 +02:00
vaxerski
a8e5e9c558 Allow percentages in move and size rules 2022-04-22 14:31:14 +02:00
vaxerski
883d389bc2 Make hyprctl thread safe 2022-04-21 22:00:03 +02:00
vaxerski
5fa916e6f2 fix monitor reload crash 2022-04-21 18:11:28 +02:00
vaxerski
2b8b34d8db Added workspace windowrule 2022-04-21 17:17:47 +02:00
vaxerski
ab2c65e535 Set last monitor when unset on monitor attach 2022-04-20 19:36:05 +02:00
vaxerski
08ee14b4a0 Added dynamic monitor rules 2022-04-19 19:01:23 +02:00
vaxerski
1eec8c3741 Sync to highest Hz monitor 2022-04-19 18:00:54 +02:00
vaxerski
7ae87a233c Inhibit fixes 2022-04-18 17:16:01 +02:00
vaxerski
30683d5c44 minor XWayland and rule fixes 2022-04-18 13:10:58 +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
baa9e0caea
Merge branch 'main' into damage-tracking 2022-04-17 11:52:54 +02:00
vaxerski
24df15105e don't rearrange layersurfaces when not needed 2022-04-17 10:46:04 +02:00
vaxerski
4a966c945b Add monitor disabled option 2022-04-17 10:19:46 +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
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
5d529d46e7 use output's modes instead of a custom mode 2022-04-13 17:11:37 +02:00
vaxerski
17f63bf3e8 Fix exec-once being wack on launch 2022-04-12 20:02:57 +02:00
vaxerski
a8e8729230 Added zext_workspace protocol support 🎉 2022-04-11 19:51:37 +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
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
cebe45a188 small fullscreen fix 2022-04-07 17:07:42 +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
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
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
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
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
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
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
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
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
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
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
ccbc0e4a2e Added window rules 2022-03-24 18:22:01 +01:00
vaxerski
97501fc034 update for latest wlroots 2022-03-24 15:57:46 +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
f82fdb012e fix dwindle + minor logs and comments 2022-03-22 22:22: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
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
c58b15c6da Fix a crash with setting title 2022-03-22 17:31:19 +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
30ae4be181 added drag and drop functionality
barebones but functioning
2022-03-21 17:50:28 +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
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
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
7b7ce638f4 refresh rates 2022-03-19 21:46:29 +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
dba7bbdcf3 patches 2022-03-19 17:00:52 +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
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
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
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
ffd309ca2a some basic startup code 2022-03-16 21:37:21 +01:00