| 308 | } |
| 309 | |
| 310 | void WayfireAutohidingWindow::decrease_autohide() |
| 311 | { |
| 312 | autohide_counter = std::max(autohide_counter - 1, 0); |
| 313 | if (!should_autohide()) |
| 314 | { |
| 315 | schedule_show(0); |
| 316 | } |
| 317 | } |
| 318 | |
| 319 | bool WayfireAutohidingWindow::should_autohide() const |
| 320 | { |
no outgoing calls
no test coverage detected