Skip to content

Fixed window attach at the end for multi monitor setup #207

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Rimsoo
Copy link

@Rimsoo Rimsoo commented Mar 21, 2025

Not resetting c->next with multi monitors creates an endless loop and crashes.

Step to reproduce:

  1. Set config static const int new_window_attach_on_end = 1;
  2. Open one client in each monitor
  3. Move one of the clients to the other monitor
  4. Move back a client to the first window
    -> Start crashing => ctrl+alt+f3 to kill chadwm

Fix:

Reset the client chained list:

c->next = NULL

Not resetting c->next with multi monitors creates an endless loop and crashes.

Step to reproduce :
- Open one client in each monitor
- Move one of the clients to the other monitor
- Move back a client to the first window
-> Start crashing => ctrl+alt+f3 to kill chadwm
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

Successfully merging this pull request may close these issues.

1 participant