a6cc1eb92f
i3-input: restore input focus on exit() (upstream git commit 5779f573e7316664e4bff9d3ff17a234edc9d337) Repect AR environment variable (upstream git commit ef81bd183b579688b9f1a46a41c817b577d0b39e) Fix scrolling on a tabbed titlebar which contains split cons (upstream git commit 721fa7bdadac6d7f0c78f8c1eac0e66252ba2dc6) Bugfix: ignore ConfigureRequests for scratchpad windows (upstream git commit 36b106a9d39727b06909113e3f11552f2f1b6abe) Bugfix: handle MapRequests sent between i3 registering as a wm and handling events (upstream git commit 625401d1628757a67a2ab4eeaa68be965683889c) Bugfix: draw right tab border for split containers (upstream git commit ae605bdd394bdf83a8015ac626b222fd40e35b04)
38 lines
1.5 KiB
Plaintext
38 lines
1.5 KiB
Plaintext
$OpenBSD: patch-src_x_c,v 1.11 2012/12/27 19:58:05 dcoppa Exp $
|
||
|
||
Bugfix: draw right tab border for split containers
|
||
(upstream git commit ae605bdd394bdf83a8015ac626b222fd40e35b04)
|
||
|
||
OpenBSD lacks POSIX shared memory support (shm_open() and friends)
|
||
|
||
--- src/x.c.orig Wed Dec 12 00:08:17 2012
|
||
+++ src/x.c Thu Dec 27 15:19:49 2012
|
||
@@ -505,7 +505,7 @@ void x_draw_decoration(Con *con) {
|
||
con->deco_rect.width - 2);
|
||
free(title);
|
||
|
||
- goto copy_pixmaps;
|
||
+ goto after_title;
|
||
}
|
||
|
||
if (win->name == NULL)
|
||
@@ -533,6 +533,7 @@ void x_draw_decoration(Con *con) {
|
||
con->deco_rect.x + 2 + indent_px, con->deco_rect.y + text_offset_y,
|
||
con->deco_rect.width - 2 - indent_px);
|
||
|
||
+after_title:
|
||
/* Since we don’t clip the text at all, it might in some cases be painted
|
||
* on the border pixels on the right side of a window. Therefore, we draw
|
||
* the right border again after rendering the text (and the unconnected
|
||
@@ -1057,8 +1058,10 @@ void x_set_i3_atoms(void) {
|
||
xcb_change_property(conn, XCB_PROP_MODE_REPLACE, root, A_I3_PID, XCB_ATOM_CARDINAL, 32, 1, &pid);
|
||
xcb_change_property(conn, XCB_PROP_MODE_REPLACE, root, A_I3_CONFIG_PATH, A_UTF8_STRING, 8,
|
||
strlen(current_configpath), current_configpath);
|
||
+#if !defined(__OpenBSD__)
|
||
xcb_change_property(conn, XCB_PROP_MODE_REPLACE, root, A_I3_SHMLOG_PATH, A_UTF8_STRING, 8,
|
||
strlen(shmlogname), shmlogname);
|
||
+#endif
|
||
}
|
||
|
||
/*
|