Commit Graph

430 Commits

Author SHA1 Message Date
vaxerski b6f2a4bc36 damage popups correctly 2022-07-28 11:37:27 +02:00
vaxerski 31a079b347 added DPMS 2022-07-27 12:32:00 +02:00
vaxerski cc146f0344 use transformed size in popup unconstrain 2022-07-26 22:58:25 +02:00
vaxerski d3c1d3435c fix typo in XDG popup callbacks 2022-07-26 22:45:59 +02:00
vaxerski 57f5de68ae remove commit event cuz i forgot 2022-07-26 22:01:55 +02:00
vaxerski eb30d9bdc8 fix typo in LS destroy event 2022-07-26 21:59:07 +02:00
vaxerski 98ef43496b listener fixes 2022-07-26 21:41:29 +02:00
vaxerski b18a2738e3 schedule recalcs in LS 2022-07-26 18:22:34 +02:00
vaxerski 7babcf7e6a arrange after switch 2022-07-25 23:53:43 +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 cde39e0b6e ls fixes 2022-07-25 20:47:56 +02:00
vaxerski b1d3a1deea force unmap on direct destroy 2022-07-25 18:38:40 +02:00
vaxerski e2594c79cc fix fading out layers without unmap 2022-07-25 18:35:53 +02:00
vaxerski 1626707b7f make layerSurfaces into RAII 2022-07-23 15:48:08 +02:00
vaxerski 616ec22735 wrapped wl_listener fixes 2022-07-22 13:34:19 +02:00
vaxerski d9b0edb786 remove newPopup handler for LS 2022-07-22 13:12:26 +02:00
Darksome eb8a1939e6 Merge upstream 2022-07-21 19:18:03 +03:00
vaxerski 641aaff998 minor code adjustments 2022-07-20 18:39:08 +02:00
vaxerski ce8d655fad fix oopsie in log 2022-07-19 16:39:15 +02:00
vaxerski d4690a5c5e minor change to unmanaged X11 geom requests 2022-07-19 16:38:27 +02:00
vaxerski 755245e752 adjust workspace on geom change x11 2022-07-19 16:21:35 +02:00
vaxerski 10a83853ac added ls noprocess 2022-07-18 21:16:01 +02:00
vaxerski 90d07d7b52 fix shadows on unmanaged and noborder 2022-07-18 12:39:57 +02:00
vaxerski aac546b771 added center windowrule 2022-07-16 16:27:17 +02:00
vaxerski ef24329495 pass through pinch events 2022-07-16 16:12:31 +02:00
Darksome ce9efb7ae3 Impl changeworkspace(e+{n}) 2022-07-16 15:28:17 +03:00
Darksome fdbc54d97b Restore events/Devices.cpp formatting 2022-07-16 12:44:12 +03:00
Darksome e56ff0fcb0 Merge remote-tracking branch 'upstream/main' into mouse-wheel-cfg 2022-07-16 12:40:02 +03:00
vaxerski b2650928ea obey xdg reqs better 2022-07-16 00:11:21 +02:00
Darksome 5388b54442 Merge upstream 2022-07-15 19:42:03 +03:00
vaxerski 642af5395e dont focus anything on constrained 2022-07-14 21:33:36 +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 b1e3430405 only set xwayland size/pos on reasonable deltas 2022-07-12 14:14:12 +02:00
vaxerski a4f82491b7 active opacity is now animated 2022-07-12 13:40:55 +02:00
vaxerski 29e2bb27f6 added misc:no_vfr 2022-07-12 10:02:12 +02:00
vaxerski c0c75db621 roll VFR for everyone 2022-07-11 23:56:24 +02:00
vaxerski 676e4c36c5 fix focus on layers when constrained 2022-07-11 22:51:20 +02:00
vaxerski ad66c158ba don't refocus on virt ptrs 2022-07-11 20:23:16 +02:00
vaxerski ab44aabbd7 update decos on setgeometry x11 2022-07-11 19:07:59 +02:00
vaxerski c923b0e538 respect size in setgeo unmanaged x11 2022-07-11 15:31:31 +02:00
vaxerski 11c88e2503 apply surface width to ls geo on commit 2022-07-10 20:36:32 +02:00
vaxerski 06c0be5ea6 clear with 17 2022-07-10 11:45:50 +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 491b99c61e handle unmanaged X11 setGeometry 2022-07-08 11:24:07 +02:00
vaxerski 75a580feda Disallow focus to modal and override_redirect X11 windows 2022-07-08 10:36:21 +02:00
vaxerski a7b595d968 allow windowrule special again 2022-07-07 19:01:42 +02:00
vaxerski 4b796d30c1 Added swipe workspace gestures 2022-07-07 13:49:04 +02:00
vaxerski 1cf2f378d4 added ls blurring 2022-07-06 22:12:03 +02:00
vaxerski 6a16f11d63 add namespace to hyprctl layers 2022-07-06 21:57:35 +02:00
vaxerski f9756d10d4 changed C++ std to C++23, use std::string::contains 2022-07-06 16:50:11 +02:00
vaxerski 9655d0c138 added support for wlr_idle_inhibitor_v1 2022-07-06 15:42:37 +02:00
vaxerski ae096219e8 do updates on every mon update if VFR is enabled 2022-07-05 21:45:32 +02:00
vaxerski cc8b8f595f disallow workspace special windowrule 2022-07-04 19:58:51 +02:00
vaxerski e0bfec6ef2 added experimental:vfr 2022-07-04 17:47:31 +02:00
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