Add new cycling option
commitb59575e709e37670735c2a0cff84b2ccb1d56b20
authorTamas TEVESZ <ice@extreme.hu>
Fri, 2 Apr 2010 06:38:08 +0000 (2 08:38 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 8 Apr 2010 13:53:50 +0000 (8 15:53 +0200)
tree436bc44581db3394c388b0b5bfe8cdd1eca8f3ee
parent3f8248f5343939b8c44e5cf9bb166c41df010fa6
Add new cycling option

When using Xinerama, make it possible only to cycle between those
windows that are on the currently active head - AFAICT this means
windows that have the majority of their area on the same head as
the pointer.

Patch complete with WPrefs integration, alas this being quite
unusable - for a lack of a better idea, I tucked the option on the
expert panel, making the item list too tall - making it scrollable
would be a nice addition.

The default for the new option (CycleActiveHeadOnly) should be NO,
that is, no change in default behaviour.
WPrefs.app/Expert.c
src/WindowMaker.h
src/defaults.c
src/switchpanel.c