Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
xfce4-session
xfce4-session-simple-splash-remove-shadows.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xfce4-session-simple-splash-remove-shadows.patch of Package xfce4-session
diff -urNp xfce4-session-4.8.0.orig/engines/simple/simple.c xfce4-session-4.8.0/engines/simple/simple.c --- xfce4-session-4.8.0.orig/engines/simple/simple.c 2011-01-16 17:38:20.000000000 +0100 +++ xfce4-session-4.8.0/engines/simple/simple.c 2011-02-02 18:44:31.000000000 +0100 @@ -213,7 +213,6 @@ static void simple_next (XfsmSplashEngine *engine, const gchar *text) { Simple *simple = (Simple *) engine->user_data; - GdkColor shcolor; gint tw, th, tx, ty; pango_layout_set_text (simple->layout, text, -1); @@ -231,15 +230,6 @@ simple_next (XfsmSplashEngine *engine, c gdk_gc_set_clip_rectangle (simple->gc, &simple->textbox); - /* draw shadow */ - shcolor.red = (simple->fgcolor.red + simple->bgcolor.red) / 2; - shcolor.green = (simple->fgcolor.green + simple->bgcolor.green) / 2; - shcolor.blue = (simple->fgcolor.blue + simple->bgcolor.blue) / 2; - shcolor.red = (shcolor.red + shcolor.green + shcolor.blue) / 3; - shcolor.green = shcolor.red; - shcolor.blue = shcolor.red; - - gdk_gc_set_rgb_fg_color (simple->gc, &shcolor); gdk_draw_layout (simple->pixmap, simple->gc, tx + 2, ty + 2, simple->layout);
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