LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File xfce4-power-manager-disable-battery-button.patch of Package xfce4-power-manager (Project home:cleberps:xfce)

--- xfce4-power-manager-1.0.11.orig/src/xfpm-button.c	2016-01-03 16:23:45.000000000 -0200
+++ xfce4-power-manager-1.0.11/src/xfpm-button.c	2016-01-03 16:24:03.000000000 -0200
@@ -211,8 +211,6 @@
 	
     if (xfpm_button_xevent_key (button, XF86XK_MonBrightnessDown, BUTTON_MON_BRIGHTNESS_DOWN) )
 	button->priv->mapped_buttons |= BRIGHTNESS_KEY_DOWN;
-	
-    xfpm_button_xevent_key (button, XF86XK_Battery, BUTTON_BATTERY);
 
     gdk_window_add_filter (button->priv->window, 
 			   xfpm_button_filter_x_events, button);