Changeset View
Changeset View
Standalone View
Standalone View
rules.cpp
Show First 20 Lines • Show All 932 Lines • ▼ Show 20 Line(s) | 904 | { | |||
---|---|---|---|---|---|
933 | updateColorScheme(); | 933 | updateColorScheme(); | ||
934 | // FSP | 934 | // FSP | ||
935 | // AcceptFocus : | 935 | // AcceptFocus : | ||
936 | if (workspace()->mostRecentlyActivatedClient() == this | 936 | if (workspace()->mostRecentlyActivatedClient() == this | ||
937 | && !client_rules->checkAcceptFocus(true)) | 937 | && !client_rules->checkAcceptFocus(true)) | ||
938 | workspace()->activateNextClient(this); | 938 | workspace()->activateNextClient(this); | ||
939 | // Closeable | 939 | // Closeable | ||
940 | QSize s = adjustedSize(); | 940 | QSize s = adjustedSize(); | ||
941 | if (s != size()) | 941 | if (s != size() && s.isValid()) | ||
942 | resizeWithChecks(s); | 942 | resizeWithChecks(s); | ||
943 | // Autogrouping : Only checked on window manage | 943 | // Autogrouping : Only checked on window manage | ||
944 | // AutogroupInForeground : Only checked on window manage | 944 | // AutogroupInForeground : Only checked on window manage | ||
945 | // AutogroupById : Only checked on window manage | 945 | // AutogroupById : Only checked on window manage | ||
946 | // StrictGeometry | 946 | // StrictGeometry | ||
947 | setShortcut(rules()->checkShortcut(shortcut().toString())); | 947 | setShortcut(rules()->checkShortcut(shortcut().toString())); | ||
948 | // see also Client::setActive() | 948 | // see also Client::setActive() | ||
949 | if (isActive()) { | 949 | if (isActive()) { | ||
▲ Show 20 Lines • Show All 232 Lines • Show Last 20 Lines |