Changeset View
Changeset View
Standalone View
Standalone View
manage.cpp
Show First 20 Lines • Show All 126 Lines • ▼ Show 20 Line(s) | 50 | { | |||
---|---|---|---|---|---|
127 | getSyncCounter(); | 127 | getSyncCounter(); | ||
128 | // First only read the caption text, so that setupWindowRules() can use it for matching, | 128 | // First only read the caption text, so that setupWindowRules() can use it for matching, | ||
129 | // and only then really set the caption using setCaption(), which checks for duplicates etc. | 129 | // and only then really set the caption using setCaption(), which checks for duplicates etc. | ||
130 | // and also relies on rules already existing | 130 | // and also relies on rules already existing | ||
131 | cap_normal = readName(); | 131 | cap_normal = readName(); | ||
132 | setupWindowRules(false); | 132 | setupWindowRules(false); | ||
133 | setCaption(cap_normal, true); | 133 | setCaption(cap_normal, true); | ||
134 | 134 | | |||
135 | connect(this, &Client::windowClassChanged, this, &Client::evaluateWindowRules); | ||||
136 | | ||||
135 | if (Xcb::Extensions::self()->isShapeAvailable()) | 137 | if (Xcb::Extensions::self()->isShapeAvailable()) | ||
136 | xcb_shape_select_input(connection(), window(), true); | 138 | xcb_shape_select_input(connection(), window(), true); | ||
137 | detectShape(window()); | 139 | detectShape(window()); | ||
138 | readGtkFrameExtents(gtkFrameExtentsCookie); | 140 | readGtkFrameExtents(gtkFrameExtentsCookie); | ||
139 | detectNoBorder(); | 141 | detectNoBorder(); | ||
140 | fetchIconicName(); | 142 | fetchIconicName(); | ||
141 | 143 | | |||
142 | // Needs to be done before readTransient() because of reading the group | 144 | // Needs to be done before readTransient() because of reading the group | ||
▲ Show 20 Lines • Show All 650 Lines • Show Last 20 Lines |