aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/config/ConfigDescriptions.hpp
diff options
context:
space:
mode:
authortrianta <[email protected]>2024-09-05 11:26:46 -0500
committerGitHub <[email protected]>2024-09-05 17:26:46 +0100
commitbd6d6e7f3378c08fe48c179ba4ec3517fe10ae3f (patch)
tree5f50dea8f863e5d5ae77cb3e088440dff8d84ff6 /src/config/ConfigDescriptions.hpp
parent027140b7315efe3cd2e7b78fa608bd36da839894 (diff)
downloadHyprland-bd6d6e7f3378c08fe48c179ba4ec3517fe10ae3f.tar.gz
Hyprland-bd6d6e7f3378c08fe48c179ba4ec3517fe10ae3f.zip
xwayland: add option to enable/disable xwayland (#7633)
* config: add xwayland enabled option to config * xwayland: use DISPLAY env variable for enable/disable of new launches * xwayland: close X11 windows when turning of XWayland * clang: format fix * config: add better description for xwayland:enabled * xwayland: close X11 windows on disable without crashes * xwayland: better method of informing CXWayland if xwayland enabled * xwayland: prevent closing non-xwayland windows on disable * misc: loop formatting
Diffstat (limited to 'src/config/ConfigDescriptions.hpp')
-rw-r--r--src/config/ConfigDescriptions.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config/ConfigDescriptions.hpp b/src/config/ConfigDescriptions.hpp
index 73f3c9a3..00ebde6a 100644
--- a/src/config/ConfigDescriptions.hpp
+++ b/src/config/ConfigDescriptions.hpp
@@ -1116,6 +1116,12 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
*/
SConfigOptionDescription{
+ .value = "xwayland:enabled",
+ .description = "allow running applications using X11",
+ .type = CONFIG_OPTION_BOOL,
+ .data = SConfigOptionDescription::SBoolData{true},
+ },
+ SConfigOptionDescription{
.value = "xwayland:use_nearest_neighbor",
.description = "uses the nearest neighbor filtering for xwayland apps, making them pixelated rather than blurry",
.type = CONFIG_OPTION_BOOL,