X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Futil%2Fwindow.h;h=47798cb8a5a1e788e2404e455e1ec2671ac517e8;hb=35e206acc0a7b9dca7611fe4a7e17c7acc381ad0;hp=8f3bba3b2e5cd210bc988f3560e799837cb089f2;hpb=280d1d6e2e2cf7eed76e1def50a4b9547094d185;p=chaz%2Ftint2 diff --git a/src/util/window.h b/src/util/window.h index 8f3bba3..47798cb 100644 --- a/src/util/window.h +++ b/src/util/window.h @@ -1,6 +1,6 @@ /************************************************************************** -* window : -* - +* window : +* - * * Check COPYING file for Copyright * @@ -12,23 +12,19 @@ #include -typedef struct window_global -{ - Window main_win; -} window_global; - -window_global window; - void set_active (Window win); void set_desktop (int desktop); void set_close (Window win); int server_get_current_desktop (); int server_get_number_of_desktop (); int window_is_iconified (Window win); +int window_is_urgent (Window win); int window_is_hidden (Window win); int window_is_active (Window win); +int window_is_skip_taskbar (Window win); int get_icon_count (long *data, int num); long *get_best_icon (long *data, int icon_count, int num, int *iw, int *ih, int best_icon_size); +void window_maximize_restore (Window win); void window_toggle_shade (Window win); int window_get_desktop (Window win); void windows_set_desktop (Window win, int desktop);