Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
pengwinsurf
SDL
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
SDL
src
power
linux
on
SDL2
User selector
All users
Datepicker
All time
Commit history
Commits on Jan 1, 2025
Updated copyright for 2025
slouken
committed
2b5b8fd
View commit details
Copy full SHA for 2b5b8fd
View code at this point
Browse repository at this point
Commits on Jan 22, 2024
linux: Handle upower's UP_DEVICE_STATE_PENDING_CHARGE, PENDING_DISCHARGE
Show description for 0f9422a
smcv
authored and
slouken
committed
0f9422a
View commit details
Copy full SHA for 0f9422a
View code at this point
Browse repository at this point
Commits on Jan 1, 2024
Updated copyright for 2024
slouken
committed
0fc3574
View commit details
Copy full SHA for 0fc3574
View code at this point
Browse repository at this point
Commits on Nov 17, 2023
cmake: fix uses of undefined macro identifiers (-Wundef)
madebr
authored
d81d986
View commit details
Copy full SHA for d81d986
View code at this point
Browse repository at this point
Commits on Nov 10, 2023
[SDL2] pointer boolean (#8523)
1bsyl
authored
a14b948
View commit details
Copy full SHA for a14b948
View code at this point
Browse repository at this point
Commits on May 23, 2023
Updated source to match SDL function prototype style
slouken
committed
3f1fd5a
View commit details
Copy full SHA for 3f1fd5a
View code at this point
Browse repository at this point
Commits on May 18, 2023
power: On Linux, compare status strings as case-insensitive.
Show description for df9d0fb
icculus
committed
df9d0fb
View commit details
Copy full SHA for df9d0fb
View code at this point
Browse repository at this point
Commits on Jan 9, 2023
Updated copyright for 2023
slouken
committed
0479df5
View commit details
Copy full SHA for 0479df5
View code at this point
Browse repository at this point
Commits on Dec 1, 2022
Clang-Tidy fixes (#6725)
Show description for d0bbfdb
FtZPetruska
authored and
slouken
committed
d0bbfdb
View commit details
Copy full SHA for d0bbfdb
View code at this point
Browse repository at this point
Commits on Nov 30, 2022
Update for SDL3 coding style (#6717)
Show description for b8d85c6
slouken
committed
b8d85c6
View commit details
Copy full SHA for b8d85c6
View code at this point
Browse repository at this point
Commits on Nov 28, 2022
Cleanup add brace (#6545)
Show description for fb0ce37
1bsyl
authored and
slouken
committed
fb0ce37
View commit details
Copy full SHA for fb0ce37
View code at this point
Browse repository at this point
Commits on Nov 16, 2022
Remove un-needed check for NULL pointer. They were previously checked just before.
1bsyl
committed
1d7966d
View commit details
Copy full SHA for 1d7966d
View code at this point
Browse repository at this point
Commits on Feb 4, 2022
Don't fail to get battery status if the upower refresh call fails
slouken
committed
5c4fff7
View commit details
Copy full SHA for 5c4fff7
View code at this point
Browse repository at this point
Commits on Feb 1, 2022
Fixed D-Bus battery refresh call
slouken
committed
03c4405
View commit details
Copy full SHA for 03c4405
View code at this point
Browse repository at this point
Refresh the battery state before we query it on Linux
slouken
committed
ec8e310
View commit details
Copy full SHA for ec8e310
View code at this point
Browse repository at this point
Commits on Jan 3, 2022
Updated copyright for 2022
slouken
committed
120c76c
View commit details
Copy full SHA for 120c76c
View code at this point
Browse repository at this point
Commits on Nov 22, 2021
use SDL's functions version inplace of libc version
1bsyl
authored and
slouken
committed
d31251b
View commit details
Copy full SHA for d31251b
View code at this point
Browse repository at this point
Commits on Sep 22, 2021
Fixed some accidental uses of external C runtime functions
slouken
committed
345c161
View commit details
Copy full SHA for 345c161
View code at this point
Browse repository at this point
Commits on Sep 8, 2021
Make sure SDL file descriptors don't leak into child processes
slouken
committed
bf97c5a
View commit details
Copy full SHA for bf97c5a
View code at this point
Browse repository at this point
Commits on Jan 2, 2021
Updated copyright for 2021
slouken
committed
9130f7c
View commit details
Copy full SHA for 9130f7c
View code at this point
Browse repository at this point
Commits on Jan 17, 2020
Updated copyright date for 2020
slouken
committed
a8780c6
View commit details
Copy full SHA for a8780c6
View code at this point
Browse repository at this point
Commits on Dec 30, 2019
Fixed bug 4920 - Wider support for seconds of battery life left on Linux platforms using sys interface
Show description for 58a11d3
slouken
committed
58a11d3
View commit details
Copy full SHA for 58a11d3
View code at this point
Browse repository at this point
Commits on Oct 30, 2019
SDL_syspower.c: remove redundant expression
1bsyl
committed
25d53a4
View commit details
Copy full SHA for 25d53a4
View code at this point
Browse repository at this point
SDL_syspower: remove dead store warning
Show description for ff0d924
1bsyl
committed
ff0d924
View commit details
Copy full SHA for ff0d924
View code at this point
Browse repository at this point
Commits on Jan 5, 2019
Updated copyright for 2019
slouken
committed
5e13087
View commit details
Copy full SHA for 5e13087
View code at this point
Browse repository at this point
Commits on Apr 24, 2018
Handle NULL return from SDL_DBus_GetContext()
slouken
committed
a9ae1b5
View commit details
Copy full SHA for a9ae1b5
View code at this point
Browse repository at this point
Commits on Jan 3, 2018
Updated copyright for 2018
slouken
committed
e3cc5b2
View commit details
Copy full SHA for e3cc5b2
View code at this point
Browse repository at this point
Commits on Jul 3, 2017
power: whoops, that should be "==" not "!=".
icculus
committed
b36755a
View commit details
Copy full SHA for b36755a
View code at this point
Browse repository at this point
power: Linux /sys/class testing should skip "device" scopes.
Show description for c27dc51
icculus
committed
c27dc51
View commit details
Copy full SHA for c27dc51
View code at this point
Browse repository at this point
Commits on May 28, 2017
power: Add Linux org.freedesktop.UPower D-Bus implementation.
Show description for 643f1cb
icculus
committed
643f1cb
View commit details
Copy full SHA for 643f1cb
View code at this point
Browse repository at this point
Commits on Jan 2, 2017
Updated copyright for 2017
slouken
committed
45b774e
View commit details
Copy full SHA for 45b774e
View code at this point
Browse repository at this point
Commits on Nov 14, 2016
Patch from Sylvain to fix clang warnings
slouken
committed
57d01d7
View commit details
Copy full SHA for 57d01d7
View code at this point
Browse repository at this point
Commits on Jan 2, 2016
Updated copyright to 2016
slouken
committed
42065e7
View commit details
Copy full SHA for 42065e7
View code at this point
Browse repository at this point
Commits on Jun 21, 2015
Fixed crash if initialization of EGL failed but was tried again later.
Show description for 0e45984
philippwiesemann
committed
0e45984
View commit details
Copy full SHA for 0e45984
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.