Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions dix/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,18 @@ dix_main(int argc, char *argv[], char *envp[])
FatalError("failed to create screen resources");
});

/* Let all screens register the necessary privates */

DIX_FOR_EACH_SCREEN({
if (!PixmapScreenInit(walkScreen))
FatalError("failed to create screen pixmap properties");
if (!dixScreenRaiseCreateResources(walkScreen))
FatalError("failed to create screen resources");
});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

theoretically it should be possible to register privates even if some objects already existing (their private areas should be resized automatically) ... but somehow it doesn't seem to work as intended.

is this also happening on 25.0 ?


/* Then use these privates to initialize root windows etc */

DIX_FOR_EACH_SCREEN({
if (!CreateGCperDepth(walkScreen))
FatalError("failed to create scratch GCs");
if (!CreateDefaultStipple(walkScreen))
Expand Down