Skip to content

Commit e498c43

Browse files
authored
internal: Reset hasATarget when issuing wallpaper command (#81)
Fixes issue #74 Co-authored-by: Karoline <[email protected]>
1 parent 9261356 commit e498c43

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Hyprpaper.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,8 @@ void CHyprpaper::clearWallpaperFromMonitor(const std::string& monname) {
270270
if (it != m_mMonitorActiveWallpaperTargets.end())
271271
m_mMonitorActiveWallpaperTargets.erase(it);
272272

273+
PMONITOR->hasATarget = true;
274+
273275
if (PMONITOR->pCurrentLayerSurface) {
274276

275277
PMONITOR->pCurrentLayerSurface = nullptr;

0 commit comments

Comments
 (0)