Hyprland/src
Tom Englund 17ed4fc04c
hyprctl: avoid parsing string::npos on invalid cmd (#7544)
* hyprctl: avoid parsing string::npos on invalid cmd

invalid lines passed to hyprctl keyword made the string parsing try to
parse std::string::npos, avoid that and return an error text instead.

* style

---------

Co-authored-by: Vaxry <vaxry@vaxry.net>
2024-08-27 20:42:30 +02:00
..
config misc: constify the remaining for loops (#7534) 2024-08-26 20:24:30 +02:00
debug hyprctl: avoid parsing string::npos on invalid cmd (#7544) 2024-08-27 20:42:30 +02:00
desktop misc: constify the remaining for loops (#7534) 2024-08-26 20:24:30 +02:00
devices input: Fix modifier keys getting stuck if depressed during config reload (#7486) 2024-08-23 20:35:52 +01:00
events misc: constify the remaining for loops (#7534) 2024-08-26 20:24:30 +02:00
helpers misc: constify the remaining for loops (#7534) 2024-08-26 20:24:30 +02:00
hyprerror hyprerror: minor stylistic changes 2024-08-02 18:42:10 +02:00
init style/ci: apply clang-format and verify it in ci (#4039) 2023-12-06 22:54:56 +00:00
layout misc: constify the remaining for loops (#7534) 2024-08-26 20:24:30 +02:00
managers Fix missing include needed by clang 2024-08-26 22:36:43 +03:00
pch pch: add format 2023-09-06 14:59:34 +02:00
plugins misc: constify the remaining for loops (#7534) 2024-08-26 20:24:30 +02:00
protocols misc: constify the remaining for loops (#7534) 2024-08-26 20:24:30 +02:00
render misc: constify the remaining for loops (#7534) 2024-08-26 20:24:30 +02:00
xwayland build: Fix NO_XWAYLAND compilation (#7538) 2024-08-27 20:41:46 +02:00
Compositor.cpp misc: constify the remaining for loops (#7534) 2024-08-26 20:24:30 +02:00
Compositor.hpp misc: Rename all instances of "emtpy" to "empty" (#7522) 2024-08-26 12:25:52 +02:00
defines.hpp internal: new shared_ptr and weak_ptr implementation (#5883) 2024-05-05 17:16:00 +01:00
includes.hpp Core: Move to aquamarine (#6608) 2024-07-21 13:09:54 +02:00
macros.hpp internal: introduce new types to avoid unsigned int rollover and signed int overflow (#7216) 2024-08-08 21:01:50 +02:00
main.cpp core: Preserve existing XDG_CURRENT_DESKTOP (#7347) 2024-08-15 17:14:48 +01:00
meson.build cursormgr: add a new setting to sync gsettings (#7253) 2024-08-09 19:33:20 +02:00
SharedDefs.hpp internal: introduce new types to avoid unsigned int rollover and signed int overflow (#7216) 2024-08-08 21:01:50 +02:00
signal-safe.cpp internal: introduce new types to avoid unsigned int rollover and signed int overflow (#7216) 2024-08-08 21:01:50 +02:00
signal-safe.hpp internal: introduce new types to avoid unsigned int rollover and signed int overflow (#7216) 2024-08-08 21:01:50 +02:00
version.h.in hyprpm: add support for minimum versions 2024-04-05 00:46:37 +01:00