621.1.2
|
|
|
Matthew Fuller |
6 years ago
|
 |
|
621.1.1
|
|
|
Matthew Fuller |
6 years ago
|
 |
|
621
|
|
|
Matthew Fuller |
6 years ago
|
 |
|
620
|
|
|
Matthew Fuller |
6 years ago
|
 |
|
619
|
|
|
Matthew Fuller |
6 years ago
|
 |
|
618
|
|
|
Matthew Fuller |
6 years ago
|
 |
|
617
|
|
|
Matthew Fuller |
6 years ago
|
 |
|
616
|
|
|
Matthew Fuller |
6 years ago
|
 |
|
615
|
|
|
Matthew Fuller |
6 years ago
|
 |
|
614
|
|
|
Matthew Fuller |
7 years ago
|
 |
|
613
|
|
|
Matthew Fuller |
7 years ago
|
 |
|
612
|
|
|
Matthew Fuller |
7 years ago
|
 |
|
611
|
|
|
Matthew Fuller |
7 years ago
|
 |
|
610
|
|
When we get a Map event for a window, we may be [re]drawing its name in the WorkSpaceManager map-form window on the vscreen it's on. However, if it's not currently being displayed (e.g., it's on a different workspace), the window itself won't have a vs set. This can happen in several ways, but an easy one to test is to have a window up in a workspace other than the current one, and [re]start ctwm. So if we pass the window's vs (which may be NULL) down to WMapRedrawName, and ReverseCurrentWorkspace is set, we'd try to deref through the NULL, and *boom*.
So pass the vs we know it's on (the local vs from the loop) instead. That way it gets drawn on the right WSM, and doesn't segfault along the way.
|
Matthew Fuller |
7 years ago
|
 |
|
609
|
|
|
Matthew Fuller |
7 years ago
|
 |
|
608
|
|
|
Matthew Fuller |
7 years ago
|
 |
|
607
|
|
|
Matthew Fuller |
7 years ago
|
 |
|
606
|
|
|
Matthew Fuller |
7 years ago
|
 |
|
605
|
|
|
Matthew Fuller |
7 years ago
|
 |
|
604
|
|
|
Matthew Fuller |
7 years ago
|
 |
|