mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05:00
Delay default stage creation
The default stage creation should be delayed as much as possible, ideally at the end of the init() process.
This commit is contained in:
parent
e337bd2370
commit
76f4696e43
@ -164,6 +164,9 @@ batch_and_call (CoglJournalEntry *entries,
|
|||||||
int batch_len = 1;
|
int batch_len = 1;
|
||||||
CoglJournalEntry *batch_start = entries;
|
CoglJournalEntry *batch_start = entries;
|
||||||
|
|
||||||
|
if (n_entries < 1)
|
||||||
|
return;
|
||||||
|
|
||||||
for (i = 1; i < n_entries; i++)
|
for (i = 1; i < n_entries; i++)
|
||||||
{
|
{
|
||||||
CoglJournalEntry *entry0 = &entries[i - 1];
|
CoglJournalEntry *entry0 = &entries[i - 1];
|
||||||
|
Loading…
Reference in New Issue
Block a user