Reset last head sizes on CLFSWM reset
authorPhilippe Brochard <pbrochard@common-lisp.net>
Wed, 28 Nov 2012 22:35:35 +0000 (28 23:35 +0100)
committerPhilippe Brochard <pbrochard@common-lisp.net>
Wed, 28 Nov 2012 22:35:35 +0000 (28 23:35 +0100)
src/clfswm-internal.lisp
src/clfswm.lisp

index ea0a3eb..0531d92 100644 (file)
@@ -852,6 +852,9 @@ XINERAMA version 1.1 opcode: 150
 
 
 (let ((last-sizes nil))
+  (defun reset-last-head-size ()
+    (setf last-sizes nil))
+
   (defun place-frames-from-xinerama-infos ()
     "Place frames according to xdpyinfo/xinerama informations"
     (let ((sizes (get-connected-heads-size))
index ae17299..c531d04 100644 (file)
 
 (defun init-display ()
   (reset-root-list)
+  (reset-last-head-size)
   (reset-bind-or-jump-slots)
   (reset-open-menu)
   (fill-handle-event-fun-symbols)