Skip to content

fix(wallpaper): add default member initializers to config structs#1092

Open
deepin-wm wants to merge 1 commit into
linuxdeepin:masterfrom
deepin-wm:fix/wallpaper-default-initializers
Open

fix(wallpaper): add default member initializers to config structs#1092
deepin-wm wants to merge 1 commit into
linuxdeepin:masterfrom
deepin-wm:fix/wallpaper-default-initializers

Conversation

@deepin-wm

Copy link
Copy Markdown
Contributor

WallpaperWorkspaceConfig and WallpaperOutputConfig had uninitialized members (workspaceId, desktopWallpapertype, enable, etc.) which led to undefined behavior when default-constructed.

Extracted from #1046. Ref: WM-29

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Sorry @deepin-wm, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: deepin-wm

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

WallpaperWorkspaceConfig and WallpaperOutputConfig had uninitialized
members (workspaceId, desktopWallpapertype, enable, etc.) which led to
undefined behavior when default-constructed.

WM-29
@deepin-wm deepin-wm force-pushed the fix/wallpaper-default-initializers branch from bd70edd to aa7bbb0 Compare July 2, 2026 11:25
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.

2 participants