summaryrefslogtreecommitdiff
path: root/src/helpers
Commit message (Collapse)AuthorAgeFilesLines
* xwayland: send zero scaling to xwayland if enabledvaxerski2023-06-234-7/+10
|
* gamma: use wlr's new gamma manager eventvaxerski2023-06-141-0/+1
|
* xwayland: add force_zero_scalingvaxerski2023-06-111-2/+4
|
* Allow setting alpha value for ignorezero layer rule (#2477)end-42023-06-112-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rename ignorezero to ignorealpha * allow setting ignorealpha value This commit allows setting a float value (0-1) for the ignorealpha layer rule. Does not yet have error handling; invalid ignorealpha layer rule will crash Hyprland. * add brackets i forgot to add * prevent crash with invalid ignorealpha value prevents hyprland from immediately crashing with invalid ignorealpha layer rule does not log * don't try to set ignoreAlphaValue if alpha value not specified * add catch to try, reintroduce ignorezero - added catch after try cuz i was an idiot - re-add ignorezero as an alternative to ignorealpha to not introduce a breaking change * add logging for failed ignorealpha layer rule * fix get ignorealpha's get VALUE * check npos and use empty() * rename VALUE cuz no longer const * format Shader.hpp
* noxwl: add missing stubsvaxerski2023-06-031-2/+3
|
* deps: update wlrootsvaxerski2023-06-031-3/+3
|
* internal: properly set monitor props on special windowsvaxerski2023-06-021-0/+7
|
* vector: restore cmath include after 438d063ec684 (#2394)Jan Beich2023-05-291-0/+1
| | | | | | | | | | | src/helpers/Vector2D.cpp:27:26: error: no member named 'floor' in namespace 'std' return Vector2D(std::floor(x), std::floor(y)); ~~~~~^ src/helpers/Vector2D.cpp:27:41: error: no member named 'floor' in namespace 'std' return Vector2D(std::floor(x), std::floor(y)); ~~~~~^ src/helpers/Vector2D.cpp:37:17: error: no member named 'sqrt' in namespace 'std' return std::sqrt(dx * dx + dy * dy); ~~~~~^
* Fix UAF in animation end callback if callback deletes the animation (#2389)outfoxxed2023-05-291-1/+3
| | | | Removes use after free when the end callback deletes the animation as long as `m_bRemoveEndAfterRan` is false.
* vector: use c++ stdlib math functions instead of cmathvaxerski2023-05-281-3/+2
|
* input: don't move monitor focus on wp change (#2320)Anthony Ruhier2023-05-171-1/+1
|
* bug fix (#2314)Eric_Luo2023-05-161-1/+1
| | | | | fix float check logic Co-authored-by: hnboy <hnywolf@gmail.ccom>
* internal: make CAnimatedVariable non-move non-copyvaxerski2023-05-161-0/+5
|
* animationmgr: allow empty avarsvaxerski2023-05-151-2/+12
|
* layers: fix wonky focus on multimonvaxerski2023-05-091-0/+2
|
* renderer,config: add custom DRM modeline support (#2254)Andrei Alexeyev2023-05-091-11/+14
| | | | | | | | | | | | | | This allows specifying custom display resolutions for the DRM backend. This is useful for display overclocking, working around broken EDIDs, etc. To use this feature, specify a modeline instead of a resolution in the config, for example: monitor = DP-1, modeline 1071.101 3840 3848 3880 3920 2160 2263 2271 2277 +hsync -vsync, 0x0, 1 This example is a custom 3840x2160@120Hz mode with tightened timings. I use it because the standard timings don't work with my monitor and GPU combination (M28U with RX580). The syntax is compatible with Sway and Xorg.
* Add "next on monitor or empty" workspace parameter (#2198)scorpion-262023-05-081-2/+135
| | | | | | | | | | | | | | | | | | | | | * Add "next on monitor or empty" workspace parameter Implements the following workspace parameter: r+x/r-x (i.e. r+1): Behaves similar to the "m" parameter, but can also select empty workspaces and it doesn't wrap around * Improve code comments * Implementation V2 for 'r' workspace param * Rebase to upstream Should fix CI * Always set outName * Include named workspaces Currently only considers open/active named workspaces
* monitors: fix some bugs with re-plugvaxerski2023-05-061-1/+1
|
* workspaces: minor fixes for multi-specialvaxerski2023-05-061-0/+5
|
* monitors: toggle special on changeworkspace with specialvaxerski2023-05-051-1/+4
|
* workspaces: restore monitor on re-plugvaxerski2023-05-032-1/+14
|
* keybinds: simulate workspace switch on focusWindow to another wsvaxerski2023-05-012-6/+19
|
* workspace: don't check LS-es in startAnimvaxerski2023-04-301-9/+0
|
* monitor: update fullscreen fade on workspace changevaxerski2023-04-301-0/+2
|
* Revert "internal: include headers from protocols/"vaxerski2023-04-271-1/+1
| | | | | | This reverts commit 550700bed01c114b2a200ab177ed4bc295a2c7dd. We can't cuz meson
* internal: include headers from protocols/vaxerski2023-04-271-1/+1
|
* monitors: set special monitor ID on openvaxerski2023-04-171-1/+2
|
* Format: use %lx for all addressesvaxerski2023-04-175-14/+14
|
* internal: move workspace special check higher in changeWorkspacevaxerski2023-04-171-5/+5
|
* Render: add cursor_zoomvaxerski2023-04-161-0/+12
|
* Fix possible usage of clamp with lo > hi in Vector2D (#2049)dann-merlin2023-04-161-1/+1
|
* monitor: recalc layout on switched wsvaxerski2023-04-161-0/+2
|
* damage: fix damage on moves / workspace changesvaxerski2023-04-151-0/+4
|
* workspaces: fixup workspaces not activating on workspace switchvaxerski2023-04-141-2/+10
|
* workspaces: deactivate all on monitor switchvaxerski2023-04-141-1/+1
|
* internal: workspace manip handling reworkvaxerski2023-04-142-0/+82
|
* internal: prevent premature destroy in moveworkspacevaxerski2023-04-131-3/+7
|
* screencopy: implement dmabufvaxerski2023-04-122-0/+4
|
* Implement window move (#2018)Hilmar Wiegand2023-04-102-2/+18
|
* output: handle needs_framevaxerski2023-04-072-4/+8
|
* internal: listen to output.damage eventsvaxerski2023-04-072-4/+10
|
* internal: release buttons on unmapvaxerski2023-04-071-0/+3
|
* subsurfaces: guard node's surfacevaxerski2023-04-071-0/+3
|
* internal: migrate to damage_ringvaxerski2023-04-072-7/+16
|
* monitors: guard scale in onConnectvaxerski2023-04-041-0/+2
|
* Misc FreeBSD fixes (#1926)Jan Beich2023-03-311-3/+3
| | | | | | | | | | | | | | | | | | | | | * helpers: drop incomplete GNU/kFreeBSD bits Debian with FreeBSD kernel lacks Wayland-related packages and is not officially supported since Jessie. * KeybindManager: check VT ioctl availability instead of hardcoding * plugins: add missing header for libc++ after 430778293e4c src/plugins/PluginAPI.cpp:299:33: error: implicit instantiation of undefined template 'std::basic_istringstream<char>' std::istringstream inStream(SYMBOLS); ^ /usr/include/c++/v1/iosfwd:140:32: note: template is declared here class _LIBCPP_TEMPLATE_VIS basic_istringstream; ^ * plugins: prefer llvm-nm with Clang after 430778293e4c nm: invalid option -- j
* Feat: Introduce render_ahead_of_time (#1863)Vaxry2023-03-242-0/+18
|
* subsurfaces: avoid reading destroyed surfacesvaxerski2023-03-241-4/+5
|
* window: unassign surface on unmapvaxerski2023-03-232-0/+5
|
* surface: set to nullptr after destroy()vaxerski2023-03-231-0/+2
|