Commit graph

318 commits

Author SHA1 Message Date
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