Changeset View
Changeset View
Standalone View
Standalone View
placement.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | |||||
42 | public: | 42 | public: | ||
43 | virtual ~Placement(); | 43 | virtual ~Placement(); | ||
44 | 44 | | |||
45 | /** | 45 | /** | ||
46 | * Placement policies. How workspace decides the way windows get positioned | 46 | * Placement policies. How workspace decides the way windows get positioned | ||
47 | * on the screen. The better the policy, the heavier the resource use. | 47 | * on the screen. The better the policy, the heavier the resource use. | ||
48 | * Normally you don't have to worry. What the WM adds to the startup time | 48 | * Normally you don't have to worry. What the WM adds to the startup time | ||
49 | * is nil compared to the creation of the window itself in the memory | 49 | * is nil compared to the creation of the window itself in the memory | ||
50 | */ | 50 | **/ | ||
51 | enum Policy { | 51 | enum Policy { | ||
52 | NoPlacement, // not really a placement | 52 | NoPlacement, // not really a placement | ||
53 | Default, // special, means to use the global default | 53 | Default, // special, means to use the global default | ||
54 | Unknown, // special, means the function should use its default | 54 | Unknown, // special, means the function should use its default | ||
55 | Random, | 55 | Random, | ||
56 | Smart, | 56 | Smart, | ||
57 | Cascade, | 57 | Cascade, | ||
58 | Centered, | 58 | Centered, | ||
▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines |