X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Futil%2Fwindow.h;h=db6d3a99a7ab281f85e827c22195e3d730f07e15;hb=739bae01a6c3a999984347afb33d5b336556a4b9;hp=5125fe2c36cba32cfb4abc336b898abf672bc544;hpb=0357305cec0f78ba4d4717467025ead6be25ce0c;p=chaz%2Ftint2 diff --git a/src/util/window.h b/src/util/window.h index 5125fe2..db6d3a9 100644 --- a/src/util/window.h +++ b/src/util/window.h @@ -18,10 +18,13 @@ 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 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); +int window_is_skip_taskbar (Window win); +int get_icon_count (gulong *data, int num); +gulong *get_best_icon (gulong *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); @@ -29,6 +32,7 @@ int window_get_monitor (Window win); Window window_get_active (); void get_text_size(PangoFontDescription *font, int *height_ink, int *height, int panel_height, char *text, int len); +void get_text_size2(PangoFontDescription *font, int *height_ink, int *height, int *width, int panel_height, int panel_with, char *text, int len); #endif