| 1291 | } |
| 1292 | |
| 1293 | static inline bool IsVitalWindow(const Window *w) |
| 1294 | { |
| 1295 | switch (w->window_class) { |
| 1296 | case WC_MAIN_TOOLBAR: |
| 1297 | case WC_STATUS_BAR: |
| 1298 | case WC_NEWS_WINDOW: |
| 1299 | case WC_SEND_NETWORK_MSG: |
| 1300 | return true; |
| 1301 | |
| 1302 | default: |
| 1303 | return false; |
| 1304 | } |
| 1305 | } |
| 1306 | |
| 1307 | /** |
| 1308 | * Get the z-priority for a given window. This is used in comparison with other z-priority values; |
no outgoing calls
no test coverage detected