Skip to content

Commit db3d31a

Browse files
committed
Update to upstream version 4.25.1
1 parent 7cfe681 commit db3d31a

5 files changed

Lines changed: 36 additions & 51 deletions

0001-Show-qubes-domain-in-configurable-colored-borders.patch

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/include/config_directives.h b/include/config_directives.h
2-
index 0141b83..7093b18 100644
2+
index fd384c0c..85e7310c 100644
33
--- a/include/config_directives.h
44
+++ b/include/config_directives.h
55
@@ -72,7 +72,7 @@ CFGFUN(tiling_drag, const char *value);
@@ -12,7 +12,7 @@ index 0141b83..7093b18 100644
1212
CFGFUN(floating_modifier, const char *modifiers);
1313
CFGFUN(default_border, const char *windowtype, const char *border, const long width);
1414
diff --git a/include/configuration.h b/include/configuration.h
15-
index c062ae4..6861806 100644
15+
index c062ae4c..68618067 100644
1616
--- a/include/configuration.h
1717
+++ b/include/configuration.h
1818
@@ -247,7 +247,7 @@ struct Config {
@@ -25,7 +25,7 @@ index c062ae4..6861806 100644
2525
struct Colortriple focused;
2626
struct Colortriple unfocused;
2727
diff --git a/include/data.h b/include/data.h
28-
index f448d26..3d4ae23 100644
28+
index f448d263..3d4ae235 100644
2929
--- a/include/data.h
3030
+++ b/include/data.h
3131
@@ -172,6 +172,24 @@ typedef enum {
@@ -67,7 +67,7 @@ index f448d26..3d4ae23 100644
6767
* sets "buddy list"). Useful to match specific windows in assignments or
6868
* for_window. */
6969
diff --git a/include/i3-atoms_rest.xmacro.h b/include/i3-atoms_rest.xmacro.h
70-
index fa915fd..cd6f801 100644
70+
index fa915fd6..cd6f8015 100644
7171
--- a/include/i3-atoms_rest.xmacro.h
7272
+++ b/include/i3-atoms_rest.xmacro.h
7373
@@ -22,4 +22,6 @@ xmacro(_NET_REQUEST_FRAME_EXTENTS) \
@@ -78,7 +78,7 @@ index fa915fd..cd6f801 100644
7878
+xmacro(_QUBES_LABEL) \
7979
xmacro(MANAGER)
8080
diff --git a/include/window.h b/include/window.h
81-
index 49ef13c..24591be 100644
81+
index 49ef13ce..24591bed 100644
8282
--- a/include/window.h
8383
+++ b/include/window.h
8484
@@ -40,6 +40,21 @@ void window_update_name(i3Window *win, xcb_get_property_reply_t *prop);
@@ -104,7 +104,7 @@ index 49ef13c..24591be 100644
104104
* Updates the CLIENT_LEADER (logical parent window).
105105
*
106106
diff --git a/parser-specs/config.spec b/parser-specs/config.spec
107-
index d152837..b4fe699 100644
107+
index d1528374..b4fe699c 100644
108108
--- a/parser-specs/config.spec
109109
+++ b/parser-specs/config.spec
110110
@@ -61,7 +61,7 @@ state INITIAL:
@@ -145,19 +145,19 @@ index d152837..b4fe699 100644
145145
# <exec|exec_always> [--no-startup-id] command
146146
state EXEC:
147147
diff --git a/src/commands.c b/src/commands.c
148-
index 8d22b52..cab3be2 100644
148+
index b421abbd..4ec19fc9 100644
149149
--- a/src/commands.c
150150
+++ b/src/commands.c
151-
@@ -705,7 +705,7 @@ void cmd_resize_set(I3_CMD, long cwidth, const char *mode_width, long cheight, c
151+
@@ -669,7 +669,7 @@ void cmd_resize_set(I3_CMD, long cwidth, const char *mode_width, long cheight, c
152152
ysuccess(success);
153153
}
154154

155-
-static int border_width_from_style(border_style_t border_style, long border_width, Con *con) {
155+
-static int border_width_from_style(const border_style_t border_style, const long border_width, Con *con) {
156156
+static int border_width_from_style_orig(border_style_t border_style, long border_width, Con *con) {
157157
if (border_style == BS_NONE) {
158158
return 0;
159159
}
160-
@@ -725,6 +725,11 @@ static int border_width_from_style(border_style_t border_style, long border_widt
160+
@@ -689,6 +689,11 @@ static int border_width_from_style(const border_style_t border_style, const long
161161
}
162162
}
163163

@@ -170,10 +170,10 @@ index 8d22b52..cab3be2 100644
170170
* Implementation of 'border normal|pixel [<n>]', 'border none|1pixel|toggle'.
171171
*
172172
diff --git a/src/config.c b/src/config.c
173-
index 60e0702..7336977 100644
173+
index 884052fd..b86904d7 100644
174174
--- a/src/config.c
175175
+++ b/src/config.c
176-
@@ -195,15 +195,99 @@ bool load_configuration(const char *override_configpath, config_load_t load_type
176+
@@ -191,15 +191,99 @@ bool load_configuration(const char *override_configpath, config_load_t load_type
177177
x.child_border = draw_util_hex_to_color(cbackground); \
178178
} while (0)
179179

@@ -280,7 +280,7 @@ index 60e0702..7336977 100644
280280

281281
/* the last argument (indicator color) is ignored for bar colors */
282282
INIT_COLOR(config.bar.focused, "#4c7899", "#285577", "#ffffff", "#000000");
283-
@@ -285,6 +369,12 @@ bool load_configuration(const char *override_configpath, config_load_t load_type
283+
@@ -280,6 +364,12 @@ bool load_configuration(const char *override_configpath, config_load_t load_type
284284
set_font(&config.font);
285285
}
286286

@@ -291,13 +291,13 @@ index 60e0702..7336977 100644
291291
+ config.default_floating_border_width = logical_px(2);
292292
+
293293
/* Make bar config blocks without a configured font use the i3-wide font. */
294-
Barconfig *current;
295294
if (load_type != C_VALIDATE) {
295+
Barconfig *current;
296296
diff --git a/src/config_directives.c b/src/config_directives.c
297-
index 38b506f..5177ef5 100644
297+
index 52ab6e14..dc236918 100644
298298
--- a/src/config_directives.c
299299
+++ b/src/config_directives.c
300-
@@ -592,40 +592,65 @@ CFGFUN(popup_during_fullscreen, const char *value) {
300+
@@ -598,40 +598,65 @@ CFGFUN(popup_during_fullscreen, const char *value) {
301301

302302
CFGFUN(color_single, const char *colorclass, const char *color) {
303303
/* used for client.background only currently */
@@ -380,10 +380,10 @@ index 38b506f..5177ef5 100644
380380
#undef APPLY_COLORS
381381
}
382382
diff --git a/src/manage.c b/src/manage.c
383-
index fc4db69..a23d273 100644
383+
index 3347d590..3de5f03e 100644
384384
--- a/src/manage.c
385385
+++ b/src/manage.c
386-
@@ -116,7 +116,7 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
386+
@@ -113,7 +113,7 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
387387
xcb_get_window_attributes_reply_t *attr = NULL;
388388

389389
xcb_get_property_cookie_t wm_type_cookie, strut_cookie, state_cookie,
@@ -392,7 +392,7 @@ index fc4db69..a23d273 100644
392392
class_cookie, leader_cookie, transient_cookie,
393393
role_cookie, startup_id_cookie, wm_hints_cookie,
394394
wm_normal_hints_cookie, motif_wm_hints_cookie, wm_user_time_cookie, wm_desktop_cookie,
395-
@@ -184,6 +184,8 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
395+
@@ -181,6 +181,8 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
396396
strut_cookie = GET_PROPERTY(A__NET_WM_STRUT_PARTIAL, UINT32_MAX);
397397
state_cookie = GET_PROPERTY(A__NET_WM_STATE, UINT32_MAX);
398398
utf8_title_cookie = GET_PROPERTY(A__NET_WM_NAME, 128);
@@ -401,7 +401,7 @@ index fc4db69..a23d273 100644
401401
leader_cookie = GET_PROPERTY(A_WM_CLIENT_LEADER, UINT32_MAX);
402402
transient_cookie = GET_PROPERTY(XCB_ATOM_WM_TRANSIENT_FOR, UINT32_MAX);
403403
title_cookie = GET_PROPERTY(XCB_ATOM_WM_NAME, 128);
404-
@@ -211,6 +213,8 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
404+
@@ -208,6 +210,8 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
405405
window_update_name_legacy(cwindow, xcb_get_property_reply(conn, title_cookie, NULL));
406406
window_update_name(cwindow, xcb_get_property_reply(conn, utf8_title_cookie, NULL));
407407
window_update_icon(cwindow, xcb_get_property_reply(conn, wm_icon_cookie, NULL));
@@ -411,7 +411,7 @@ index fc4db69..a23d273 100644
411411
window_update_transient_for(cwindow, xcb_get_property_reply(conn, transient_cookie, NULL));
412412
window_update_strut_partial(cwindow, xcb_get_property_reply(conn, strut_cookie, NULL));
413413
diff --git a/src/resize.c b/src/resize.c
414-
index 43207fd..1bb1c9d 100644
414+
index 43207fd6..1bb1c9de 100644
415415
--- a/src/resize.c
416416
+++ b/src/resize.c
417417
@@ -229,7 +229,7 @@ void resize_graphical_handler(Con *first, Con *second, orientation_t orientation
@@ -424,10 +424,10 @@ index 43207fd..1bb1c9d 100644
424424
mask |= XCB_CW_OVERRIDE_REDIRECT;
425425
values[1] = 1;
426426
diff --git a/src/restore_layout.c b/src/restore_layout.c
427-
index c0cb7f0..ddee74a 100644
427+
index ba8199d9..690d1fb8 100644
428428
--- a/src/restore_layout.c
429429
+++ b/src/restore_layout.c
430-
@@ -128,8 +128,8 @@ void restore_connect(void) {
430+
@@ -127,8 +127,8 @@ void restore_connect(void) {
431431
}
432432

433433
static void update_placeholder_contents(placeholder_state *state) {
@@ -438,7 +438,7 @@ index c0cb7f0..ddee74a 100644
438438

439439
draw_util_clear_surface(&(state->surface), background);
440440

441-
@@ -197,7 +197,7 @@ static void open_placeholder_window(Con *con) {
441+
@@ -200,7 +200,7 @@ static void open_placeholder_window(Con *con) {
442442
true,
443443
XCB_CW_BACK_PIXEL | XCB_CW_EVENT_MASK,
444444
(uint32_t[]){
@@ -448,7 +448,7 @@ index c0cb7f0..ddee74a 100644
448448
});
449449
/* Make i3 not focus this window. */
450450
diff --git a/src/tiling_drag.c b/src/tiling_drag.c
451-
index 4311233..bcde034 100644
451+
index 6992f93a..e70f2b0a 100644
452452
--- a/src/tiling_drag.c
453453
+++ b/src/tiling_drag.c
454454
@@ -273,7 +273,7 @@ static xcb_window_t create_drop_indicator(Rect rect) {
@@ -461,7 +461,7 @@ index 4311233..bcde034 100644
461461
mask |= XCB_CW_OVERRIDE_REDIRECT;
462462
values[1] = 1;
463463
diff --git a/src/window.c b/src/window.c
464-
index 46d0c5d..6b5dfa7 100644
464+
index 0106c6c4..7de74aa4 100644
465465
--- a/src/window.c
466466
+++ b/src/window.c
467467
@@ -136,6 +136,63 @@ void window_update_name_legacy(i3Window *win, xcb_get_property_reply_t *prop) {
@@ -529,10 +529,10 @@ index 46d0c5d..6b5dfa7 100644
529529
* Updates the CLIENT_LEADER (logical parent window).
530530
*
531531
diff --git a/src/x.c b/src/x.c
532-
index 6c70413..a33abde 100644
532+
index 87ee05c2..9d24f2a6 100644
533533
--- a/src/x.c
534534
+++ b/src/x.c
535-
@@ -495,20 +495,31 @@ void x_draw_decoration(Con *con) {
535+
@@ -492,20 +492,31 @@ void x_draw_decoration(Con *con) {
536536
/* 1: build deco_params and compare with cache */
537537
struct deco_render_params *p = scalloc(1, sizeof(struct deco_render_params));
538538

@@ -570,7 +570,7 @@ index 6c70413..a33abde 100644
570570
}
571571

572572
p->border_style = con_border_style(con);
573-
@@ -518,7 +529,7 @@ void x_draw_decoration(Con *con) {
573+
@@ -515,7 +526,7 @@ void x_draw_decoration(Con *con) {
574574
p->con_rect = (struct width_height){r->width, r->height};
575575
p->con_window_rect = (struct width_height){w->width, w->height};
576576
p->con_deco_rect = con->deco_rect;
@@ -579,7 +579,7 @@ index 6c70413..a33abde 100644
579579
p->con_is_leaf = con_is_leaf(con);
580580
p->parent_layout = con->parent->layout;
581581

582-
@@ -554,16 +565,16 @@ void x_draw_decoration(Con *con) {
582+
@@ -551,16 +562,16 @@ void x_draw_decoration(Con *con) {
583583
draw_util_clear_surface(&(con->frame_buffer), (color_t){.red = 0.0, .green = 0.0, .blue = 0.0});
584584

585585
/* top area */
@@ -600,7 +600,7 @@ index 6c70413..a33abde 100644
600600
w->x + w->width, 0, r->width - (w->x + w->width), r->height);
601601
}
602602

603-
@@ -640,8 +651,6 @@ void x_draw_decoration(Con *con) {
603+
@@ -637,8 +648,6 @@ void x_draw_decoration(Con *con) {
604604
/* 6: draw the icon and title */
605605
int text_offset_y = (con->deco_rect.height - config.font.height) / 2;
606606

@@ -609,15 +609,15 @@ index 6c70413..a33abde 100644
609609
const int deco_width = (int)con->deco_rect.width;
610610
const int title_padding = logical_px(2);
611611

612-
@@ -684,6 +693,7 @@ void x_draw_decoration(Con *con) {
612+
@@ -681,6 +690,7 @@ void x_draw_decoration(Con *con) {
613613
}
614614

615615
i3String *title = NULL;
616616
+
617617
if (win == NULL) {
618618
if (con->title_format == NULL) {
619619
char *_title;
620-
@@ -703,6 +713,18 @@ void x_draw_decoration(Con *con) {
620+
@@ -700,6 +710,18 @@ void x_draw_decoration(Con *con) {
621621
goto copy_pixmaps;
622622
}
623623

@@ -636,7 +636,7 @@ index 6c70413..a33abde 100644
636636
/* icon_padding is applied horizontally only, the icon will always use all
637637
* available vertical space. */
638638
int icon_size = max(0, con->deco_rect.height - logical_px(2));
639-
@@ -763,9 +785,7 @@ void x_draw_decoration(Con *con) {
639+
@@ -760,9 +782,7 @@ void x_draw_decoration(Con *con) {
640640
icon_size);
641641
}
642642

i3-4.24.tar.xz.sha512

Lines changed: 0 additions & 1 deletion
This file was deleted.

i3-4.25.1.tar.xz.sha512

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
10d44f7efcfb23089edf5ec9783ddd3b9dca5592f4d5b101ec7158cd75ec73d917e3025250968c1c8e2d44c64d749855000a07b16059c582c1e80b1220ac7c81

i3.spec.in

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,6 @@ Requires: %{name} = %{epoch}:%{version}-%{release}
109109
%description devel
110110
Header files for %{name}.
111111

112-
%package devel-doc
113-
Summary: Documentation for the development files of %{name}
114-
BuildRequires: doxygen
115-
BuildArch: noarch
116-
Requires: %{name} = %{epoch}:%{version}-%{release}
117-
118-
%description devel-doc
119-
Doxygen generated documentations for %{name}.
120-
121112
%prep
122113
%autosetup -p1
123114

@@ -133,10 +124,6 @@ meson compile
133124

134125
popd
135126

136-
echo "TODO: generate doxygen"
137-
doxygen pseudo-doc.doxygen
138-
mv pseudo-doc/html pseudo-doc/doxygen
139-
140127
%install
141128
pushd build
142129
DESTDIR=%{buildroot} meson install
@@ -181,9 +168,7 @@ install -Dpm0644 %{SOURCE1} \
181168
%license LICENSE
182169
%{_includedir}/%{name}/
183170

184-
%files devel-doc
185171
%license LICENSE
186-
%doc pseudo-doc/doxygen/
187172

188173
%changelog
189174
@CHANGELOG@

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.24
1+
4.25.1

0 commit comments

Comments
 (0)