Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
M
mutter
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 515
    • Issues 515
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 99
    • Merge Requests 99
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Packages
    • Packages
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • mutter
  • Merge Requests
  • !762

Open
Opened Aug 29, 2019 by Daniel van Vugt@vanvugt
  • Report abuse
Report abuse

renderer-native: Check that frame_info != NULL

A NULL value could be encountered when the monitor wakes from sleep as pending_frame_infos might have been drained already during sleep via dummy_power_save_page_flip.

If pending_frame_infos is empty then we don't care. It was only being filled in as an optional courtesy. When not available (like during power saving) just skip it, same as before commit e9e4b2b7.

First reported in #735 (closed)

Edited Aug 29, 2019 by Daniel van Vugt

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch "https://gitlab.gnome.org/vanvugt/mutter.git" "handle-null-frame-info"
git checkout -b "vanvugt/mutter-handle-null-frame-info" FETCH_HEAD

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout "origin/master"
git merge --no-ff "vanvugt/mutter-handle-null-frame-info"

Step 4. Push the result of the merge to GitLab

git push origin "master"

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

  • Discussion 7
  • Commits 1
  • Pipelines 8
  • Changes 1
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: GNOME/mutter!762