Compare commits

...

4 Commits

Author SHA1 Message Date
Chris Lee
f628cba966 Release 17.0.1 2021-05-29 11:24:56 +02:00
Chris Lee
a922884485 update changelog 2021-05-01 19:16:51 +02:00
Chris Lee
66a6238014 fix crash in single-monitor execp 2021-05-01 19:15:38 +02:00
Chris Lee
5e8c65b87e remove useless fsync 2021-05-01 19:12:28 +02:00
8 changed files with 18 additions and 10 deletions

View File

@@ -1,3 +1,6 @@
2021-05-29 17.0.1
- Fixes:
- Crash on panel cleanup in single-monitor execp (issue #801)
2021-04-18 17.0 2021-04-18 17.0
- Fixes: - Fixes:
- Crash when a window icon is large (issue #786) (santouits) - Crash when a window icon is large (issue #786) (santouits)

View File

@@ -1,5 +1,5 @@
# Latest stable release: 17.0 # Latest stable release: 17.0.1
Changes: https://gitlab.com/o9000/tint2/blob/17.0/ChangeLog Changes: https://gitlab.com/o9000/tint2/blob/17.0.1/ChangeLog
Documentation: [doc/tint2.md](doc/tint2.md) Documentation: [doc/tint2.md](doc/tint2.md)
@@ -8,7 +8,7 @@ Compile it with (after you install the [dependencies](https://gitlab.com/o9000/t
``` ```
git clone https://gitlab.com/o9000/tint2.git git clone https://gitlab.com/o9000/tint2.git
cd tint2 cd tint2
git checkout 17.0 git checkout 17.0.1
mkdir build mkdir build
cd build cd build
cmake .. cmake ..

View File

@@ -199,9 +199,9 @@ pre {
</style> </style>
</head> </head>
<body> <body>
<h1 id="latest-stable-release-17-0"><span class="md2man-title">Latest</span> <span class="md2man-section">stable</span> <span class="md2man-date">release:</span> <span class="md2man-source">17.0</span><a name="latest-stable-release-17-0" href="#latest-stable-release-17-0" class="md2man-permalink" title="permalink"></a></h1><p>Changes: <a href="https://gitlab.com/o9000/tint2/blob/17.0/ChangeLog">https://gitlab.com/o9000/tint2/blob/17.0/ChangeLog</a></p><p>Documentation: <a href="manual.html">manual.html</a></p><p>Compile it with (after you install the <a href="https://gitlab.com/o9000/tint2/wikis/Install#dependencies">dependencies</a>):</p><div class="highlight"><pre class="highlight plaintext"><code>git clone https://gitlab.com/o9000/tint2.git <h1 id="latest-stable-release-17-0-1"><span class="md2man-title">Latest</span> <span class="md2man-section">stable</span> <span class="md2man-date">release:</span> <span class="md2man-source">17.0.1</span><a name="latest-stable-release-17-0-1" href="#latest-stable-release-17-0-1" class="md2man-permalink" title="permalink"></a></h1><p>Changes: <a href="https://gitlab.com/o9000/tint2/blob/17.0.1/ChangeLog">https://gitlab.com/o9000/tint2/blob/17.0.1/ChangeLog</a></p><p>Documentation: <a href="manual.html">manual.html</a></p><p>Compile it with (after you install the <a href="https://gitlab.com/o9000/tint2/wikis/Install#dependencies">dependencies</a>):</p><div class="highlight"><pre class="highlight plaintext"><code>git clone https://gitlab.com/o9000/tint2.git
cd tint2 cd tint2
git checkout 17.0 git checkout 17.0.1
mkdir build mkdir build
cd build cd build
cmake .. cmake ..

View File

@@ -1,4 +1,4 @@
.TH TINT2 1 "2021\-04\-18" 17.0 .TH TINT2 1 "2021\-05\-29" 17.0.1
.SH NAME .SH NAME
.PP .PP
tint2 \- lightweight panel/taskbar tint2 \- lightweight panel/taskbar

View File

@@ -1,4 +1,4 @@
# TINT2 1 "2021-04-18" 17.0 # TINT2 1 "2021-05-29" 17.0.1
## NAME ## NAME
tint2 - lightweight panel/taskbar tint2 - lightweight panel/taskbar

View File

@@ -66,7 +66,8 @@ gpointer create_execp_frontend(gconstpointer arg, gpointer data)
execp_backend->backend->monitor, panel->monitor); execp_backend->backend->monitor, panel->monitor);
Execp *dummy = create_execp(); Execp *dummy = create_execp();
dummy->frontend = (ExecpFrontend *)calloc(1, sizeof(ExecpFrontend)); dummy->frontend = (ExecpFrontend *)calloc(1, sizeof(ExecpFrontend));
dummy->backend->instances = g_list_append(execp_backend->backend->instances, dummy); dummy->backend->instances = g_list_append(dummy->backend->instances, dummy);
dummy->dummy = true;
return dummy; return dummy;
} }
printf("Creating executor '%s' with monitor %d for panel on monitor %d\n", printf("Creating executor '%s' with monitor %d for panel on monitor %d\n",
@@ -89,7 +90,11 @@ void destroy_execp(void *obj)
free_and_null(execp->frontend); free_and_null(execp->frontend);
remove_area(&execp->area); remove_area(&execp->area);
free_area(&execp->area); free_area(&execp->area);
free_and_null(execp); if (execp->dummy) {
destroy_execp(execp);
} else {
free_and_null(execp);
}
} else { } else {
// This is a backend element // This is a backend element
destroy_timer(&execp->backend->timer); destroy_timer(&execp->backend->timer);

View File

@@ -97,6 +97,7 @@ typedef struct Execp {
ExecpBackend *backend; ExecpBackend *backend;
// Set only for frontend Execp items. // Set only for frontend Execp items.
ExecpFrontend *frontend; ExecpFrontend *frontend;
bool dummy;
} Execp; } Execp;
// Called before the config is read and panel_config/panels are created. // Called before the config is read and panel_config/panels are created.

View File

@@ -85,7 +85,6 @@ static void sigchld_handler(int sig)
int savedErrno = errno; int savedErrno = errno;
ssize_t unused = write(sigchild_pipe[1], "x", 1); ssize_t unused = write(sigchild_pipe[1], "x", 1);
(void)unused; (void)unused;
fsync(sigchild_pipe[1]);
errno = savedErrno; errno = savedErrno;
} }