Noprop desktop save

773pages on
this wiki
Add New Page
Add New Page Talk0
Browse all patches

Author Edit

Luis Rodrigo Gallardo Cruz

Synopsis Edit

Sawfish saves the size of the desktop window, and although nautilus requests the widget to be the same size as your screen it's forced to the size that sawfish saved..

This patch is currently applied in the Debian package.

bugzilla bugreport

debian bugreport

Patch Edit

#! /bin/sh /usr/share/dpatch/dpatch-run
## dontSaveDesktopSize.dpatch by  <>
## All lines beginning with `## DP:' are a description of the patch.
## DP: Avoid saving poperties for the desktop window (Nautilus' for example)

diff -urNad sawfish~/lisp/sawfish/wm/session/save.jl sawfish/lisp/sawfish/wm/session/save.jl
--- sawfish~/lisp/sawfish/wm/session/save.jl	2001-01-28 19:34:37.000000000 -0600
+++ sawfish/lisp/sawfish/wm/session/save.jl	2006-08-03 21:33:36.683410698 -0500
@@ -73,6 +73,7 @@
 		      (user-login-name) (system-name)
 		      sawfish-version (current-time-string))
 	      (map-windows (lambda (w)
-			     (sm-print-alist file (sm-get-window-state w))))
+                             (and (not (desktop-window-p w))
+                              (sm-print-alist file (sm-get-window-state w)))))
 	  (close-file file))))))

Community's reasons for inclusion or rejection Edit

  • Yes vote: yes. it is currently in debian and works all the time, so we take it upstream Janek Kozicki 23:57, 16 January 2008 (UTC)

Also on Fandom

Random Wiki