Skip to content

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

Open
Rimsoo wants to merge 1 commit intosiduck:mainfrom
Rimsoo:patch-1
Open

Fixed window attach at the end for multi monitor setup#207
Rimsoo wants to merge 1 commit intosiduck:mainfrom
Rimsoo:patch-1

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