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";
|
||||
sha256 = "084csgqa6f1a270bhybjayrh3mpyi2jimc87qkdgsqcp8ycsx1l1";
|
||||
};
|
||||
xmonad-patch = writeText "xmonad-workaround.patch" ''
|
||||
--- a/src/settings.cpp
|
||||
+++ b/src/settings.cpp
|
||||
@@ -20,6 +20,7 @@ static json_t *settingsToJson() {
|
||||
json_t *tokenJ = json_string(gToken.c_str());
|
||||
json_object_set_new(rootJ, "token", tokenJ);
|
||||
# xmonad-patch = writeText "xmonad-workaround.patch" ''
|
||||
# --- a/src/settings.cpp
|
||||
# +++ b/src/settings.cpp
|
||||
# @@ -20,6 +20,7 @@ static json_t *settingsToJson() {
|
||||
# json_t *tokenJ = json_string(gToken.c_str());
|
||||
# json_object_set_new(rootJ, "token", tokenJ);
|
||||
|
||||
+ /*
|
||||
if (!windowIsMaximized()) {
|
||||
// windowSize
|
||||
Vec windowSize = windowGetWindowSize();
|
||||
@@ -31,6 +32,7 @@ static json_t *settingsToJson() {
|
||||
json_t *windowPosJ = json_pack("[f, f]", windowPos.x, windowPos.y);
|
||||
json_object_set_new(rootJ, "windowPos", windowPosJ);
|
||||
}
|
||||
+ */
|
||||
# + /*
|
||||
# if (!windowIsMaximized()) {
|
||||
# // windowSize
|
||||
# Vec windowSize = windowGetWindowSize();
|
||||
# @@ -31,6 +32,7 @@ static json_t *settingsToJson() {
|
||||
# json_t *windowPosJ = json_pack("[f, f]", windowPos.x, windowPos.y);
|
||||
# json_object_set_new(rootJ, "windowPos", windowPosJ);
|
||||
# }
|
||||
# + */
|
||||
|
||||
// opacity
|
||||
float opacity = gToolbar->wireOpacitySlider->value;
|
||||
'';
|
||||
# // opacity
|
||||
# float opacity = gToolbar->wireOpacitySlider->value;
|
||||
# '';
|
||||
in
|
||||
with stdenv.lib; stdenv.mkDerivation rec {
|
||||
name = "VCV-Rack-${version}";
|
||||
|
|
Loading…
Reference in a new issue