()
| 1182 | } |
| 1183 | |
| 1184 | _queueUpdateStates() { |
| 1185 | if (this._updateStateId > 0) |
| 1186 | return; |
| 1187 | |
| 1188 | const laters = global.compositor.get_laters(); |
| 1189 | this._updateStateId = laters.add( |
| 1190 | Meta.LaterType.BEFORE_REDRAW, () => { |
| 1191 | this._updateStates(); |
| 1192 | return GLib.SOURCE_REMOVE; |
| 1193 | }); |
| 1194 | } |
| 1195 | |
| 1196 | _unqueueUpdateStates() { |
| 1197 | if (this._updateStateId) { |
no test coverage detected