]> git.sur5r.net Git - i3/i3/commitdiff
A__NET_REQUEST_FRAME_EXTENTS: use render_font_height()
authorOrestis Floros <orestisf1993@gmail.com>
Wed, 4 Apr 2018 15:09:34 +0000 (18:09 +0300)
committerOrestis Floros <orestisf1993@gmail.com>
Wed, 4 Apr 2018 15:09:34 +0000 (18:09 +0300)
src/handlers.c

index d5023b9d9eeddbc0d24ef119da9fafb0fa8568dd..15c05a8f3b93fe26d3d75a856b4c75d30d5b2cc8 100644 (file)
@@ -820,7 +820,7 @@ static void handle_client_message(xcb_client_message_event_t *event) {
         Rect r = {
             config.default_border_width, /* left */
             config.default_border_width, /* right */
-            config.font.height + 5,      /* top */
+            render_deco_height(),        /* top */
             config.default_border_width  /* bottom */
         };
         xcb_change_property(