Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1
xfce4-power-manager
xfce4-power-manager-workaround-xrandr-error.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xfce4-power-manager-workaround-xrandr-error.patch of Package xfce4-power-manager
--- common/xfpm-brightness.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- a/common/xfpm-brightness.c +++ b/common/xfpm-brightness.c @@ -65,10 +65,13 @@ { XRRPropertyInfo *info; gboolean ret = TRUE; + gint rc; + gdk_error_trap_push (); info = XRRQueryOutputProperty (GDK_DISPLAY (), output, brightness->priv->backlight); + rc = gdk_error_trap_pop (); - if (info == NULL) + if (info == NULL || rc != Success) { g_warning ("could not get output property"); return FALSE;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor