diff options
Diffstat (limited to '')
| -rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -63,7 +63,7 @@ scan() | |||
| 63 | } | 63 | } |
| 64 | 64 | ||
| 65 | static int | 65 | static int |
| 66 | win_property(Window w, Atom a, Atom t, long l, unsigned char **prop) | 66 | winprop(Window w, Atom a, Atom t, long l, unsigned char **prop) |
| 67 | { | 67 | { |
| 68 | int status, format; | 68 | int status, format; |
| 69 | unsigned long res, extra; | 69 | unsigned long res, extra; |
| @@ -116,7 +116,7 @@ getproto(Window w) | |||
| 116 | long res; | 116 | long res; |
| 117 | Atom *protocols; | 117 | Atom *protocols; |
| 118 | 118 | ||
| 119 | res = win_property(w, wmatom[WMProtocols], XA_ATOM, 20L, | 119 | res = winprop(w, wmatom[WMProtocols], XA_ATOM, 20L, |
| 120 | ((unsigned char **)&protocols)); | 120 | ((unsigned char **)&protocols)); |
| 121 | if(res <= 0) { | 121 | if(res <= 0) { |
| 122 | return protos; | 122 | return protos; |
