Απόκρυψη της μπάρας τίτλου στον firefox-nightly

Συζήτηση στην κατηγορία 'Firefox' που ξεκίνησε ο χρήστης kouros17, 9 Σεπ 2017.

  1. Παιδιά χρησιμοποιώ τον firefox-nightly και δυστυχώς το Hide Caption Titlebar Plus με το οποίο μπορώ να αποκρύπτω την μπάρα τίτλου στην σταθερή έκδοση του firefox, εδώ δεν λειτουργεί. Γνωρίζετε μήπως κάποιον τρόπο για να το κάνω στον firefox-nightly;

    Επίσης είδα σε διάφορες σελίδες ότι επιλέγοντας "Customize" υπάρχει ένα κουμπί κάτω αριστερά (Title Bar) που σου δίνει την δυνατότητα να κρύψεις την μπάρα τίτλου. Φαίνεται σ'αυτήν εδώ την εικόνα:
    http://ccm.net/faq/40304-firefox-how-to-hide-the-title-bar

    Σε μένα όμως δεν υπάρχει αυτό το κουμπί (όπως φαίνεται κάτω στο screenshot).
    Κάπου πήρε το μάτι μου ότι αφορά μόνο τον firefox σε windows και όχι σε linux.
    Αληθεύει αυτό;
    Εσείς το έχετε αυτό το κουμπί;
    Ενημερωτικά είμαι σε manjaro και gnome-shell.

    [IMG]
  2. Soulrain Falls Ο Αντμινιστράτορας

    Πώς δε λειτουργεί; Άλλαξε το extensions.legacy.enabled σε true (μόνο σε Nightly και Developer. Στη Stable μετά την 57 κατά 99,99% δεν πρόκειται να δουλέψει κάνενα addon που αλλάζει το UI).

    Η μπάρα τίτλου μπορεί να κρυφτεί (χωρίς addon) μόνο σε Windows. Στο Linux δε γίνεται να υπάρξει υποστηριζόμενος τρόπος γιατί έχουμε 5000 DE. Λένε όμως ότι μελλοντικά ο Firefox θα έχει CSD όπως το GNOME.
    Αρέσει σε kouros17
  3. DarkGoth Παιδί για τις δουλειές του Forum

    εχω gnomeshell και εχω κανει ακριβως αυτο σε ολα τα προγραμματα. εχω αφησει το adwaita σαν metacity theme, εχω ανοιξει το αρχειο του, και εχω αλλαξει το μεγεθος titlebar σε 1, οπου υπηρχε μεσα στο αρχειο. το αποτελεσμα:...[IMG]
    και το αρχειακι του theme ειναι αυτο. δεν ξερω ποσο χρησιμο θα σε φανει. ισως να δεις τι εχω αλλαξει εκειμεσα, για να τα βρεις πιο ευκολα. δεν ξερω αν τα metacity themes στο καινουριο gnome ειναι ακομα xml, η, εχουν τα ηλιθια binary (γιατι τα gtk themes ειναι ηλιθια binary πλεον). αν εχουν ακομα τα metacity xml, θα ειναι λογικα στο ιδιο ακριβως στυλ

    EDIT... βαλε και "false" οπου λεει "has title":...
    Κώδικας:
    <?xml version="1.0"?>
    <metacity_theme>
    <info>
        <name>Adwaita</name>
        <author>GNOME Art Team &lt;art.gnome.org&gt;</author>
        <copyright>&#194; Intel, &#194; Red Hat, Lapo Calamandrei</copyright>
        <date>2014</date>
        <description>Default GNOME 3 window theme</description>
    </info>
     
    <!-- meaningfull constants -->
     
    <constant name="C_border_focused" value="blend/#000000/gtk:bg[NORMAL]/0.7" />
    <constant name="C_border_unfocused" value="blend/#000000/gtk:bg[NORMAL]/0.8" />
    <constant name="C_titlebar_focused_hilight" value="gtk:custom(wm_highlight,gtk:base[NORMAL])" />
    <constant name="C_titlebar_unfocused" value="blend/gtk:base[NORMAL]/gtk:bg[NORMAL]/0.4" />
    <constant name="C_title_focused" value="gtk:custom(wm_title,gtk:fg[NORMAL])" />
    <constant name="C_title_focused_hilight" value="gtk:custom(wm_borders_edge,gtk:base[NORMAL])" />
    <constant name="C_title_focused_hilight_dark" value="gtk:custom(wm_borders_edge,gtk:bg[NORMAL])" />
    <constant name="C_title_unfocused" value="gtk:custom(wm_unfocused_title,gtk:fg[INSENSITIVE])" />
    <!-- color of the button icons -->
    <constant name="C_icons_focused" value="gtk:custom(wm_title,gtk:fg[NORMAL])" />
    <constant name="C_icons_pressed" value="gtk:custom(wm_title,gtk:fg[NORMAL])" />
    <constant name="C_icons_unfocused" value="gtk:custom(theme_unfocused_fg_color,gtk:fg[NORMAL])" />
    <constant name="C_icons_unfocused_prelight" value="gtk:custom(theme_unfocused_fg_color,gtk:fg[NORMAL])" />
    <constant name="C_icons_unfocused_pressed" value="gtk:custom(theme_unfocused_fg_color,gtk:fg[NORMAL])" />
    <constant name="C_icons_shadow" value="gtk:custom(wm_borders_edge,gtk:base[NORMAL])" />
    <constant name="C_separator" value="blend/#000000/gtk:bg[NORMAL]/0.9" />
    <constant name="D_icons_unfocused_offset" value="0" /> <!-- offset of the unfocused icons -->
    <constant name="D_icons_shrink" value="3" /> <!-- increasing this value makes the icons in buttons smaller -->
    <constant name="D_icons_grow" value="0" /> <!-- increasing this value makes the icons in buttons bigger -->
    <!-- geometries -->
     
    <frame_geometry name="normal" has_title="false" rounded_top_left="4" rounded_top_right="4">
        <distance name="left_width" value="1" />
        <distance name="right_width" value="1" />
        <distance name="bottom_height" value="1" />
        <distance name="left_titlebar_edge" value="1"/>
        <distance name="right_titlebar_edge" value="1"/>
        <distance name="title_vertical_pad" value="1"/>
        <border name="title_border" left="1" right="1" top="1" bottom="1"/>
        <border name="button_border" left="1" right="1" top="1" bottom="1"/>
        <aspect_ratio name="button" value="1"/>
    </frame_geometry>
     
    <frame_geometry name="normal_unfocused" has_title="false" rounded_top_left="4" rounded_top_right="4" parent="normal">
        <distance name="left_titlebar_edge" value="1"/>
        <distance name="right_titlebar_edge" value="1"/>
    </frame_geometry>
     
    <frame_geometry name="max" has_title="false" parent="normal" rounded_top_left="false" rounded_top_right="false">
        <distance name="left_width" value="1" />
        <distance name="right_width" value="1" />
        <distance name="title_vertical_pad" value="1"/> <!--
                                This needs to be 1 less then the
                                title_vertical_pad on normal state
                                or you'll have bigger buttons                                -->
        <border name="title_border" left="1" right="1" top="1" bottom="1"/>
        <border name="button_border" left="1" right="1" top="1" bottom="1"/>
        <distance name="bottom_height" value="1" />
    </frame_geometry>
     
    <frame_geometry name="tiled_left" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="max">
        <distance name="right_width" value="1" />
    </frame_geometry>
     
    <frame_geometry name="tiled_right" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="max">
        <distance name="left_width" value="1" />
    </frame_geometry>
     
    <frame_geometry name="small" has_title="false" parent="normal" rounded_top_left="false" rounded_top_right="false">
        <distance name="title_vertical_pad" value="1"/>
        <border name="title_border" left="1" right="1" top="1" bottom="1"/>
        <border name="button_border" left="1" right="1" top="1" bottom="1"/>
    </frame_geometry>
     
    <frame_geometry name="small_unfocused" parent="small">
        <distance name="left_titlebar_edge" value="1"/>
        <distance name="right_titlebar_edge" value="1"/>
    </frame_geometry>
     
    <frame_geometry name="nobuttons" hide_buttons="true" parent="normal">
    </frame_geometry>
     
    <frame_geometry name="border" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal" >
        <distance name="left_width" value="1" />
        <distance name="right_width" value="1" />
        <distance name="bottom_height" value="1" />
        <border name="title_border" left="1" right="1" top="1" bottom="1" />
        <border name="button_border" left="1" right="1" top="1" bottom="1"/>
        <distance name="title_vertical_pad" value="1" />
    </frame_geometry>
     
    <frame_geometry name="borderless" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal" >
        <distance name="left_width" value="1" />
        <distance name="right_width" value="1" />
        <distance name="bottom_height" value="1" />
        <distance name="title_vertical_pad" value="1" />
        <border name="button_border" left="1" right="1" top="1" bottom="1"/>
        <border name="title_border" left="1" right="1" top="1" bottom="1" />
    </frame_geometry>
     
    <frame_geometry name="modal" has_title="false" hide_buttons="true" rounded_top_left="false" rounded_top_right="false" parent="small">
        <distance name="title_vertical_pad" value="1"/>
    </frame_geometry>
     
    <frame_geometry name="attached" has_title="false" hide_buttons="true" rounded_top_left="4" rounded_top_right="4" rounded_bottom_left="4" rounded_bottom_right="4" parent="normal">
        <distance name="title_vertical_pad" value="1"/>
        <distance name="bottom_height" value="1"/>
        <distance name="left_width" value="1"/>
        <distance name="right_width" value="1"/>
    </frame_geometry>
     
    <!-- drawing operations -->
     
        <!-- title -->
     
    <draw_ops name="title_focused">
        <title version="< 3.1"
                  x="(0 `max` ((width - title_width) / 2))"
                  y="(0 `max` ((height - title_height) / 2)) + 2"
                  color="C_title_focused_hilight" />
        <title version="< 3.1"
                  x="(0 `max` ((width - title_width) / 2))"
                  y="(0 `max` ((height - title_height) / 2))"
                  color="C_title_focused_hilight_dark" />
        <title version="< 3.1"
                  x="(0 `max` ((width - title_width) / 2))"
                  y="(0 `max` ((height - title_height) / 2)) + 1"
                  color="C_title_focused" />
        <title version=">= 3.1"
                  x="(0 `max` ((frame_x_center - title_width / 2) `min` (width - title_width)))"
                  y="(0 `max` ((height - title_height) / 2)) + 2"
                  ellipsize_width="width"
                  color="C_title_focused_hilight" />
        <title version=">= 3.1"
                  x="(0 `max` ((frame_x_center - title_width / 2) `min` (width - title_width)))"
                  y="(0 `max` ((height - title_height) / 2))"
                  ellipsize_width="width"
                  color="C_title_focused_hilight_dark" />
        <title version=">= 3.1"
                  x="(0 `max` ((frame_x_center - title_width / 2) `min` (width - title_width)))"
                  y="(0 `max` ((height - title_height) / 2)) + 1"
                  ellipsize_width="width"
                  color="C_title_focused" />
    </draw_ops>
     
    <draw_ops name="title_unfocused">
        <title version="< 3.1"
                  x="(0 `max` ((width - title_width) / 2))"
                  y="(0 `max` ((height - title_height) / 2)) + 1"
                  color="C_title_unfocused"/>
        <title version=">= 3.1"
                  x="(0 `max` ((frame_x_center - title_width/2) `min` (width - title_width)))"
                  y="(0 `max` ((height - title_height) / 2)) + 1"
                  ellipsize_width="width"
                  color="C_title_unfocused"/>
    </draw_ops>
     
        <!-- window decorations -->
     
    <draw_ops name="entire_background_focused">
        <rectangle color="gtk:bg[NORMAL]" x="0" y="0" width="width" height="height" filled="true" />
    </draw_ops>
     
    <draw_ops name="entire_background_unfocused">
        <include name="entire_background_focused" />
    </draw_ops>
     
    <draw_ops name="titlebar_fill_focused">
        <gradient type="vertical" x="0" y="0" width="width" height="height">
            <color value="gtk:custom(wm_bg_a,blend/gtk:bg[NORMAL]/gtk:base[NORMAL]/0.4)" />
            <color value="gtk:custom(wm_bg_b,gtk:bg[NORMAL])" />
        </gradient>
    </draw_ops>
     
     
    <draw_ops name="titlebar_fill_unfocused">
        <rectangle color="C_titlebar_unfocused" x="0" y="0" width="width" height="height" filled="true" />
    </draw_ops>
     
    <draw_ops name="hilight">
        <line x1="0" y1="1" x2="width-1" y2="1" color="C_titlebar_focused_hilight" />
    </draw_ops>
     
    <draw_ops name="rounded_hilight">
        <line x1="5" y1="1" x2="width-6" y2="1" color="C_titlebar_focused_hilight" />
        <arc color="C_titlebar_focused_hilight" x="0" y="1" width="8" height="7"  start_angle="270" extent_angle="90" />
        <arc color="C_titlebar_focused_hilight" x="width-10" y="1" width="9" height="7"  start_angle="0" extent_angle="90" />
    </draw_ops>
     
    <draw_ops name="titlebar_focused">
        <include name="titlebar_fill_focused" />
        <include name="hilight" />
    </draw_ops>
     
    <draw_ops name="rounded_titlebar_focused">
        <include name="titlebar_fill_focused" />
        <include name="rounded_hilight" />
    </draw_ops>
     
    <draw_ops name="rounded_titlebar_focused_alt">
        <include name="titlebar_fill_focused" />
        <include name="rounded_hilight" />
    </draw_ops>
     
    <draw_ops name="rounded_titlebar_unfocused">
        <include name="titlebar_fill_unfocused" />
        <include name="rounded_hilight" />
    </draw_ops>
     
    <draw_ops name="titlebar_unfocused">
        <include name="titlebar_fill_unfocused" />
        <include name="hilight" />
    </draw_ops>
     
    <draw_ops name="border_focused">
        <rectangle color="C_border_focused" x="0" y="0" width="width-1" height="height-1" filled="false" />
    </draw_ops>
     
    <draw_ops name="border_unfocused">
        <rectangle color="C_border_unfocused" x="0" y="0" width="width-1" height="height-1" filled="false" />
    </draw_ops>
     
    <draw_ops name="rounded_border_focused">
        <line color="C_border_focused" x1="4" y1="0" x2="width-5" y2="0" />
        <line color="C_border_focused" x1="0" y1="height-1" x2="width-1" y2="height-1" />
        <line color="C_border_focused" x1="0" y1="4" x2="0" y2="height-2" />
        <line color="C_border_focused" x1="width-1" y1="4" x2="width-1" y2="height-2" />
        <arc color="C_border_focused" x="0" y="0" width="9" height="9"  start_angle="270" extent_angle="90" />
        <arc color="C_border_focused" x="width-10" y="0" width="9" height="9"  start_angle="0" extent_angle="90" />
        <!-- double arcs for darker borders -->
        <arc color="C_border_focused" x="0" y="0" width="9" height="9"  start_angle="270" extent_angle="90" />
        <arc color="C_border_focused" x="width-10" y="0" width="9" height="9"  start_angle="0" extent_angle="90" />
    </draw_ops>
     
    <draw_ops name="rounded_border_unfocused">
        <line color="C_border_unfocused" x1="4" y1="0" x2="width-5" y2="0" />
        <line color="C_border_unfocused" x1="0" y1="height-1" x2="width-1" y2="height-1" />
        <line color="C_border_unfocused" x1="0" y1="4" x2="0" y2="height-2" />
        <line color="C_border_unfocused" x1="width-1" y1="4" x2="width-1" y2="height-2" />
        <arc color="C_border_unfocused" x="0" y="0" width="9" height="9"  start_angle="270" extent_angle="90" />
        <arc color="C_border_unfocused" x="width-10" y="0" width="9" height="9"  start_angle="0" extent_angle="90" />
     
        <!-- double arcs for darker borders -->
        <arc color="C_border_unfocused" x="0" y="0" width="9" height="9"  start_angle="270" extent_angle="90" />
        <arc color="C_border_unfocused" x="width-10" y="0" width="9" height="9"  start_angle="0" extent_angle="90" />
    </draw_ops>
     
     
     
    <draw_ops name="border_left_focused">
        <line
            x1="0" y1="0"
            x2="0" y2="height"
            color="C_border_focused" />
    </draw_ops>
     
    <draw_ops name="border_left_unfocused">
        <line
            x1="0" y1="0"
            x2="0" y2="height"
            color="C_border_unfocused" />
    </draw_ops>
     
        <!-- button icons-->
     
     
    <draw_ops name="close_shadow_focused">
        <line
            x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
            color="C_icons_shadow" />
        <line
            x1="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
            color="C_icons_shadow" />
        <line
            x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
            x2="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
            color="C_icons_shadow" />
        <line
            x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
            color="C_icons_shadow" />
        <line
            x1="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
            color="C_icons_shadow" />
        <line
            x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
            x2="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
            color="C_icons_shadow" />
    </draw_ops>
     
    <draw_ops name="close_glyph_focused">
        <line
            x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
            color="C_icons_focused" />
        <line
            x1="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
            color="C_icons_focused" />
        <line
            x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
            x2="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
            color="C_icons_focused" />
        <line
            x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
            color="C_icons_focused" />
        <line
            x1="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
            color="C_icons_focused" />
        <line
            x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
            x2="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
            color="C_icons_focused" />
    </draw_ops>
     
    <draw_ops name="close_focused">
        <include name="close_shadow_focused" y="1" />
        <include name="close_glyph_focused" />
    </draw_ops>
     
    <draw_ops name="close_focused_pressed">
      <include name="close_focused"/>
    </draw_ops>
     
    <draw_ops name="close_focused_prelight">
      <include name="close_focused"/>
    </draw_ops>
     
    <draw_ops name="close_glyph_unfocused">
        <line
            x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
            color="C_icons_unfocused" />
        <line
            x1="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
            color="C_icons_unfocused" />
        <line
            x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
            x2="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
            color="C_icons_unfocused" />
        <line
            x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
            color="C_icons_unfocused" />
        <line
            x1="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
            color="C_icons_unfocused" />
        <line
            x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
            x2="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
            color="C_icons_unfocused" />
    </draw_ops>
     
    <draw_ops name="close_unfocused">
        <include name="close_glyph_unfocused" y="D_icons_unfocused_offset" />
    </draw_ops>
     
    <draw_ops name="close_glyph_unfocused_prelight">
        <line
            x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
            color="C_icons_unfocused_prelight" />
        <line
            x1="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
            color="C_icons_unfocused_prelight" />
        <line
            x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
            x2="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
            color="C_icons_unfocused_prelight" />
        <line
            x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
            color="C_icons_unfocused_prelight" />
        <line
            x1="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
            color="C_icons_unfocused_prelight" />
        <line
            x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
            x2="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
            color="C_icons_unfocused_prelight" />
    </draw_ops>
     
    <draw_ops name="close_unfocused_prelight">
        <include name="close_glyph_unfocused_prelight" y="D_icons_unfocused_offset" />
    </draw_ops>
     
    <draw_ops name="close_glyph_unfocused_pressed">
        <line
            x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
            color="C_icons_unfocused_pressed" />
        <line
            x1="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            x2="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
            color="C_icons_unfocused_pressed" />
        <line
            x1="(width-width%3)/3+D_icons_shrink-D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
            x2="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
            color="C_icons_unfocused_pressed" />
        <line
            x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
            color="C_icons_unfocused_pressed" />
        <line
            x1="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            x2="(width-width%3)/3+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
            color="C_icons_unfocused_pressed" />
        <line
            x1="width-(width-width%3)/3-1-D_icons_shrink+D_icons_grow" y1="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
            x2="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y2="height-(height-height%3)/3-1-D_icons_shrink+D_icons_grow"
            color="C_icons_unfocused_pressed" />
    </draw_ops>
     
    <draw_ops name="close_unfocused_pressed">
        <include name="close_glyph_unfocused_pressed" y="D_icons_unfocused_offset" />
    </draw_ops>
     
    <draw_ops name="maximize_glyph_focused">
        <rectangle
            x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-1-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow"
            color="C_icons_focused" />
        <rectangle
            x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow"
            color="C_icons_focused" />
    </draw_ops>
     
    <draw_ops name="maximize_shadow_focused">
        <rectangle
            x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-1-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow"
            color="C_icons_shadow" />
        <rectangle
            x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow"
            color="C_icons_shadow" />
    </draw_ops>
     
    <draw_ops name="maximize_focused">
        <include name="maximize_shadow_focused" y="1" />
        <include name="maximize_glyph_focused" />
    </draw_ops>
     
    <draw_ops name="maximize_focused_pressed">
        <include name="maximize_focused" />
    </draw_ops>
     
    <draw_ops name="maximize_focused_prelight">
        <include name="maximize_focused" />
    </draw_ops>
     
    <draw_ops name="maximize_glyph_unfocused">
        <rectangle
            x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-1-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow"
            color="C_icons_unfocused" />
        <rectangle
            x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow"
            color="C_icons_unfocused" />
    </draw_ops>
     
    <draw_ops name="maximize_unfocused">
        <include name="maximize_glyph_unfocused" y="D_icons_unfocused_offset" />
    </draw_ops>
     
    <draw_ops name="maximize_glyph_unfocused_prelight">
        <rectangle
            x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-1-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow"
            color="C_icons_unfocused_prelight" />
        <rectangle
            x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow"
            color="C_icons_unfocused_prelight" />
    </draw_ops>
     
    <draw_ops name="maximize_unfocused_prelight">
        <include name="maximize_glyph_unfocused_prelight" y="D_icons_unfocused_offset" />
    </draw_ops>
     
    <draw_ops name="maximize_glyph_unfocused_pressed">
        <rectangle
            x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-1-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow"
            color="C_icons_unfocused_pressed" />
        <rectangle
            x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow"
            color="C_icons_unfocused_pressed" />
    </draw_ops>
     
    <draw_ops name="maximize_unfocused_pressed">
        <include name="maximize_glyph_unfocused_pressed" y="D_icons_unfocused_offset" />
    </draw_ops>
     
    <draw_ops name="minimize_glyph_focused">
        <rectangle
            x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
            width="width-2*(width-width%3)/3-2-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
            color="C_icons_focused" />
    </draw_ops>
     
    <draw_ops name="minimize_shadow_focused">
        <rectangle
            x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
            width="width-2*(width-width%3)/3-2-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
            color="C_icons_shadow" />
    </draw_ops>
     
    <draw_ops name="minimize_focused">
        <include name="minimize_shadow_focused" y="1" />
        <include name="minimize_glyph_focused" />
    </draw_ops>
     
    <draw_ops name="minimize_focused_pressed">
        <include name="minimize_focused" />
    </draw_ops>
     
    <draw_ops name="minimize_focused_prelight">
        <include name="minimize_focused" />
    </draw_ops>
     
    <draw_ops name="minimize_glyph_unfocused">
        <rectangle
            x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
            width="width-2*(width-width%3)/3-2-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
            color="C_icons_unfocused" />
    </draw_ops>
     
    <draw_ops name="minimize_unfocused">
        <include name="minimize_glyph_unfocused" y="D_icons_unfocused_offset" />
    </draw_ops>
     
    <draw_ops name="minimize_glyph_unfocused_prelight">
        <rectangle
            x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
            width="width-2*(width-width%3)/3-2-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
            color="C_icons_unfocused_prelight" />
    </draw_ops>
     
    <draw_ops name="minimize_unfocused_prelight">
        <include name="minimize_glyph_unfocused_prelight" y="D_icons_unfocused_offset" />
    </draw_ops>
     
    <draw_ops name="minimize_glyph_unfocused_pressed">
        <rectangle
            x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
            width="width-2*(width-width%3)/3-2-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
            color="C_icons_unfocused_pressed" />
    </draw_ops>
     
    <draw_ops name="minimize_unfocused_pressed">
        <include name="minimize_glyph_unfocused_pressed" y="D_icons_unfocused_offset" />
    </draw_ops>
     
    <draw_ops name="menu_glyph_focused">
        <rectangle
            x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow"
            color="C_icons_focused" />
        <rectangle
            x="(width-width%3)/3+2+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-5-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow"
            color="C_icons_focused" />
        <rectangle
            x="(width-width%3)/3+4+D_icons_shrink-D_icons_grow" y="height/2-1-D_icons_shrink+D_icons_grow"
            width="width-2*(width-width%3)/3-8-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
            color="C_icons_focused" />
    </draw_ops>
     
    <draw_ops name="menu_shadow_focused">
        <rectangle
            x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow"
            color="C_icons_shadow" />
        <rectangle
            x="(width-width%3)/3+2+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-5-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow"
            color="C_icons_shadow" />
        <rectangle
            x="(width-width%3)/3+4+D_icons_shrink-D_icons_grow" y="height/2-1-D_icons_shrink+D_icons_grow"
            width="width-2*(width-width%3)/3-8-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
            color="C_icons_shadow" />
    </draw_ops>
     
    <draw_ops name="menu_focused">
        <include name="menu_shadow_focused" y="1" />
        <include name="menu_glyph_focused" />
    </draw_ops>
     
    <draw_ops name="menu_focused_pressed">
        <include name="menu_glyph_focused" />
    </draw_ops>
     
    <draw_ops name="menu_glyph_unfocused">
        <rectangle
            x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow"
            color="C_icons_unfocused" />
        <rectangle
            x="(width-width%3)/3+2+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-5-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow"
            color="C_icons_unfocused" />
        <rectangle
            x="(width-width%3)/3+4+D_icons_shrink-D_icons_grow" y="height/2-1-D_icons_shrink+D_icons_grow"
            width="width-2*(width-width%3)/3-8-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
            color="C_icons_unfocused" />
    </draw_ops>
     
    <draw_ops name="menu_unfocused">
        <include name="menu_glyph_unfocused" y="D_icons_unfocused_offset" />
    </draw_ops>
     
    <draw_ops name="menu_glyph_unfocused_prelight">
        <rectangle
            x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow"
            color="C_icons_unfocused_prelight" />
        <rectangle
            x="(width-width%3)/3+2+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-5-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow"
            color="C_icons_unfocused_prelight" />
        <rectangle
            x="(width-width%3)/3+4+D_icons_shrink-D_icons_grow" y="height/2-1-D_icons_shrink+D_icons_grow"
            width="width-2*(width-width%3)/3-8-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
            color="C_icons_unfocused_prelight" />
    </draw_ops>
     
    <draw_ops name="menu_unfocused_prelight">
        <include name="menu_glyph_unfocused_prelight" y="D_icons_unfocused_offset" />
    </draw_ops>
     
    <draw_ops name="menu_glyph_unfocused_pressed">
        <rectangle
            x="(width-width%3)/3+1+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-3-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-1-2*D_icons_shrink+2*D_icons_grow"
            color="C_icons_unfocused_pressed" />
        <rectangle
            x="(width-width%3)/3+2+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+1+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-5-2*D_icons_shrink+2*D_icons_grow" height="height-2*(height-height%3)/3-3-2*D_icons_shrink+2*D_icons_grow"
            color="C_icons_unfocused_pressed" />
        <rectangle
            x="(width-width%3)/3+4+D_icons_shrink-D_icons_grow" y="height/2-1-D_icons_shrink+D_icons_grow"
            width="width-2*(width-width%3)/3-8-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
            color="C_icons_unfocused_pressed" />
    </draw_ops>
     
    <draw_ops name="menu_unfocused_pressed">
        <include name="menu_glyph_unfocused_pressed" y="D_icons_unfocused_offset" />
    </draw_ops>
     
    <!-- icon size used in GTK -->
    <constant name="D_appmenu_icon_size" value="16" />
     
    <draw_ops name="appmenu_icon_focused">
            <icon
            x="(width-D_appmenu_icon_size)/2" y="(height-D_appmenu_icon_size)/2"
            width="D_appmenu_icon_size" height="D_appmenu_icon_size" />
    </draw_ops>
     
    <draw_ops name="appmenu_focused">
            <include name="appmenu_icon_focused" />
    </draw_ops>
     
    <draw_ops name="appmenu_focused_pressed">
            <include name="appmenu_icon_focused" />
    </draw_ops>
     
    <draw_ops name="appmenu_icon_unfocused">
            <icon
            x="(width-D_appmenu_icon_size)/2" y="(height-D_appmenu_icon_size)/2"
            width="D_appmenu_icon_size" height="D_appmenu_icon_size"
            alpha="0.4"/>
    </draw_ops>
     
    <draw_ops name="appmenu_unfocused">
            <include name="appmenu_icon_unfocused" />
    </draw_ops>
     
    <draw_ops name="appmenu_icon_unfocused_prelight">
            <icon
            x="(width-D_appmenu_icon_size)/2" y="(height-D_appmenu_icon_size)/2"
            width="D_appmenu_icon_size" height="D_appmenu_icon_size"
            alpha="0.6"/>
    </draw_ops>
     
    <draw_ops name="appmenu_unfocused_prelight">
            <include name="appmenu_icon_unfocused_prelight" y="D_icons_unfocused_offset" />
    </draw_ops>
     
    <draw_ops name="appmenu_unfocused_pressed">
            <include name="appmenu_icon_unfocused_prelight" y="D_icons_unfocused_offset" />
    </draw_ops>
     
    <draw_ops name="shade_glyph_focused">
        <rectangle
            x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
            color="C_icons_focused" />
        <rectangle
            x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
            width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
            color="C_icons_focused" />
        <rectangle
            x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow"
            width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true"
            color="C_icons_focused" />
        <rectangle
            x="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow"
            width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true"
            color="C_icons_focused" />
    </draw_ops>
     
    <draw_ops name="shade_shadow_focused">
        <rectangle
            x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
            color="C_icons_shadow" />
        <rectangle
            x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
            width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
            color="C_icons_shadow" />
    </draw_ops>
     
    <draw_ops name="shade_focused">
        <include name="shade_shadow_focused" y="1" />
        <include name="shade_glyph_focused" />
    </draw_ops>
     
    <draw_ops name="shade_focused_pressed">
        <include name="shade_glyph_focused" />
    </draw_ops>
     
    <draw_ops name="shade_glyph_unfocused">
        <rectangle
            x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
            color="C_icons_unfocused" />
        <rectangle
            x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
            width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
            color="C_icons_unfocused" />
        <rectangle
            x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow"
            width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true"
            color="C_icons_unfocused" />
        <rectangle
            x="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow"
            width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true"
            color="C_icons_unfocused" />
    </draw_ops>
     
    <draw_ops name="shade_unfocused">
        <include name="shade_glyph_unfocused" y="D_icons_unfocused_offset" />
    </draw_ops>
     
    <draw_ops name="shade_glyph_unfocused_prelight">
        <rectangle
            x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
            color="C_icons_unfocused_prelight" />
        <rectangle
            x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
            width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
            color="C_icons_unfocused_prelight" />
        <rectangle
            x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow"
            width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true"
            color="C_icons_unfocused_prelight" />
        <rectangle
            x="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow"
            width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true"
            color="C_icons_unfocused_prelight" />
    </draw_ops>
     
    <draw_ops name="shade_unfocused_prelight">
        <include name="shade_glyph_unfocused_prelight" y="D_icons_unfocused_offset" />
    </draw_ops>
     
    <draw_ops name="shade_glyph_unfocused_pressed">
        <rectangle
            x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+D_icons_shrink-D_icons_grow"
            width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
            color="C_icons_unfocused_pressed" />
        <rectangle
            x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="height-(height-height%3)/3-2-D_icons_shrink+D_icons_grow"
            width="width-2*(width-width%3)/3-2*D_icons_shrink+2*D_icons_grow" height="2" filled="true"
            color="C_icons_unfocused_pressed" />
        <rectangle
            x="(width-width%3)/3+D_icons_shrink-D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow"
            width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true"
            color="C_icons_unfocused_pressed" />
        <rectangle
            x="width-(width-width%3)/3-2-D_icons_shrink+D_icons_grow" y="(height-height%3)/3+3+D_icons_shrink-D_icons_grow"
            width="2" height="height-2*(height-height%3)/3-6-D_icons_shrink+D_icons_grow" filled="true"
            color="C_icons_unfocused_pressed" />
    </draw_ops>
     
    <draw_ops name="shade_unfocused_pressed">
        <include name="shade_glyph_unfocused_pressed" y="D_icons_unfocused_offset" />
    </draw_ops>
     
     
        <!-- button backgrounds -->
     
    <constant name="C_button_border" value="blend/#000000/gtk:bg[NORMAL]/0.8" />
    <constant name="C_button_hilight" value="gtk:custom(wm_highlight,blend/gtk:base[NORMAL]/gtk:bg[NORMAL]/0.6)" />
     
    <draw_ops name="button_border">
      <line x1="6" y1="4" x2="width-7" y2="4" color="C_button_border" />
      <arc color="C_button_border" x="width-9" y="4" width="4" height="4" start_angle="0" extent_angle="90"/>
      <line x1="width-5" y1="6" x2="width-5" y2="height-7" color="C_button_border" />
      <arc color="C_button_border" x="width-9" y="height-9" width="4" height="4" start_angle="90" extent_angle="90"/>
      <line x1="width-6" y1="height-5" x2="6" y2="height-5" color="C_button_border" />
      <arc color="C_button_border" x="4" y="height-9" width="4" height="4" start_angle="180" extent_angle="90"/>
      <line x1="4" y1="6" x2="4" y2="height-7" color="C_button_border" />
      <arc color="C_button_border" x="4" y="4" width="4" height="4" start_angle="270" extent_angle="90"/>
      <line x1="width-7" y1="height-4" x2="7" y2="height-4" color="C_title_focused_hilight" />
    </draw_ops>
     
     
    <draw_ops name="button_fill"> <!-- button background gradient -->
     
    </draw_ops>
     
    <draw_ops name="button_fill_prelight"> <!-- button background gradient for prelight status -->
      <gradient type="vertical" x="5" y="5" width="width-10" height="height-10">
            <color value="gtk:custom(wm_button_hover_color_a,gtk:fg[NORMAL])" />
            <color value="gtk:custom(wm_button_hover_color_b,gtk:fg[NORMAL])" />
        </gradient>
        <include name="button_border" />
    </draw_ops>
     
    <draw_ops name="button_fill_pressed"> <!-- button background gradient for pressed status -->
      <gradient type="vertical" x="5" y="5" width="width-10" height="height-10">
            <color value="gtk:custom(wm_button_active_color_b,gtk:fg[NORMAL])" />
            <color value="gtk:custom(wm_button_active_color_c,gtk:fg[NORMAL])" />
        </gradient>
      <line x1="5" y1="5" x2="width-6" y2="5" color="blend/#000000/gtk:custom(wm_button_active_color_a,gtk:fg[NORMAL])/0.9" />
      <line x1="4" y1="6" x2="width-5" y2="6" color="gtk:custom(wm_button_active_color_a,gtk:fg[NORMAL])" />
        <include name="button_border" />
    </draw_ops>
     
    <draw_ops name="button">
    </draw_ops>
     
    <draw_ops name="button_prelight">
        <include name="button_fill_prelight" />
    </draw_ops>
     
    <draw_ops name="button_pressed">
        <include name="button_fill_pressed" />
    </draw_ops>
     
    <!-- frame styles -->
     
    <frame_style name="normal_focused" geometry="normal">
        <piece position="entire_background" draw_ops="entire_background_focused" />
        <piece position="titlebar" draw_ops="rounded_titlebar_focused" />
        <piece position="title" draw_ops="title_focused" />
        <piece position="overlay" draw_ops="rounded_border_focused" />
        <button function="close" state="normal" draw_ops="close_focused" />
        <button function="close" state="pressed" draw_ops="close_focused_pressed" />
        <button function="close" state="prelight" draw_ops="close_focused_prelight" />
        <button function="maximize" state="normal" draw_ops="maximize_focused" />
        <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" />
        <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" />
        <button function="minimize" state="normal" draw_ops="minimize_focused" />
        <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" />
        <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" />
        <button function="menu" state="normal" draw_ops="menu_focused" />
        <button function="menu" state="pressed" draw_ops="menu_focused_pressed" />
        <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_focused" />
        <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_focused_pressed" />
        <button function="shade" state="normal" draw_ops="shade_focused" />
        <button function="shade" state="pressed" draw_ops="shade_focused_pressed" />
        <button function="unshade" state="normal" draw_ops="shade_focused" />
        <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" />
     
        <button function="left_middle_background" state="normal" draw_ops="button"/>
        <button function="left_middle_background" state="pressed" draw_ops="button_pressed"/>
        <button function="left_middle_background" state="prelight" draw_ops="button_prelight"/>
        <button function="right_middle_background" state="normal" draw_ops="button"/>
        <button function="right_middle_background" state="pressed" draw_ops="button_pressed"/>
        <button function="right_middle_background" state="prelight" draw_ops="button_prelight"/>
     
        <button function="above" state="normal"><draw_ops></draw_ops></button>
        <button function="above" state="pressed"><draw_ops></draw_ops></button>
        <button function="unabove" state="normal"><draw_ops></draw_ops></button>
        <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
        <button function="stick" state="normal"><draw_ops></draw_ops></button>
        <button function="stick" state="pressed"><draw_ops></draw_ops></button>
        <button function="unstick" state="normal"><draw_ops></draw_ops></button>
        <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
    </frame_style>
     
    <frame_style name="normal_unfocused" geometry="normal_unfocused">
        <piece position="entire_background" draw_ops="entire_background_unfocused" />
        <piece position="titlebar" draw_ops="rounded_titlebar_unfocused" />
        <piece position="title" draw_ops="title_unfocused" />
        <piece position="overlay" draw_ops="rounded_border_unfocused" />
        <button function="close" state="normal" draw_ops="close_unfocused"/>
        <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
        <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
        <button function="maximize" state="normal" draw_ops="maximize_unfocused"/>
        <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/>
        <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/>
        <button function="minimize" state="normal" draw_ops="minimize_unfocused"/>
        <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/>
        <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/>
        <button function="menu" state="normal" draw_ops="menu_unfocused" />
        <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" />
        <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" />
        <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_unfocused" />
        <button version=">= 3.5" function="appmenu" state="prelight" draw_ops="appmenu_unfocused_prelight" />
        <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_unfocused_pressed" />
        <button function="shade" state="normal" draw_ops="shade_unfocused" />
        <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" />
        <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" />
        <button function="unshade" state="normal" draw_ops="shade_unfocused" />
        <button function="unshade" state="prelight" draw_ops="shade_unfocused_prelight" />
        <button function="unshade" state="pressed" draw_ops="shade_unfocused_pressed" />
        <button function="above" state="normal"><draw_ops></draw_ops></button>
        <button function="above" state="pressed"><draw_ops></draw_ops></button>
        <button function="unabove" state="normal"><draw_ops></draw_ops></button>
        <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
        <button function="stick" state="normal"><draw_ops></draw_ops></button>
        <button function="stick" state="pressed"><draw_ops></draw_ops></button>
        <button function="unstick" state="normal"><draw_ops></draw_ops></button>
        <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
    </frame_style>
     
    <frame_style name="normal_max_focused" geometry="max">
        <piece position="entire_background" draw_ops="entire_background_focused" />
        <piece position="titlebar" draw_ops="titlebar_focused" />
        <piece position="title" draw_ops="title_focused" />
        <button function="close" state="normal" draw_ops="close_focused" />
        <button function="close" state="pressed" draw_ops="close_focused_pressed" />
        <button function="close" state="prelight" draw_ops="close_focused_prelight" />
        <button function="maximize" state="normal" draw_ops="maximize_focused" />
        <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" />
        <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" />
        <button function="minimize" state="normal" draw_ops="minimize_focused" />
        <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" />
        <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" />
        <button function="menu" state="normal" draw_ops="menu_focused" />
        <button function="menu" state="pressed" draw_ops="menu_focused_pressed" />
        <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_focused" />
        <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_focused_pressed" />
        <button function="shade" state="normal" draw_ops="shade_focused" />
        <button function="shade" state="pressed" draw_ops="shade_focused_pressed" />
        <button function="unshade" state="normal" draw_ops="shade_focused" />
        <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" />
     
        <button function="left_middle_background" state="normal" draw_ops="button"/>
        <button function="left_middle_background" state="pressed" draw_ops="button_pressed"/>
        <button function="left_middle_background" state="prelight" draw_ops="button_prelight"/>
        <button function="right_middle_background" state="normal" draw_ops="button"/>
        <button function="right_middle_background" state="pressed" draw_ops="button_pressed"/>
        <button function="right_middle_background" state="prelight" draw_ops="button_prelight"/>
     
        <button function="above" state="normal"><draw_ops></draw_ops></button>
        <button function="above" state="pressed"><draw_ops></draw_ops></button>
        <button function="unabove" state="normal"><draw_ops></draw_ops></button>
        <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
        <button function="stick" state="normal"><draw_ops></draw_ops></button>
        <button function="stick" state="pressed"><draw_ops></draw_ops></button>
        <button function="unstick" state="normal"><draw_ops></draw_ops></button>
        <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
    </frame_style>
     
    <frame_style name="normal_max_unfocused" geometry="max">
        <piece position="entire_background" draw_ops="entire_background_unfocused" />
        <piece position="titlebar" draw_ops="titlebar_unfocused" />
        <piece position="title" draw_ops="title_unfocused" />
        <button function="close" state="normal" draw_ops="close_unfocused"/>
        <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
        <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
        <button function="maximize" state="normal" draw_ops="maximize_unfocused"/>
        <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/>
        <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/>
        <button function="minimize" state="normal" draw_ops="minimize_unfocused"/>
        <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/>
        <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/>
        <button function="menu" state="normal" draw_ops="menu_unfocused" />
        <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" />
        <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" />
        <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_unfocused" />
        <button version=">= 3.5" function="appmenu" state="prelight" draw_ops="appmenu_unfocused_prelight" />
        <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_unfocused_pressed" />
        <button function="shade" state="normal" draw_ops="shade_unfocused" />
        <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" />
        <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" />
        <button function="unshade" state="normal" draw_ops="shade_unfocused" />
        <button function="unshade" state="prelight" draw_ops="shade_unfocused_prelight" />
        <button function="unshade" state="pressed" draw_ops="shade_unfocused_pressed" />
        <button function="above" state="normal"><draw_ops></draw_ops></button>
        <button function="above" state="pressed"><draw_ops></draw_ops></button>
        <button function="unabove" state="normal"><draw_ops></draw_ops></button>
        <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
        <button function="stick" state="normal"><draw_ops></draw_ops></button>
        <button function="stick" state="pressed"><draw_ops></draw_ops></button>
        <button function="unstick" state="normal"><draw_ops></draw_ops></button>
        <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
    </frame_style>
     
    <frame_style name="normal_max_shaded_focused" geometry="max">
        <piece position="entire_background" draw_ops="entire_background_focused" />
        <piece position="titlebar" draw_ops="titlebar_focused" />
        <piece position="title" draw_ops="title_focused" />
        <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_focused" /></draw_ops></piece>
        <button function="close" state="normal" draw_ops="close_focused" />
        <button function="close" state="pressed" draw_ops="close_focused_pressed" />
        <button function="close" state="prelight" draw_ops="close_focused_prelight" />
        <button function="maximize" state="normal" draw_ops="maximize_focused" />
        <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" />
        <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" />
        <button function="minimize" state="normal" draw_ops="minimize_focused" />
        <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" />
        <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" />
        <button function="menu" state="normal" draw_ops="menu_focused" />
        <button function="menu" state="pressed" draw_ops="menu_focused_pressed" />
        <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_focused" />
        <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_focused_pressed" />
        <button function="shade" state="normal" draw_ops="shade_focused" />
        <button function="shade" state="pressed" draw_ops="shade_focused_pressed" />
        <button function="unshade" state="normal" draw_ops="shade_focused" />
        <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" />
     
        <button function="left_middle_background" state="normal" draw_ops="button"/>
        <button function="left_middle_background" state="pressed" draw_ops="button_pressed"/>
        <button function="left_middle_background" state="prelight" draw_ops="button_prelight"/>
        <button function="right_middle_background" state="normal" draw_ops="button"/>
        <button function="right_middle_background" state="pressed" draw_ops="button_pressed"/>
        <button function="right_middle_background" state="prelight" draw_ops="button_prelight"/>
     
        <button function="above" state="normal"><draw_ops></draw_ops></button>
        <button function="above" state="pressed"><draw_ops></draw_ops></button>
        <button function="unabove" state="normal"><draw_ops></draw_ops></button>
        <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
        <button function="stick" state="normal"><draw_ops></draw_ops></button>
        <button function="stick" state="pressed"><draw_ops></draw_ops></button>
        <button function="unstick" state="normal"><draw_ops></draw_ops></button>
        <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
    </frame_style>
     
    <frame_style name="normal_max_shaded_unfocused" geometry="max">
        <piece position="entire_background" draw_ops="entire_background_unfocused" />
        <piece position="titlebar" draw_ops="titlebar_unfocused" />
        <piece position="title" draw_ops="title_unfocused" />
        <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_unfocused" /></draw_ops></piece>
        <button function="close" state="normal" draw_ops="close_unfocused"/>
        <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
        <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
        <button function="maximize" state="normal" draw_ops="maximize_unfocused"/>
        <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/>
        <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/>
        <button function="minimize" state="normal" draw_ops="minimize_unfocused"/>
        <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/>
        <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/>
        <button function="menu" state="normal" draw_ops="menu_unfocused" />
        <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" />
        <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" />
        <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_unfocused" />
        <button version=">= 3.5" function="appmenu" state="prelight" draw_ops="appmenu_unfocused_prelight" />
        <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_unfocused_pressed" />
        <button function="shade" state="normal" draw_ops="shade_unfocused" />
        <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" />
        <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" />
        <button function="unshade" state="normal" draw_ops="shade_unfocused" />
        <button function="unshade" state="prelight" draw_ops="shade_unfocused_prelight" />
        <button function="unshade" state="pressed" draw_ops="shade_unfocused_pressed" />
        <button function="above" state="normal"><draw_ops></draw_ops></button>
        <button function="above" state="pressed"><draw_ops></draw_ops></button>
        <button function="unabove" state="normal"><draw_ops></draw_ops></button>
        <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
        <button function="stick" state="normal"><draw_ops></draw_ops></button>
        <button function="stick" state="pressed"><draw_ops></draw_ops></button>
        <button function="unstick" state="normal"><draw_ops></draw_ops></button>
        <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
    </frame_style>
     
    <frame_style name="dialog_focused" geometry="nobuttons">
        <piece position="entire_background" draw_ops="entire_background_focused" />
        <piece position="titlebar" draw_ops="rounded_titlebar_focused" />
        <piece position="title" draw_ops="title_focused" />
        <piece position="overlay" draw_ops="rounded_border_focused" />
        <button function="close" state="normal" draw_ops="close_focused" />
        <button function="close" state="pressed" draw_ops="close_focused_pressed" />
        <button function="close" state="prelight" draw_ops="close_focused_prelight" />
        <button function="maximize" state="normal" draw_ops="maximize_focused" />
        <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" />
        <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" />
        <button function="minimize" state="normal" draw_ops="minimize_focused" />
        <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" />
        <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" />
        <button function="menu" state="normal" draw_ops="menu_focused" />
        <button function="menu" state="pressed" draw_ops="menu_focused_pressed" />
        <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_focused" />
        <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_focused_pressed" />
        <button function="shade" state="normal" draw_ops="shade_focused" />
        <button function="shade" state="pressed" draw_ops="shade_focused_pressed" />
        <button function="unshade" state="normal" draw_ops="shade_focused" />
        <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" />
     
        <button function="left_middle_background" state="normal" draw_ops="button"/>
        <button function="left_middle_background" state="pressed" draw_ops="button_pressed"/>
        <button function="left_middle_background" state="prelight" draw_ops="button_prelight"/>
        <button function="right_middle_background" state="normal" draw_ops="button"/>
        <button function="right_middle_background" state="pressed" draw_ops="button_pressed"/>
        <button function="right_middle_background" state="prelight" draw_ops="button_prelight"/>
     
        <button function="above" state="normal"><draw_ops></draw_ops></button>
        <button function="above" state="pressed"><draw_ops></draw_ops></button>
        <button function="unabove" state="normal"><draw_ops></draw_ops></button>
        <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
        <button function="stick" state="normal"><draw_ops></draw_ops></button>
        <button function="stick" state="pressed"><draw_ops></draw_ops></button>
        <button function="unstick" state="normal"><draw_ops></draw_ops></button>
        <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
    </frame_style>
     
    <frame_style name="dialog_unfocused" geometry="nobuttons">
        <piece position="entire_background" draw_ops="entire_background_unfocused" />
        <piece position="titlebar" draw_ops="titlebar_unfocused" />
        <piece position="title" draw_ops="title_unfocused" />
        <piece position="overlay" draw_ops="rounded_border_unfocused" />
        <button function="close" state="normal" draw_ops="close_unfocused"/>
        <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
        <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
        <button function="maximize" state="normal" draw_ops="maximize_unfocused"/>
        <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/>
        <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/>
        <button function="minimize" state="normal" draw_ops="minimize_unfocused"/>
        <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/>
        <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/>
        <button function="menu" state="normal" draw_ops="menu_unfocused" />
        <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" />
        <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" />
        <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_unfocused" />
        <button version=">= 3.5" function="appmenu" state="prelight" draw_ops="appmenu_unfocused_prelight" />
        <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_unfocused_pressed" />
        <button function="shade" state="normal"><draw_ops></draw_ops></button>
        <button function="shade" state="pressed"><draw_ops></draw_ops></button>
        <button function="unshade" state="normal"><draw_ops></draw_ops></button>
        <button function="unshade" state="pressed"><draw_ops></draw_ops></button>
        <button function="above" state="normal"><draw_ops></draw_ops></button>
        <button function="above" state="pressed"><draw_ops></draw_ops></button>
        <button function="unabove" state="normal"><draw_ops></draw_ops></button>
        <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
        <button function="stick" state="normal"><draw_ops></draw_ops></button>
        <button function="stick" state="pressed"><draw_ops></draw_ops></button>
        <button function="unstick" state="normal"><draw_ops></draw_ops></button>
        <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
    </frame_style>
     
    <frame_style name="modal_dialog_focused" geometry="modal">
        <piece position="entire_background" draw_ops="entire_background_focused" />
        <piece position="titlebar" draw_ops="titlebar_focused" />
        <piece position="title" draw_ops="title_focused" />
        <piece position="overlay" draw_ops="border_focused" />
        <button function="close" state="normal" draw_ops="close_focused" />
        <button function="close" state="pressed" draw_ops="close_focused_pressed" />
        <button function="close" state="prelight" draw_ops="close_focused_prelight" />
        <button function="maximize" state="normal" draw_ops="maximize_focused" />
        <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" />
        <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" />
        <button function="minimize" state="normal" draw_ops="minimize_focused" />
        <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" />
        <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" />
        <button function="menu" state="normal" draw_ops="menu_focused" />
        <button function="menu" state="pressed" draw_ops="menu_focused_pressed" />
        <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_focused" />
        <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_focused_pressed" />
        <button function="shade" state="normal" draw_ops="shade_focused" />
        <button function="shade" state="pressed" draw_ops="shade_focused_pressed" />
        <button function="unshade" state="normal" draw_ops="shade_focused" />
        <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" />
     
        <button function="left_middle_background" state="normal" draw_ops="button"/>
        <button function="left_middle_background" state="pressed" draw_ops="button_pressed"/>
        <button function="left_middle_background" state="prelight" draw_ops="button_prelight"/>
        <button function="right_middle_background" state="normal" draw_ops="button"/>
        <button function="right_middle_background" state="pressed" draw_ops="button_pressed"/>
        <button function="right_middle_background" state="prelight" draw_ops="button_prelight"/>
     
        <button function="above" state="normal"><draw_ops></draw_ops></button>
        <button function="above" state="pressed"><draw_ops></draw_ops></button>
        <button function="unabove" state="normal"><draw_ops></draw_ops></button>
        <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
        <button function="stick" state="normal"><draw_ops></draw_ops></button>
        <button function="stick" state="pressed"><draw_ops></draw_ops></button>
        <button function="unstick" state="normal"><draw_ops></draw_ops></button><button function="unstick" state="pressed"><draw_ops></draw_ops></button>
    </frame_style>
     
    <frame_style name="modal_dialog_unfocused" geometry="modal">
        <piece position="entire_background" draw_ops="entire_background_unfocused" />
        <piece position="titlebar" draw_ops="titlebar_unfocused" />
        <piece position="title" draw_ops="title_unfocused" />
        <piece position="overlay" draw_ops="border_unfocused" />
        <button function="close" state="normal" draw_ops="close_unfocused"/>
        <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
        <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
        <button function="maximize" state="normal" draw_ops="maximize_unfocused"/>
        <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/>
        <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/>
        <button function="minimize" state="normal" draw_ops="minimize_unfocused"/>
        <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/>
        <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/>
        <button function="menu" state="normal" draw_ops="menu_unfocused" />
        <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" />
        <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" />
        <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_unfocused" />
        <button version=">= 3.5" function="appmenu" state="prelight" draw_ops="appmenu_unfocused_prelight" />
        <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_unfocused_pressed" />
        <button function="shade" state="normal" draw_ops="shade_unfocused" />
        <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" />
        <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" />
        <button function="unshade" state="normal" draw_ops="shade_unfocused" />
        <button function="unshade" state="prelight" draw_ops="shade_unfocused_prelight" />
        <button function="unshade" state="pressed" draw_ops="shade_unfocused_pressed" />
        <button function="above" state="normal"><draw_ops></draw_ops></button>
        <button function="above" state="pressed"><draw_ops></draw_ops></button>
        <button function="unabove" state="normal"><draw_ops></draw_ops></button>
        <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
        <button function="stick" state="normal"><draw_ops></draw_ops></button>
        <button function="stick" state="pressed"><draw_ops></draw_ops></button>
        <button function="unstick" state="normal"><draw_ops></draw_ops></button>
        <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
    </frame_style>
     
    <frame_style name="utility_focused" geometry="small">
        <piece position="entire_background" draw_ops="entire_background_focused" />
        <piece position="titlebar" draw_ops="titlebar_focused" />
        <piece position="title" draw_ops="title_focused" />
        <piece position="overlay" draw_ops="border_focused" />
        <button function="close" state="normal" draw_ops="close_focused" />
        <button function="close" state="pressed" draw_ops="close_focused_pressed" />
        <button function="close" state="prelight" draw_ops="close_focused_prelight" />
        <button function="maximize" state="normal" draw_ops="maximize_focused" />
        <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" />
        <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" />
        <button function="minimize" state="normal" draw_ops="minimize_focused" />
        <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" />
        <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" />
        <button function="menu" state="normal" draw_ops="menu_focused" />
        <button function="menu" state="pressed" draw_ops="menu_focused_pressed" />
        <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_focused" />
        <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_focused_pressed" />
        <button function="shade" state="normal" draw_ops="shade_focused" />
        <button function="shade" state="pressed" draw_ops="shade_focused_pressed" />
        <button function="unshade" state="normal" draw_ops="shade_focused" />
        <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" />
     
        <button function="left_middle_background" state="normal" draw_ops="button"/>
        <button function="left_middle_background" state="pressed" draw_ops="button_pressed"/>
        <button function="left_middle_background" state="prelight" draw_ops="button_prelight"/>
        <button function="right_middle_background" state="normal" draw_ops="button"/>
        <button function="right_middle_background" state="pressed" draw_ops="button_pressed"/>
        <button function="right_middle_background" state="prelight" draw_ops="button_prelight"/>
     
        <button function="above" state="normal"><draw_ops></draw_ops></button>
        <button function="above" state="pressed"><draw_ops></draw_ops></button>
        <button function="unabove" state="normal"><draw_ops></draw_ops></button>
        <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
        <button function="stick" state="normal"><draw_ops></draw_ops></button>
        <button function="stick" state="pressed"><draw_ops></draw_ops></button>
        <button function="unstick" state="normal"><draw_ops></draw_ops></button>
        <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
    </frame_style>
     
    <frame_style name="utility_unfocused" geometry="small_unfocused">
        <piece position="entire_background" draw_ops="entire_background_unfocused" />
        <piece position="titlebar" draw_ops="titlebar_unfocused" />
        <piece position="title" draw_ops="title_unfocused" />
        <piece position="overlay" draw_ops="border_unfocused" />
        <button function="close" state="normal" draw_ops="close_unfocused"/>
        <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
        <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
        <button function="maximize" state="normal" draw_ops="maximize_unfocused"/>
        <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/>
        <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/>
        <button function="minimize" state="normal" draw_ops="minimize_unfocused"/>
        <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/>
        <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/>
        <button function="menu" state="normal" draw_ops="menu_unfocused" />
        <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" />
        <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" />
        <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_unfocused" />
        <button version=">= 3.5" function="appmenu" state="prelight" draw_ops="appmenu_unfocused_prelight" />
        <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_unfocused_pressed" />
        <button function="shade" state="normal" draw_ops="shade_unfocused" />
        <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" />
        <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" />
        <button function="unshade" state="normal" draw_ops="shade_unfocused" />
        <button function="unshade" state="prelight" draw_ops="shade_unfocused_prelight" />
        <button function="unshade" state="pressed" draw_ops="shade_unfocused_pressed" />
        <button function="above" state="normal"><draw_ops></draw_ops></button>
        <button function="above" state="pressed"><draw_ops></draw_ops></button>
        <button function="unabove" state="normal"><draw_ops></draw_ops></button>
        <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
        <button function="stick" state="normal"><draw_ops></draw_ops></button>
        <button function="stick" state="pressed"><draw_ops></draw_ops></button>
        <button function="unstick" state="normal"><draw_ops></draw_ops></button>
        <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
    </frame_style>
     
    <frame_style name="border_focused" geometry="border">
        <piece position="entire_background" draw_ops="entire_background_focused" />
        <piece position="overlay" draw_ops="border_focused" />
        <button function="close" state="normal"><draw_ops></draw_ops></button>
        <button function="close" state="pressed"><draw_ops></draw_ops></button>
        <button function="maximize" state="normal"><draw_ops></draw_ops></button>
        <button function="maximize" state="pressed"><draw_ops></draw_ops></button>
        <button function="minimize" state="normal"><draw_ops></draw_ops></button>
        <button function="minimize" state="pressed"><draw_ops></draw_ops></button>
        <button function="menu" state="normal"><draw_ops></draw_ops></button>
        <button function="menu" state="pressed"><draw_ops></draw_ops></button>
        <button version=">= 3.5" function="appmenu" state="normal"><draw_ops></draw_ops></button>
        <button version=">= 3.5" function="appmenu" state="pressed"><draw_ops></draw_ops></button>
        <button function="shade" state="normal"><draw_ops></draw_ops></button>
        <button function="shade" state="pressed"><draw_ops></draw_ops></button>
        <button function="unshade" state="normal"><draw_ops></draw_ops></button>
        <button function="unshade" state="pressed"><draw_ops></draw_ops></button>
        <button function="above" state="normal"><draw_ops></draw_ops></button>
        <button function="above" state="pressed"><draw_ops></draw_ops></button>
        <button function="unabove" state="normal"><draw_ops></draw_ops></button>
        <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
        <button function="stick" state="normal"><draw_ops></draw_ops></button>
        <button function="stick" state="pressed"><draw_ops></draw_ops></button>
        <button function="unstick" state="normal"><draw_ops></draw_ops></button>
        <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
    </frame_style>
     
    <frame_style name="border_unfocused" geometry="border">
        <piece position="entire_background" draw_ops="entire_background_unfocused" />
        <piece position="overlay" draw_ops="border_unfocused" />
        <button function="close" state="normal"><draw_ops></draw_ops></button>
        <button function="close" state="pressed"><draw_ops></draw_ops></button>
        <button function="maximize" state="normal"><draw_ops></draw_ops></button>
        <button function="maximize" state="pressed"><draw_ops></draw_ops></button>
        <button function="minimize" state="normal"><draw_ops></draw_ops></button>
        <button function="minimize" state="pressed"><draw_ops></draw_ops></button>
        <button function="menu" state="normal"><draw_ops></draw_ops></button>
        <button function="menu" state="pressed"><draw_ops></draw_ops></button>
        <button version=">= 3.5" function="appmenu" state="normal"><draw_ops></draw_ops></button>
        <button version=">= 3.5" function="appmenu" state="pressed"><draw_ops></draw_ops></button>
        <button function="shade" state="normal"><draw_ops></draw_ops></button>
        <button function="shade" state="pressed"><draw_ops></draw_ops></button>
        <button function="unshade" state="normal"><draw_ops></draw_ops></button>
        <button function="unshade" state="pressed"><draw_ops></draw_ops></button>
        <button function="above" state="normal"><draw_ops></draw_ops></button>
        <button function="above" state="pressed"><draw_ops></draw_ops></button>
        <button function="unabove" state="normal"><draw_ops></draw_ops></button>
        <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
        <button function="stick" state="normal"><draw_ops></draw_ops></button>
        <button function="stick" state="pressed"><draw_ops></draw_ops></button>
        <button function="unstick" state="normal"><draw_ops></draw_ops></button>
        <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
    </frame_style>
     
    <frame_style name="borderless" geometry="borderless">
        <button function="close" state="normal"><draw_ops></draw_ops></button>
        <button function="close" state="pressed"><draw_ops></draw_ops></button>
        <button function="maximize" state="normal"><draw_ops></draw_ops></button>
        <button function="maximize" state="pressed"><draw_ops></draw_ops></button>
        <button function="minimize" state="normal"><draw_ops></draw_ops></button>
        <button function="minimize" state="pressed"><draw_ops></draw_ops></button>
        <button function="menu" state="normal"><draw_ops></draw_ops></button>
        <button function="menu" state="pressed"><draw_ops></draw_ops></button>
        <button version=">= 3.5" function="appmenu" state="normal"><draw_ops></draw_ops></button>
        <button version=">= 3.5" function="appmenu" state="pressed"><draw_ops></draw_ops></button>
        <button function="shade" state="normal"><draw_ops></draw_ops></button>
        <button function="shade" state="pressed"><draw_ops></draw_ops></button>
        <button function="unshade" state="normal"><draw_ops></draw_ops></button>
        <button function="unshade" state="pressed"><draw_ops></draw_ops></button>
        <button function="above" state="normal"><draw_ops></draw_ops></button>
        <button function="above" state="pressed"><draw_ops></draw_ops></button>
        <button function="unabove" state="normal"><draw_ops></draw_ops></button>
        <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
        <button function="stick" state="normal"><draw_ops></draw_ops></button>
        <button function="stick" state="pressed"><draw_ops></draw_ops></button>
        <button function="unstick" state="normal"><draw_ops></draw_ops></button>
        <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
    </frame_style>
     
    <frame_style name="attached_focused" geometry="attached">
        <piece position="entire_background" draw_ops="entire_background_focused" />
        <piece position="titlebar" draw_ops="titlebar_fill_focused" />
        <piece position="title" draw_ops="title_focused" />
        <piece position="overlay" draw_ops="border_focused" />
        <button function="close" state="normal"><draw_ops></draw_ops></button>
        <button function="close" state="pressed"><draw_ops></draw_ops></button>
        <button function="maximize" state="normal"><draw_ops></draw_ops></button>
        <button function="maximize" state="pressed"><draw_ops></draw_ops></button>
        <button function="minimize" state="normal"><draw_ops></draw_ops></button>
        <button function="minimize" state="pressed"><draw_ops></draw_ops></button>
        <button function="menu" state="normal"><draw_ops></draw_ops></button>
        <button function="menu" state="pressed"><draw_ops></draw_ops></button>
        <button version=">= 3.5" function="appmenu" state="normal"><draw_ops></draw_ops></button>
        <button version=">= 3.5" function="appmenu" state="pressed"><draw_ops></draw_ops></button>
        <button function="shade" state="normal"><draw_ops></draw_ops></button>
        <button function="shade" state="pressed"><draw_ops></draw_ops></button>
        <button function="unshade" state="normal"><draw_ops></draw_ops></button>
        <button function="unshade" state="pressed"><draw_ops></draw_ops></button>
        <button function="above" state="normal"><draw_ops></draw_ops></button>
        <button function="above" state="pressed"><draw_ops></draw_ops></button>
        <button function="unabove" state="normal"><draw_ops></draw_ops></button>
        <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
        <button function="stick" state="normal"><draw_ops></draw_ops></button>
        <button function="stick" state="pressed"><draw_ops></draw_ops></button>
        <button function="unstick" state="normal"><draw_ops></draw_ops></button>
        <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
    </frame_style>
     
    <frame_style name="attached_unfocused" geometry="attached">
        <piece position="entire_background" draw_ops="entire_background_unfocused" />
        <piece position="titlebar" draw_ops="titlebar_fill_unfocused" />
        <piece position="title" draw_ops="title_unfocused" />
        <piece position="overlay" draw_ops="border_unfocused" />
        <button function="close" state="normal"><draw_ops></draw_ops></button>
        <button function="close" state="pressed"><draw_ops></draw_ops></button>
        <button function="maximize" state="normal"><draw_ops></draw_ops></button>
        <button function="maximize" state="pressed"><draw_ops></draw_ops></button>
        <button function="minimize" state="normal"><draw_ops></draw_ops></button>
        <button function="minimize" state="pressed"><draw_ops></draw_ops></button>
        <button function="menu" state="normal"><draw_ops></draw_ops></button>
        <button function="menu" state="pressed"><draw_ops></draw_ops></button>
        <button version=">= 3.5" function="appmenu" state="normal"><draw_ops></draw_ops></button>
        <button version=">= 3.5" function="appmenu" state="pressed"><draw_ops></draw_ops></button>
        <button function="shade" state="normal"><draw_ops></draw_ops></button>
        <button function="shade" state="pressed"><draw_ops></draw_ops></button>
        <button function="unshade" state="normal"><draw_ops></draw_ops></button>
        <button function="unshade" state="pressed"><draw_ops></draw_ops></button>
        <button function="above" state="normal"><draw_ops></draw_ops></button>
        <button function="above" state="pressed"><draw_ops></draw_ops></button>
        <button function="unabove" state="normal"><draw_ops></draw_ops></button>
        <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
        <button function="stick" state="normal"><draw_ops></draw_ops></button>
        <button function="stick" state="pressed"><draw_ops></draw_ops></button>
        <button function="unstick" state="normal"><draw_ops></draw_ops></button>
        <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
    </frame_style>
     
    <frame_style name="tiled_left_focused" geometry="tiled_left">
        <piece position="entire_background" draw_ops="entire_background_focused" />
        <piece position="titlebar" draw_ops="titlebar_fill_focused" />
        <piece position="title" draw_ops="title_focused" />
        <!-- <piece position="overlay" draw_ops="border_right_focused" /> -->
        <button function="close" state="normal" draw_ops="close_focused" />
        <button function="close" state="pressed" draw_ops="close_focused_pressed" />
        <button function="close" state="prelight" draw_ops="close_focused_prelight" />
        <button function="maximize" state="normal" draw_ops="maximize_focused" />
        <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" />
        <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" />
        <button function="minimize" state="normal" draw_ops="minimize_focused" />
        <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" />
        <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" />
        <button function="menu" state="normal" draw_ops="menu_focused" />
        <button function="menu" state="pressed" draw_ops="menu_focused_pressed" />
        <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_focused" />
        <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_focused_pressed" />
        <button function="shade" state="normal" draw_ops="shade_focused" />
        <button function="shade" state="pressed" draw_ops="shade_focused_pressed" />
        <button function="unshade" state="normal" draw_ops="shade_focused" />
        <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" />
     
        <button function="left_middle_background" state="normal" draw_ops="button"/>
        <button function="left_middle_background" state="pressed" draw_ops="button_pressed"/>
        <button function="left_middle_background" state="prelight" draw_ops="button_prelight"/>
        <button function="right_middle_background" state="normal" draw_ops="button"/>
        <button function="right_middle_background" state="pressed" draw_ops="button_pressed"/>
        <button function="right_middle_background" state="prelight" draw_ops="button_prelight"/>
     
        <button function="above" state="normal"><draw_ops></draw_ops></button>
        <button function="above" state="pressed"><draw_ops></draw_ops></button>
        <button function="unabove" state="normal"><draw_ops></draw_ops></button>
        <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
        <button function="stick" state="normal"><draw_ops></draw_ops></button>
        <button function="stick" state="pressed"><draw_ops></draw_ops></button>
        <button function="unstick" state="normal"><draw_ops></draw_ops></button>
        <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
    </frame_style>
     
    <frame_style name="tiled_left_unfocused" geometry="tiled_left">
        <piece position="entire_background" draw_ops="entire_background_unfocused" />
        <piece position="titlebar" draw_ops="titlebar_fill_unfocused" />
        <piece position="title" draw_ops="title_unfocused" />
        <!-- <piece position="overlay" draw_ops="border_right_unfocused" /> -->
        <button function="close" state="normal" draw_ops="close_unfocused"/>
        <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
        <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
        <button function="maximize" state="normal" draw_ops="maximize_unfocused"/>
        <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/>
        <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/>
        <button function="minimize" state="normal" draw_ops="minimize_unfocused"/>
        <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/>
        <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/>
        <button function="menu" state="normal" draw_ops="menu_unfocused" />
        <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" />
        <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" />
        <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_unfocused" />
        <button version=">= 3.5" function="appmenu" state="prelight" draw_ops="appmenu_unfocused_prelight" />
        <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_unfocused_pressed" />
        <button function="shade" state="normal" draw_ops="shade_unfocused" />
        <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" />
        <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" />
        <button function="unshade" state="normal" draw_ops="shade_unfocused" />
        <button function="unshade" state="prelight" draw_ops="shade_unfocused_prelight" />
        <button function="unshade" state="pressed" draw_ops="shade_unfocused_pressed" />
        <button function="above" state="normal"><draw_ops></draw_ops></button>
        <button function="above" state="pressed"><draw_ops></draw_ops></button>
        <button function="unabove" state="normal"><draw_ops></draw_ops></button>
        <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
        <button function="stick" state="normal"><draw_ops></draw_ops></button>
        <button function="stick" state="pressed"><draw_ops></draw_ops></button>
        <button function="unstick" state="normal"><draw_ops></draw_ops></button>
        <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
    </frame_style>
     
    <frame_style name="tiled_right_focused" geometry="tiled_right">
        <piece position="entire_background" draw_ops="entire_background_focused" />
        <piece position="titlebar" draw_ops="titlebar_fill_focused" />
        <piece position="title" draw_ops="title_focused" />
        <piece position="overlay" draw_ops="border_left_focused" />
        <button function="close" state="normal" draw_ops="close_focused" />
        <button function="close" state="pressed" draw_ops="close_focused_pressed" />
        <button function="close" state="prelight" draw_ops="close_focused_prelight" />
        <button function="maximize" state="normal" draw_ops="maximize_focused" />
        <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed" />
        <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight" />
        <button function="minimize" state="normal" draw_ops="minimize_focused" />
        <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed" />
        <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight" />
        <button function="menu" state="normal" draw_ops="menu_focused" />
        <button function="menu" state="pressed" draw_ops="menu_focused_pressed" />
        <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_focused" />
        <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_focused_pressed" />
        <button function="shade" state="normal" draw_ops="shade_focused" />
        <button function="shade" state="pressed" draw_ops="shade_focused_pressed" />
        <button function="unshade" state="normal" draw_ops="shade_focused" />
        <button function="unshade" state="pressed" draw_ops="shade_focused_pressed" />
     
        <button function="left_middle_background" state="normal" draw_ops="button"/>
        <button function="left_middle_background" state="pressed" draw_ops="button_pressed"/>
        <button function="left_middle_background" state="prelight" draw_ops="button_prelight"/>
        <button function="right_middle_background" state="normal" draw_ops="button"/>
        <button function="right_middle_background" state="pressed" draw_ops="button_pressed"/>
        <button function="right_middle_background" state="prelight" draw_ops="button_prelight"/>
     
        <button function="above" state="normal"><draw_ops></draw_ops></button>
        <button function="above" state="pressed"><draw_ops></draw_ops></button>
        <button function="unabove" state="normal"><draw_ops></draw_ops></button>
        <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
        <button function="stick" state="normal"><draw_ops></draw_ops></button>
        <button function="stick" state="pressed"><draw_ops></draw_ops></button>
        <button function="unstick" state="normal"><draw_ops></draw_ops></button>
        <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
    </frame_style>
     
    <frame_style name="tiled_right_unfocused" geometry="tiled_right">
        <piece position="entire_background" draw_ops="entire_background_unfocused" />
        <piece position="titlebar" draw_ops="titlebar_fill_unfocused" />
        <piece position="title" draw_ops="title_unfocused" />
        <piece position="overlay" draw_ops="border_left_unfocused" />
        <button function="close" state="normal" draw_ops="close_unfocused"/>
        <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
        <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
        <button function="maximize" state="normal" draw_ops="maximize_unfocused"/>
        <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/>
        <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/>
        <button function="minimize" state="normal" draw_ops="minimize_unfocused"/>
        <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/>
        <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/>
        <button function="menu" state="normal" draw_ops="menu_unfocused" />
        <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight" />
        <button function="menu" state="pressed" draw_ops="menu_unfocused_pressed" />
        <button version=">= 3.5" function="appmenu" state="normal" draw_ops="appmenu_unfocused" />
        <button version=">= 3.5" function="appmenu" state="prelight" draw_ops="appmenu_unfocused_prelight" />
        <button version=">= 3.5" function="appmenu" state="pressed" draw_ops="appmenu_unfocused_pressed" />
        <button function="shade" state="normal" draw_ops="shade_unfocused" />
        <button function="shade" state="prelight" draw_ops="shade_unfocused_prelight" />
        <button function="shade" state="pressed" draw_ops="shade_unfocused_pressed" />
        <button function="unshade" state="normal" draw_ops="shade_unfocused" />
        <button function="unshade" state="prelight" draw_ops="shade_unfocused_prelight" />
        <button function="unshade" state="pressed" draw_ops="shade_unfocused_pressed" />
        <button function="above" state="normal"><draw_ops></draw_ops></button>
        <button function="above" state="pressed"><draw_ops></draw_ops></button>
        <button function="unabove" state="normal"><draw_ops></draw_ops></button>
        <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
        <button function="stick" state="normal"><draw_ops></draw_ops></button>
        <button function="stick" state="pressed"><draw_ops></draw_ops></button>
        <button function="unstick" state="normal"><draw_ops></draw_ops></button>
        <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
    </frame_style>
     
    <!-- placeholder for unimplementated styles-->
    <frame_style name="blank" geometry="normal">
        <button function="close" state="normal"><draw_ops></draw_ops></button>
        <button function="close" state="pressed"><draw_ops></draw_ops></button>
        <button function="maximize" state="normal"><draw_ops></draw_ops></button>
        <button function="maximize" state="pressed"><draw_ops></draw_ops></button>
        <button function="minimize" state="normal"><draw_ops></draw_ops></button>
        <button function="minimize" state="pressed"><draw_ops></draw_ops></button>
        <button function="menu" state="normal"><draw_ops></draw_ops></button>
        <button function="menu" state="pressed"><draw_ops></draw_ops></button>
        <button version=">= 3.5" function="appmenu" state="normal"><draw_ops></draw_ops></button>
        <button version=">= 3.5" function="appmenu" state="pressed"><draw_ops></draw_ops></button>
        <button function="shade" state="normal"><draw_ops></draw_ops></button>
        <button function="shade" state="pressed"><draw_ops></draw_ops></button>
        <button function="unshade" state="normal"><draw_ops></draw_ops></button>
        <button function="unshade" state="pressed"><draw_ops></draw_ops></button>
        <button function="above" state="normal"><draw_ops></draw_ops></button>
        <button function="above" state="pressed"><draw_ops></draw_ops></button>
        <button function="unabove" state="normal"><draw_ops></draw_ops></button>
        <button function="unabove" state="pressed"><draw_ops></draw_ops></button>
        <button function="stick" state="normal"><draw_ops></draw_ops></button>
        <button function="stick" state="pressed"><draw_ops></draw_ops></button>
        <button function="unstick" state="normal"><draw_ops></draw_ops></button>
        <button function="unstick" state="pressed"><draw_ops></draw_ops></button>
    </frame_style>
     
    <!-- frame style sets -->
     
    <frame_style_set name="normal_style_set">
        <frame focus="yes" state="normal" resize="both" style="normal_focused"/>
        <frame focus="no" state="normal" resize="both" style="normal_unfocused"/>
        <frame focus="yes" state="maximized" style="normal_max_focused"/>
        <frame focus="no" state="maximized" style="normal_max_unfocused"/>
        <frame focus="yes" state="shaded" style="normal_focused"/>
        <frame focus="no" state="shaded" style="normal_unfocused"/>
        <frame focus="yes" state="maximized_and_shaded" style="normal_max_shaded_focused"/>
        <frame focus="no" state="maximized_and_shaded" style="normal_max_shaded_unfocused"/>
        <frame version=">= 3.3" focus="yes" state="tiled_left" style="tiled_left_focused"/>
        <frame version=">= 3.3" focus="no" state="tiled_left" style="tiled_left_unfocused"/>
        <frame version=">= 3.3" focus="yes" state="tiled_right" style="tiled_right_focused"/>
        <frame version=">= 3.3" focus="no" state="tiled_right" style="tiled_right_unfocused"/>
        <frame version=">= 3.3" focus="yes" state="tiled_left_and_shaded" style="tiled_left_focused"/>
        <frame version=">= 3.3" focus="no" state="tiled_left_and_shaded" style="tiled_left_unfocused"/>
        <frame version=">= 3.3" focus="yes" state="tiled_right_and_shaded" style="tiled_right_focused"/>
        <frame version=">= 3.3" focus="no" state="tiled_right_and_shaded" style="tiled_right_unfocused"/>
    </frame_style_set>
     
    <frame_style_set name="dialog_style_set">
        <frame focus="yes" state="normal" resize="both" style="dialog_focused"/>
        <frame focus="no" state="normal" resize="both" style="dialog_unfocused"/>
        <frame focus="yes" state="maximized" style="blank"/>
        <frame focus="no" state="maximized" style="blank"/>
        <frame focus="yes" state="shaded" style="dialog_focused"/>
        <frame focus="no" state="shaded" style="dialog_unfocused"/>
        <frame focus="yes" state="maximized_and_shaded" style="blank"/>
        <frame focus="no" state="maximized_and_shaded" style="blank"/>
    </frame_style_set>
     
    <frame_style_set name="modal_dialog_style_set">
        <frame focus="yes" state="normal" resize="both" style="modal_dialog_focused"/>
        <frame focus="no" state="normal" resize="both" style="modal_dialog_unfocused"/>
        <frame focus="yes" state="maximized" style="blank"/>
        <frame focus="no" state="maximized" style="blank"/>
        <frame focus="yes" state="shaded" style="modal_dialog_focused"/>
        <frame focus="no" state="shaded" style="modal_dialog_unfocused"/>
        <frame focus="yes" state="maximized_and_shaded" style="blank"/>
        <frame focus="no" state="maximized_and_shaded" style="blank"/>
    </frame_style_set>
     
    <frame_style_set name="utility_style_set">
        <frame focus="yes" state="normal" resize="both" style="utility_focused"/>
        <frame focus="no" state="normal" resize="both" style="utility_unfocused"/>
        <frame focus="yes" state="maximized" style="blank"/>
        <frame focus="no" state="maximized" style="blank"/>
        <frame focus="yes" state="shaded" style="utility_focused"/>
        <frame focus="no" state="shaded" style="utility_unfocused"/>
        <frame focus="yes" state="maximized_and_shaded" style="blank"/>
        <frame focus="no" state="maximized_and_shaded" style="blank"/>
    </frame_style_set>
     
    <frame_style_set name="border_style_set">
        <frame focus="yes" state="normal" resize="both" style="border_focused"/>
        <frame focus="no" state="normal" resize="both" style="border_unfocused"/>
        <frame focus="yes" state="maximized" style="borderless"/>
        <frame focus="no" state="maximized" style="borderless"/>
        <frame focus="yes" state="shaded" style="blank"/>
        <frame focus="no" state="shaded" style="blank"/>
        <frame focus="yes" state="maximized_and_shaded" style="blank"/>
        <frame focus="no" state="maximized_and_shaded" style="blank"/>
    </frame_style_set>
     
    <frame_style_set name="attached_style_set">
        <frame focus="yes" state="normal" resize="both" style="attached_focused"/>
        <frame focus="no" state="normal" resize="both" style="attached_unfocused"/>
        <frame focus="yes" state="maximized" style="blank"/>
        <frame focus="no" state="maximized" style="blank"/>
        <frame focus="yes" state="shaded" style="blank"/>
        <frame focus="no" state="shaded" style="blank"/>
        <frame focus="yes" state="maximized_and_shaded" style="blank"/>
        <frame focus="no" state="maximized_and_shaded" style="blank"/>
    </frame_style_set>
     
     
    <!-- windows -->
     
    <window type="normal" style_set="normal_style_set"/>
    <window type="dialog" style_set="dialog_style_set"/>
    <window type="modal_dialog" style_set="modal_dialog_style_set"/>
    <window type="menu" style_set="utility_style_set"/>
    <window type="utility" style_set="utility_style_set"/>
    <window type="border" style_set="border_style_set"/>
    <window version=">= 3.2" type="attached" style_set="attached_style_set"/>
     
    </metacity_theme>
    Αρέσει σε kouros17
  4. Soulrain Falls σ'ευχαριστώ, ναι έτσι δουλεύει, απλώς αποφάσισα να απενεργοποιήσω κάθε legacy add-on και να χρησιμοποιώ μόνο αυτά που είναι συμβατά με τη nightly. Αν δεν υπάρχει άλλος τρόπος θα το αφήσω έτσι και ίσως κάποια στιγμή να αναβαθμιστεί και το συγκεκριμένο add-on.

    DarkGoth σ'ευχαριστώ, όταν θα έχω χρόνο θα το κοιτάξω. :)
  5. Soulrain Falls Ο Αντμινιστράτορας

    Για να μπορεί να δουλέψει κάποιο πρόσθετο, χρειάζεται το κατάλληλο API. Όπως έχουν τα δεδομένα, δεν υπάρχει πλάνο από πλευράς Mozilla για την υποστήριξη αλλαγών στο UI, πέρα από το userChrome.css. Συν το ότι εγκαταλείπεται η XUL, στην οποία βασίζονται τα πρόσθετα που αλλάζουν το UI (όπως ήταν και το Classic Theme Restorer που επίσης θα παυθεί). Αυτό σημαίνει ότι πρόσθετα που έχουν τέτοιες λειτουργίες πολύ απλά δε γίνεται να αναβαθμιστούν.

    Επειδή όμως μιλάμε για Nightly, υπάρχει η δυνατότητα να δημιουργήσουν οι προγραμματιστές πειραματικά WebExtension APIs. Ίσως (πολύ μεγάλο «ίσως») να μπορέσει να δουλέψει έτσι. Και πάλι όμως, θα χρειαστεί σημαντική αλλαγή κώδικα αλλά και δεν πρόκειται να υποστηριχθεί επίσημα ένα τέτοιο πρόσθετο από τη Mozilla, με ό,τι συνεπάγεται αυτό για την αξιοπιστία και την ασφάλεια. Ο δε προγραμματιστής του φαίνεται να έχει άγνοια γιατί λέει ότι θα γίνει WebExtension αν και όποτε επανέλθει η πλήρης παραμετροποίηση του UI (το οποίο δε θα συμβεί ποτέ).

    Αυτή τη στιγμή δουλεύεται το CSD αλλά ακόμα έχει προβλήματα κι επίσης δεν υπάρχει κάποια ανακοίνωση για το αν θα εφαρμοστεί γενικά. Οπότε, έχεις να ελπίζεις σε αυτό (κι όσοι δε χρησιμοποιούμε GNOME θα έχουμε έναν ακόμα λόγο για να βρίζουμε αυτόν που εμπνεύστηκε το CSD).
    Αρέσει σε kouros17