/* This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#ifndef _WINDOWLIST_H
#define _WINDOWLIST_H


typedef struct {
  unsigned int no_geometry : 1;
  unsigned int no_mini_icon : 1;
  unsigned int use_icon_name : 1;
  unsigned int current_desk : 1;
  unsigned int one_desk : 1;
  unsigned int omit_iconified : 1;
  unsigned int omit_sticky : 1;
  unsigned int omit_normal : 1;
  unsigned int sorting : 2;
#define NO_DESK_SORT    1
#define SORT_ALPHABETIC 2
  char *pattern;
  int desk;
  char *function;
  char *title;
  char *right_title;
  char *title_icon;
} window_list_options;


typedef struct {
  unsigned long w;
  char *name;
  char *icon_name;
  char *mini_icon;
  int desk;
  int layer;
  Bool iconified;
  Bool sticky;
  Bool skip;
  int x, y, width, height;
} window_list_entry;


window_list_entry *lookup_window_list_entry (unsigned long w);
void window_list (int argc, char **argv);
void construct_window_list (void);


#endif /* _WINDOWLIST_H */


syntax highlighted by Code2HTML, v. 0.9.1