Skip to content

Commit

Permalink
fix animation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cylgom committed Sep 21, 2019
1 parent f2050c9 commit 4ba0725
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,26 @@ void desktop_crawl(

void desktop_load(struct desktop* target)
{
// we don't care about desktop environments presence
// because the fallback shell is always available
// so we just dismiss any "throw" for now
int err = 0;

desktop_crawl(target, config.waylandsessions, DS_WAYLAND);

if (dgn_catch())
{
++err;
dgn_reset();
}

desktop_crawl(target, config.xsessions, DS_XORG);

if (dgn_catch())
{
++err;
dgn_reset();
}
}

static char* hostname_backup = NULL;
Expand Down

0 comments on commit 4ba0725

Please sign in to comment.