mirror of
https://github.com/hyprwm/hyprpaper.git
synced 2024-11-16 22:25:59 +01:00
internal: Reset hasATarget when issuing wallpaper command (#81)
Fixes issue #74 Co-authored-by: Karoline <boothwhack@users.noreply.github.com>
This commit is contained in:
parent
9261356bd7
commit
e498c438b1
1 changed files with 2 additions and 0 deletions
|
@ -270,6 +270,8 @@ void CHyprpaper::clearWallpaperFromMonitor(const std::string& monname) {
|
|||
if (it != m_mMonitorActiveWallpaperTargets.end())
|
||||
m_mMonitorActiveWallpaperTargets.erase(it);
|
||||
|
||||
PMONITOR->hasATarget = true;
|
||||
|
||||
if (PMONITOR->pCurrentLayerSurface) {
|
||||
|
||||
PMONITOR->pCurrentLayerSurface = nullptr;
|
||||
|
|
Loading…
Reference in a new issue