|
Lines 25-33
Link Here
|
| 25 |
=================================================================== |
25 |
=================================================================== |
| 26 |
--- xorg-server-21.1.0.orig/randr/randr.c |
26 |
--- xorg-server-21.1.0.orig/randr/randr.c |
| 27 |
+++ xorg-server-21.1.0/randr/randr.c |
27 |
+++ xorg-server-21.1.0/randr/randr.c |
| 28 |
@@ -651,7 +651,9 @@ RRTellChanged(ScreenPtr pScreen) |
28 |
@@ -650,8 +650,13 @@ RRTellChanged(ScreenPtr pScreen) |
|
|
29 |
pScrPriv->crtcs[i]->changed = FALSE; |
| 29 |
|
30 |
|
| 30 |
xorg_list_for_each_entry(iter, &primary->secondary_list, secondary_head) { |
31 |
xorg_list_for_each_entry(iter, &primary->secondary_list, secondary_head) { |
|
|
32 |
+ if (!dixPrivateKeyRegistered(rrPrivKey)) { |
| 33 |
+ break; |
| 34 |
+ } |
| 31 |
pSecondaryScrPriv = rrGetScrPriv(iter); |
35 |
pSecondaryScrPriv = rrGetScrPriv(iter); |
| 32 |
- pSecondaryScrPriv->provider->changed = FALSE; |
36 |
- pSecondaryScrPriv->provider->changed = FALSE; |
| 33 |
+ if (pSecondaryScrPriv->provider) { |
37 |
+ if (pSecondaryScrPriv->provider) { |