summary refs log tree commit diff
path: root/pkgs/applications/window-managers/dwm
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2013-04-04 23:32:53 +0200
committerLluís Batlle i Rossell <viric@viric.name>2013-04-04 23:32:53 +0200
commit5aacc334066f1bb0922ef6b9bba7117dbe1c6cbe (patch)
treefc38649f612ba02039413670811fb280d32daa7b /pkgs/applications/window-managers/dwm
parent3db052eb7a41db596ada9db3b89748c6ada55ca8 (diff)
downloadnixpkgs-5aacc334066f1bb0922ef6b9bba7117dbe1c6cbe.tar
nixpkgs-5aacc334066f1bb0922ef6b9bba7117dbe1c6cbe.tar.gz
nixpkgs-5aacc334066f1bb0922ef6b9bba7117dbe1c6cbe.tar.bz2
nixpkgs-5aacc334066f1bb0922ef6b9bba7117dbe1c6cbe.tar.lz
nixpkgs-5aacc334066f1bb0922ef6b9bba7117dbe1c6cbe.tar.xz
nixpkgs-5aacc334066f1bb0922ef6b9bba7117dbe1c6cbe.tar.zst
nixpkgs-5aacc334066f1bb0922ef6b9bba7117dbe1c6cbe.zip
dwm: fix SDL games with fullscreen
It worked quite bad when the game resolution was different than the
current.
Diffstat (limited to 'pkgs/applications/window-managers/dwm')
-rw-r--r--pkgs/applications/window-managers/dwm/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/window-managers/dwm/default.nix b/pkgs/applications/window-managers/dwm/default.nix
index db469268350..82eb9e56935 100644
--- a/pkgs/applications/window-managers/dwm/default.nix
+++ b/pkgs/applications/window-managers/dwm/default.nix
@@ -1,7 +1,10 @@
 {stdenv, fetchurl, libX11, libXinerama, patches ? []}:
 
-stdenv.mkDerivation rec {
+let
   name = "dwm-6.0";
+in
+stdenv.mkDerivation {
+  inherit name;
  
   src = fetchurl {
     url = "http://dl.suckless.org/dwm/${name}.tar.gz";
@@ -13,7 +16,7 @@ stdenv.mkDerivation rec {
   prePatch = ''sed -i "s@/usr/local@$out@" config.mk'';
 
   # Allow users set their own list of patches
-  inherit patches;
+  patches = [ ./confnotify-6.0.patch ] ++ patches;
 
   buildPhase = " make ";