From: Dima Ryazanov Date: Thu, 26 Jul 2012 08:39:48 +0000 (-0700) Subject: Don't skip the first directory entry when reading cursors. X-Git-Tag: 0.99.0~80 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=31c0258ff145c4a6524d3dd369dbf4643a5dc4b7;p=platform%2Fupstream%2Fwayland.git Don't skip the first directory entry when reading cursors. I end up missing the "bottom_right_corner" cursor. --- diff --git a/cursor/xcursor.c b/cursor/xcursor.c index 0fe0440..f08225c 100644 --- a/cursor/xcursor.c +++ b/cursor/xcursor.c @@ -870,7 +870,6 @@ load_all_cursors_from_dir(const char *path, int size, if (!dir) return; - ent = readdir(dir); for(ent = readdir(dir); ent; ent = readdir(dir)) { #ifdef _DIRENT_HAVE_D_TYPE if (ent->d_type != DT_UNKNOWN &&