gtk-window-decorator: decorator.c : a small typo error

Bug #1077823 reported by Micheal Hsu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Fix Released
Low
Micheal Hsu
compiz (Ubuntu)
Fix Released
Low
Micheal Hsu

Bug Description

in gtk-window-decorator: decorator.c : update_window_decoration_icon (WnckWindow *win)

we should use 'style_window_rgb' instead of 'style_window_rgba'when in reparenting mode:
////////////////////////////
/* 32 bit pixmap on pixmap mode, 24 for reparenting */
 if (d->frame_window)
     d->icon_pixmap = pixmap_new_from_pixbuf (d->icon_pixbuf,
           d->frame->style_window_rgba);
 else
     d->icon_pixmap = pixmap_new_from_pixbuf (d->icon_pixbuf,
           d->frame->style_window_rgb);
//////////////////////////////

there isn't any bugs related to this. but i think it should be corrected.

Related branches

Changed in compiz:
assignee: nobody → Hu Kang (stevenhooke11)
milestone: none → 0.9.9.0
status: New → In Progress
Changed in compiz:
status: In Progress → Fix Committed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Fix committed into lp:compiz at revision 3464

Changed in compiz:
importance: Undecided → Low
Changed in compiz (Ubuntu):
assignee: nobody → Hu Kang (stevenhooke11)
importance: Undecided → Low
status: New → Fix Committed
Changed in compiz:
status: Fix Committed → Fix Released
Changed in compiz (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.