Skip to content

Commit

Permalink
minor code fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KeithDHedger committed Nov 3, 2023
1 parent 4e12611 commit 01d7dcf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion XDecorations/src/xdecorations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,8 @@ int main(int argc,char* argv[])
XChangeProperty(display,rootWin,xa,XA_ATOM,32,PropModeAppend,(unsigned char *)&xa_prop,1);


XChangeProperty(display,rootWin,XInternAtom(display,"_NET_WM_NAME",False),XInternAtom(display,"UTF8_STRING",False),8,PropModeReplace,( const unsigned char*)"XDecorations",strlen("xdecorations"));
XChangeProperty(display,rootWin,XInternAtom(display,"_NET_WM_NAME",False),XInternAtom(display,"UTF8_STRING",False),8,PropModeReplace,( const unsigned char*)"XDecorations",strlen("XDecorations"));
XStoreName(display, rootWin, "XDecorations");
//fprintf(stderr,"wid=0x%x\n",rootWin);
hints.flags=2;
hints.decorations=0;
Expand Down

0 comments on commit 01d7dcf

Please sign in to comment.