removed win_state functions, not used

This commit is contained in:
Anselm R. Garbe 2006-07-10 16:14:18 +02:00
parent e716fb9955
commit 4628fa8259
2 changed files with 0 additions and 24 deletions

View File

@ -104,29 +104,6 @@ win_proto(Window w)
return protos;
}
int
win_state(Window w)
{
/* state hints */
XWMHints *hints = XGetWMHints(blz.dpy, w);
int res;
long *prop = 0;
if(win_property(w, wm_atom[WMState], wm_atom[WMState], 2L,
((unsigned char **) &prop)) > 0)
{
res = (int) *prop;
free((long *) prop);
} else {
res = hints ? hints->initial_state : NormalState;
}
if(hints) {
free(hints);
}
return res;
}
static void
init_atoms()
{

View File

@ -326,5 +326,4 @@ unsigned int newcolw_of_view(View *v);
/* wm.c */
int win_proto(Window w);
int win_state(Window w);
int wmii_error_handler(Display *dpy, XErrorEvent *error);