Tentative to sort tasks on taskbar (disabled) - issue 478

git-svn-id: http://tint2.googlecode.com/svn/trunk@738 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
o9000
2015-03-22 16:07:04 +00:00
committed by mrovi9000@gmail.com
parent 5faf063f96
commit e113080a0e
7 changed files with 86 additions and 18 deletions

View File

@@ -144,6 +144,11 @@ int window_get_monitor (Window win)
else return i;
}
void window_get_position (Window win, int *x, int *y)
{
Window src;
XTranslateCoordinates(server.dsp, win, server.root_win, 0, 0, x, y, &src);
}
int window_is_iconified (Window win)
{

View File

@@ -18,6 +18,7 @@ void set_desktop (int desktop);
void set_close (Window win);
int server_get_current_desktop ();
GSList *server_get_name_of_desktop ();
void window_get_position (Window win, int *x, int *y);
int window_is_iconified (Window win);
int window_is_urgent (Window win);
int window_is_hidden (Window win);