metacity: Split highlight into highlight_focused and highlight_unfocused
Just like other drawing operations.
The highlight was the only decoration that shared in both focused and unfocused.
By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.
Just like other drawing operations.
The highlight was the only decoration that shared in both focused and unfocused.
roundabout,
created on Sunday, 29 March 2020, 07:17:54 (1585466274),
received on Sunday, 11 May 2025, 13:22:51 (1746969771)
Author identity: nana-4 <hnmaigo@gmail.com>
6dfbaba6a68ac87f26dc43137c0c2694af076c87
<constant name="C_titlebar_focused" value="#2d2d2d"/> <constant name="C_titlebar_unfocused" value="#242424"/> <constant name="C_highlight" value="blend/#2d2d2d/#ffffff/0.1"/><constant name="C_highlight_focused" value="blend/#2d2d2d/#ffffff/0.1"/> <constant name="C_highlight_unfocused" value="blend/#242424/#ffffff/0.1"/><constant name="C_title_focused" value="blend/#2d2d2d/#ffffff/0.87"/> <constant name="C_title_unfocused" value="blend/#242424/#ffffff/0.6"/>
<rectangle color="C_titlebar_unfocused" x="0" y="0" width="width" height="height" filled="true"/> </draw_ops> <draw_ops name="highlight"><line color="C_highlight" x1="4" y1="0" x2="width - 5" y2="0"/><arc color="C_highlight" x="0 - 1" y="0" width="13" height="13" start_angle="270" extent_angle="90"/><arc color="C_highlight" x="width - 13" y="0" width="13" height="13" start_angle="0" extent_angle="90"/><draw_ops name="highlight_focused"> <line color="C_highlight_focused" x1="4" y1="0" x2="width - 5" y2="0"/> <arc color="C_highlight_focused" x="0 - 1" y="0" width="13" height="13" start_angle="270" extent_angle="90"/> <arc color="C_highlight_focused" x="width - 13" y="0" width="13" height="13" start_angle="0" extent_angle="90"/> </draw_ops> <draw_ops name="highlight_unfocused"> <line color="C_highlight_unfocused" x1="4" y1="0" x2="width - 5" y2="0"/> <arc color="C_highlight_unfocused" x="0 - 1" y="0" width="13" height="13" start_angle="270" extent_angle="90"/> <arc color="C_highlight_unfocused" x="width - 13" y="0" width="13" height="13" start_angle="0" extent_angle="90"/></draw_ops> <draw_ops name="titlebar_focused"> <include name="entire_background_focused"/> <include name="highlight"/><include name="highlight_focused"/></draw_ops> <draw_ops name="titlebar_unfocused"> <include name="entire_background_unfocused"/> <include name="highlight"/><include name="highlight_unfocused"/></draw_ops> <!-- button icons -->
<constant name="C_titlebar_focused" value="#e0e0e0"/> <constant name="C_titlebar_unfocused" value="#d6d6d6"/> <constant name="C_highlight" value="blend/#e0e0e0/#ffffff/0.4"/><constant name="C_highlight_focused" value="blend/#e0e0e0/#ffffff/0.4"/> <constant name="C_highlight_unfocused" value="blend/#d6d6d6/#ffffff/0.4"/><constant name="C_title_focused" value="blend/#e0e0e0/#000000/0.87"/> <constant name="C_title_unfocused" value="blend/#d6d6d6/#000000/0.6"/>
<rectangle color="C_titlebar_unfocused" x="0" y="0" width="width" height="height" filled="true"/> </draw_ops> <draw_ops name="highlight"><line color="C_highlight" x1="4" y1="0" x2="width - 5" y2="0"/><arc color="C_highlight" x="0 - 1" y="0" width="13" height="13" start_angle="270" extent_angle="90"/><arc color="C_highlight" x="width - 13" y="0" width="13" height="13" start_angle="0" extent_angle="90"/><draw_ops name="highlight_focused"> <line color="C_highlight_focused" x1="4" y1="0" x2="width - 5" y2="0"/> <arc color="C_highlight_focused" x="0 - 1" y="0" width="13" height="13" start_angle="270" extent_angle="90"/> <arc color="C_highlight_focused" x="width - 13" y="0" width="13" height="13" start_angle="0" extent_angle="90"/> </draw_ops> <draw_ops name="highlight_unfocused"> <line color="C_highlight_unfocused" x1="4" y1="0" x2="width - 5" y2="0"/> <arc color="C_highlight_unfocused" x="0 - 1" y="0" width="13" height="13" start_angle="270" extent_angle="90"/> <arc color="C_highlight_unfocused" x="width - 13" y="0" width="13" height="13" start_angle="0" extent_angle="90"/></draw_ops> <draw_ops name="titlebar_focused"> <include name="entire_background_focused"/> <include name="highlight"/><include name="highlight_focused"/></draw_ops> <draw_ops name="titlebar_unfocused"> <include name="entire_background_unfocused"/> <include name="highlight"/><include name="highlight_unfocused"/></draw_ops> <!-- button icons -->
<constant name="C_titlebar_focused" value="#383838"/> <constant name="C_titlebar_unfocused" value="#303030"/> <constant name="C_highlight" value="blend/#383838/#ffffff/0.1"/><constant name="C_highlight_focused" value="blend/#383838/#ffffff/0.1"/> <constant name="C_highlight_unfocused" value="blend/#303030/#ffffff/0.1"/><constant name="C_title_focused" value="blend/#383838/#ffffff/1"/> <constant name="C_title_unfocused" value="blend/#303030/#ffffff/0.7"/>
<rectangle color="C_titlebar_unfocused" x="0" y="0" width="width" height="height" filled="true"/> </draw_ops> <draw_ops name="highlight"><line color="C_highlight" x1="4" y1="0" x2="width - 5" y2="0"/><arc color="C_highlight" x="0 - 1" y="0" width="13" height="13" start_angle="270" extent_angle="90"/><arc color="C_highlight" x="width - 13" y="0" width="13" height="13" start_angle="0" extent_angle="90"/><draw_ops name="highlight_focused"> <line color="C_highlight_focused" x1="4" y1="0" x2="width - 5" y2="0"/> <arc color="C_highlight_focused" x="0 - 1" y="0" width="13" height="13" start_angle="270" extent_angle="90"/> <arc color="C_highlight_focused" x="width - 13" y="0" width="13" height="13" start_angle="0" extent_angle="90"/> </draw_ops> <draw_ops name="highlight_unfocused"> <line color="C_highlight_unfocused" x1="4" y1="0" x2="width - 5" y2="0"/> <arc color="C_highlight_unfocused" x="0 - 1" y="0" width="13" height="13" start_angle="270" extent_angle="90"/> <arc color="C_highlight_unfocused" x="width - 13" y="0" width="13" height="13" start_angle="0" extent_angle="90"/></draw_ops> <draw_ops name="titlebar_focused"> <include name="entire_background_focused"/> <include name="highlight"/><include name="highlight_focused"/></draw_ops> <draw_ops name="titlebar_unfocused"> <include name="entire_background_unfocused"/> <include name="highlight"/><include name="highlight_unfocused"/></draw_ops> <!-- button icons -->
<constant name="C_titlebar_focused" value="gtk:custom(wm_bg,gtk:bg[NORMAL])"/> <constant name="C_titlebar_unfocused" value="gtk:custom(wm_unfocused_bg,gtk:bg[NORMAL])"/> <constant name="C_highlight" value="gtk:custom(wm_highlight,gtk:base[NORMAL])"/><constant name="C_highlight_focused" value="gtk:custom(wm_highlight,gtk:base[NORMAL])"/> <constant name="C_highlight_unfocused" value="gtk:custom(wm_highlight,gtk:base[NORMAL])"/><constant name="C_title_focused" value="gtk:custom(wm_title,gtk:fg[NORMAL])"/> <constant name="C_title_unfocused" value="gtk:custom(wm_unfocused_title,gtk:fg[INSENSITIVE])"/>
<rectangle color="C_titlebar_unfocused" x="0" y="0" width="width" height="height" filled="true"/> </draw_ops> <draw_ops name="highlight"><line color="C_highlight" x1="4" y1="0" x2="width - 5" y2="0"/><arc color="C_highlight" x="0 - 1" y="0" width="13" height="13" start_angle="270" extent_angle="90"/><arc color="C_highlight" x="width - 13" y="0" width="13" height="13" start_angle="0" extent_angle="90"/><draw_ops name="highlight_focused"> <line color="C_highlight_focused" x1="4" y1="0" x2="width - 5" y2="0"/> <arc color="C_highlight_focused" x="0 - 1" y="0" width="13" height="13" start_angle="270" extent_angle="90"/> <arc color="C_highlight_focused" x="width - 13" y="0" width="13" height="13" start_angle="0" extent_angle="90"/> </draw_ops> <draw_ops name="highlight_unfocused"> <line color="C_highlight_unfocused" x1="4" y1="0" x2="width - 5" y2="0"/> <arc color="C_highlight_unfocused" x="0 - 1" y="0" width="13" height="13" start_angle="270" extent_angle="90"/> <arc color="C_highlight_unfocused" x="width - 13" y="0" width="13" height="13" start_angle="0" extent_angle="90"/></draw_ops> <draw_ops name="titlebar_focused"> <include name="entire_background_focused"/> <include name="highlight"/><include name="highlight_focused"/></draw_ops> <draw_ops name="titlebar_unfocused"> <include name="entire_background_unfocused"/> <include name="highlight"/><include name="highlight_unfocused"/></draw_ops> <!-- button icons -->