Hi Carlos

Thanks for a great new feature. I will try to use it regularly over the next 
few days for testing.

+       tmp = wwin;
+       /* TODO: Is the focused window always the last in the list? */
+       while (tmp->prev) {
+               /* ignore windows in other workspaces */
+               if (tmp->prev->frame->workspace != 
wwin->screen_ptr->current_workspace) {
+                       tmp = tmp->prev;
+                       continue;
+               }
+               tmp = tmp->prev;

Perhaps instead of iterating the window list yourself, you could use 
makeWindowListArray in switchpanel.c which will populate an array of windows 
for you without worrying about the question in your TODO?

BTW, has anybody tested this patch, or my Left/Right Maximize patch on a 
multi-head setup. Do these patches behave as expected on a Xinerama setup?

I don't have a multi-head setup myself, is it possible to duplicate with Xnest? 
How does one go about testing this?

Regards,

Johann


--
To unsubscribe, send mail to [email protected].

Reply via email to