Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

winner-mode shows message "Group dumped" on every window switch. #242

Closed
Junker opened this issue Feb 6, 2022 · 1 comment
Closed

winner-mode shows message "Group dumped" on every window switch. #242

Junker opened this issue Feb 6, 2022 · 1 comment

Comments

@Junker
Copy link
Contributor

Junker commented Feb 6, 2022

Every time i switch window winner-mode shows annoying message "Group dumped".
It can be fixed if use "(stumpwm::dump-to-file (stumpwm:dump-group (stumpwm:current-group)) file)" instead of command "stumpwm:dump-group-to-file" in dumper.lisp

fixed fun:

(defun dump-group-to-file (&rest args)
  (declare (ignore args))
  (let* ((group-number (current-group-number)))
    (check-ids group-number *current-ids* *max-ids*)
    (stumpwm::dump-to-file (stumpwm:dump-group (stumpwm:current-group))
     (dump-name group-number (incf (gethash group-number *current-ids*))))
    (when (> (gethash group-number *current-ids*)
             (gethash group-number *max-ids*))
      (setf (gethash group-number *max-ids*)
            (gethash group-number *current-ids*)))))
@dmb2
Copy link
Contributor

dmb2 commented May 27, 2023

This is a very rare case where I don't mind using the internal symbol. Maybe someday a verbose setting will be used and we can revert this. I've updated it for now.

@dmb2 dmb2 closed this as completed May 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants