Skip to content

Commit 9897804

Browse files
committed
added named desktops to prefs and lfsdesktop
1 parent 7a3f138 commit 9897804

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LFSDesktop/LFSDesktop/src/prefs.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ void setDeskNamesProp(void)
9797
std::string names=prefs.LFSTK_getString("desknames");
9898

9999
tokenstrings=LFSTK_UtilityClass::LFSTK_strTok(names,",");
100-
for(int j=0;j<tokenstrings.size();j++)
100+
for(unsigned j=0;j<tokenstrings.size();j++)
101101
{
102102
totallen+=tokenstrings.at(j).length()+1;
103103
x+=tokenstrings.at(j)+'\0';
@@ -113,7 +113,7 @@ void setDeskNamesProp(void)
113113
);
114114

115115
XSync(apc->display,false);
116-
system("xprop -root _NET_DESKTOP_NAMES");
116+
//system("xprop -root _NET_DESKTOP_NAMES");
117117
}
118118

119119
void loadPrefs(void)

0 commit comments

Comments
 (0)