Quote:
Originally Posted by e306
Code:
multistackpopup()
{
for i:= 1 to number_of_tables
{
if actionrequired(i)
{
for j:= 1 to number_of_tables
{
//if table without action req is OVER table with action
req then move table without action req to bottom
(so that i can see the table with action req)
if (Z_index(j) > z_index(i))
and (xcoordinates(i) = xcoordinates(j))
and (ycoordinates(i) = ycoordinates(y))
and (NOT actionrequired(j)))
{movetobottomofstack(j)}
}
}
}
not an easy one. stars is already stretching the oses window manager quite a bit. popping up tables that need attention for example is somewhat rude when viewed from a window managers perspecive ..let alone stacking and tiling and whatnot of child windows around one the desktop.
"being rude" here translates to: impossible to get 100% right because (most) window managers do not support and do not want to support or encourage such advanced functionality for well thought reasons.
usual answer in a mailing list would be: if you need bells and whistels like this ..implement your own window manager. or find a way to handle it inside your programms main window. but for gods sake ..stay away from our desktop!
Last edited by mme; 10-24-2011 at 06:30 AM.
Reason: wording