Skip to content

Commit

Permalink
Merge pull request sargon#19 from osandov/master
Browse files Browse the repository at this point in the history
A couple of fixes
  • Loading branch information
sargon committed Nov 26, 2014
2 parents 377fac4 + 5d87755 commit 57475e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
Makefile.config
config.h
*.o
*.dep
trayer
4 changes: 2 additions & 2 deletions misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ get_net_wm_state(Window win, net_wm_state *nws)


ENTER;
bzero(nws, sizeof(nws));
memset(nws, 0, sizeof(*nws));
if (!(state = get_xaproperty(win, a_NET_WM_STATE, XA_ATOM, &num3)))
RET();

Expand Down Expand Up @@ -442,7 +442,7 @@ get_net_wm_window_type(Window win, net_wm_window_type *nwwt)


ENTER;
bzero(nwwt, sizeof(nwwt));
memset(nwwt, 0, sizeof(*nwwt));
if (!(state = get_xaproperty(win, a_NET_WM_WINDOW_TYPE, XA_ATOM, &num3)))
RET();

Expand Down

0 comments on commit 57475e2

Please sign in to comment.