Skip to content

Conversation

@metux
Copy link
Contributor

@metux metux commented Nov 10, 2025

These aren't used by any external drivers, so no need to keep them public.

Signed-off-by: Enrico Weigelt, metux IT consult [email protected]

These aren't used by any external drivers, so no need to keep them public.

Signed-off-by: Enrico Weigelt, metux IT consult <[email protected]>

extern int screenIsSaved;

static inline bool HasSaverWindow(ScreenPtr pScreen) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there any reason to not keep this a macro?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

type safety ?

metux added a commit that referenced this pull request Nov 19, 2025
metux added a commit that referenced this pull request Nov 19, 2025
metux added a commit that referenced this pull request Nov 19, 2025
metux added a commit that referenced this pull request Nov 19, 2025
metux added a commit that referenced this pull request Nov 19, 2025
metux added a commit that referenced this pull request Nov 20, 2025
metux added a commit that referenced this pull request Nov 20, 2025
metux added a commit that referenced this pull request Nov 20, 2025
metux added a commit that referenced this pull request Nov 20, 2025
metux added a commit that referenced this pull request Nov 20, 2025
metux added a commit that referenced this pull request Nov 20, 2025
metux added a commit that referenced this pull request Nov 20, 2025
metux added a commit that referenced this pull request Nov 20, 2025
metux added a commit that referenced this pull request Nov 20, 2025
@metux metux merged commit 44077ee into master Nov 20, 2025
@metux metux deleted the pr/dix-unexport-screenissaved-and-hassaverwindow-_2025-11-10_14-01-32 branch November 20, 2025 16:52
@stefan11111
Copy link
Contributor

@metux Btw, what's with all the Null* defines? (NullWindow, etc).
Why are we not just using NULL?

metux added a commit that referenced this pull request Nov 20, 2025
@metux
Copy link
Contributor Author

metux commented Nov 21, 2025

@metux Btw, what's with all the Null* defines? (NullWindow, etc). Why are we not just using NULL?

Perhaps somebody felt it was better to have "typed" NULL values. Personally, I don't see any actual need for them.

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.

3 participants