Deactivate patch
This commit is contained in:
parent
b616c3df8e
commit
17b40e1227
1 changed files with 18 additions and 18 deletions
|
@ -25,26 +25,26 @@ let
|
||||||
rev = "29e4f76ac53bef048938754f32231d7836401f79";
|
rev = "29e4f76ac53bef048938754f32231d7836401f79";
|
||||||
sha256 = "084csgqa6f1a270bhybjayrh3mpyi2jimc87qkdgsqcp8ycsx1l1";
|
sha256 = "084csgqa6f1a270bhybjayrh3mpyi2jimc87qkdgsqcp8ycsx1l1";
|
||||||
};
|
};
|
||||||
xmonad-patch = writeText "xmonad-workaround.patch" ''
|
# xmonad-patch = writeText "xmonad-workaround.patch" ''
|
||||||
--- a/src/settings.cpp
|
# --- a/src/settings.cpp
|
||||||
+++ b/src/settings.cpp
|
# +++ b/src/settings.cpp
|
||||||
@@ -20,6 +20,7 @@ static json_t *settingsToJson() {
|
# @@ -20,6 +20,7 @@ static json_t *settingsToJson() {
|
||||||
json_t *tokenJ = json_string(gToken.c_str());
|
# json_t *tokenJ = json_string(gToken.c_str());
|
||||||
json_object_set_new(rootJ, "token", tokenJ);
|
# json_object_set_new(rootJ, "token", tokenJ);
|
||||||
|
|
||||||
+ /*
|
# + /*
|
||||||
if (!windowIsMaximized()) {
|
# if (!windowIsMaximized()) {
|
||||||
// windowSize
|
# // windowSize
|
||||||
Vec windowSize = windowGetWindowSize();
|
# Vec windowSize = windowGetWindowSize();
|
||||||
@@ -31,6 +32,7 @@ static json_t *settingsToJson() {
|
# @@ -31,6 +32,7 @@ static json_t *settingsToJson() {
|
||||||
json_t *windowPosJ = json_pack("[f, f]", windowPos.x, windowPos.y);
|
# json_t *windowPosJ = json_pack("[f, f]", windowPos.x, windowPos.y);
|
||||||
json_object_set_new(rootJ, "windowPos", windowPosJ);
|
# json_object_set_new(rootJ, "windowPos", windowPosJ);
|
||||||
}
|
# }
|
||||||
+ */
|
# + */
|
||||||
|
|
||||||
// opacity
|
# // opacity
|
||||||
float opacity = gToolbar->wireOpacitySlider->value;
|
# float opacity = gToolbar->wireOpacitySlider->value;
|
||||||
'';
|
# '';
|
||||||
in
|
in
|
||||||
with stdenv.lib; stdenv.mkDerivation rec {
|
with stdenv.lib; stdenv.mkDerivation rec {
|
||||||
name = "VCV-Rack-${version}";
|
name = "VCV-Rack-${version}";
|
||||||
|
|
Loading…
Reference in a new issue