Compare commits

...

8 Commits
16.2 ... v16.3

Author SHA1 Message Date
Chris Lee
e06b63e1dc Release 16.3 2018-04-17 19:19:00 +00:00
Chris Lee
9a03b8b4e6 Update changelog 2018-04-17 19:18:50 +00:00
o9000
47bc01d608 Scaling: limit to 8x 2018-02-10 10:52:10 +00:00
o9000
0e4b3bd32e Merge branch 'fix_urgent_delay' into 'master'
Fix one second delay before urgent task starts to blink

See merge request o9000/tint2!30
2018-02-10 10:50:22 +00:00
arza
9ac0cd1254 Fix one second delay before urgent task starts to blink 2018-02-10 07:35:08 +02:00
o9000
73ab9b6930 Merge branch 'master' into 'master'
Fix typo around wiki link

See merge request o9000/tint2!29
2018-02-09 21:28:16 +00:00
Michael Vetter
96361ab1cd Fix typo around wiki link 2018-02-09 13:50:36 +01:00
o9000
b9589450bb Executor: Fix layout (issue #695) 2018-01-26 21:20:23 +00:00
8 changed files with 21 additions and 13 deletions

View File

@@ -1,3 +1,8 @@
2018-04-17 16.3
- Fixes:
- Layout in executor (issue #695)
- Other small issues
2018-01-21 16.2 2018-01-21 16.2
- Fixes: - Fixes:
- Proper fix for issue #688 - Proper fix for issue #688
@@ -993,3 +998,4 @@ released tint-0.2
. .
. .
. .
.

View File

@@ -1,5 +1,5 @@
# Latest stable release: 16.2 # Latest stable release: 16.3
Changes: https://gitlab.com/o9000/tint2/blob/16.2/ChangeLog Changes: https://gitlab.com/o9000/tint2/blob/16.3/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 16.2 git checkout 16.3
mkdir build mkdir build
cd build cd build
cmake .. cmake ..
@@ -97,4 +97,3 @@ tint2 is a simple panel/taskbar made for modern X window managers. It was specif
## More ## More
* [Tint2 wiki](https://gitlab.com/o9000/tint2/wikis/Home) * [Tint2 wiki](https://gitlab.com/o9000/tint2/wikis/Home)
Home)

View File

@@ -199,9 +199,9 @@ pre {
</style> </style>
</head> </head>
<body> <body>
<h1 id="latest-stable-release-16-2"><span class="md2man-title">Latest</span> <span class="md2man-section">stable</span> <span class="md2man-date">release:</span> <span class="md2man-source">16.2</span><a name="latest-stable-release-16-2" href="#latest-stable-release-16-2" class="md2man-permalink" title="permalink"></a></h1><p>Changes: <a href="https://gitlab.com/o9000/tint2/blob/16.2/ChangeLog">https://gitlab.com/o9000/tint2/blob/16.2/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><pre class="highlight plaintext"><code>git clone https://gitlab.com/o9000/tint2.git <h1 id="latest-stable-release-16-3"><span class="md2man-title">Latest</span> <span class="md2man-section">stable</span> <span class="md2man-date">release:</span> <span class="md2man-source">16.3</span><a name="latest-stable-release-16-3" href="#latest-stable-release-16-3" class="md2man-permalink" title="permalink"></a></h1><p>Changes: <a href="https://gitlab.com/o9000/tint2/blob/16.3/ChangeLog">https://gitlab.com/o9000/tint2/blob/16.3/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><pre class="highlight plaintext"><code>git clone https://gitlab.com/o9000/tint2.git
cd tint2 cd tint2
git checkout 16.2 git checkout 16.3
mkdir build mkdir build
cd build cd build
cmake .. cmake ..
@@ -269,8 +269,7 @@ update-mime-database /usr/local/share/mime
</ul> </ul>
<h2 id="more">More<a name="more" href="#more" class="md2man-permalink" title="permalink"></a></h2> <h2 id="more">More<a name="more" href="#more" class="md2man-permalink" title="permalink"></a></h2>
<ul> <ul>
<li><a href="https://gitlab.com/o9000/tint2/wikis/Home">Tint2 wiki</a> <li><a href="https://gitlab.com/o9000/tint2/wikis/Home">Tint2 wiki</a></li>
Home)</li>
</ul> </ul>
</body> </body>
</html> </html>

View File

@@ -1,4 +1,4 @@
.TH TINT2 1 "2018\-01\-21" 16.2 .TH TINT2 1 "2018\-04\-17" 16.3
.SH NAME .SH NAME
.PP .PP
tint2 \- lightweight panel/taskbar tint2 \- lightweight panel/taskbar

View File

@@ -1,4 +1,4 @@
# TINT2 1 "2018-01-21" 16.2 # TINT2 1 "2018-04-17" 16.3
## NAME ## NAME
tint2 - lightweight panel/taskbar tint2 - lightweight panel/taskbar

View File

@@ -332,7 +332,7 @@ void execp_compute_icon_text_geometry(Execp *execp,
int available_w, available_h; int available_w, available_h;
if (panel_horizontal) { if (panel_horizontal) {
available_w = panel->area.width; available_w = panel->area.width;
available_h = area->height - 2 * *horiz_padding - left_right_border_width(area); available_h = area->height - 2 * *vert_padding - left_right_border_width(area);
} else { } else {
available_w = !text_next_line available_w = !text_next_line
? area->width - *icon_w - (*icon_w ? *interior_padding : 0) - 2 * *horiz_padding - ? area->width - *icon_w - (*icon_w ? *interior_padding : 0) - 2 * *horiz_padding -

View File

@@ -229,6 +229,10 @@ void init_panel()
p->scale = 1; p->scale = 1;
if (ui_scale_monitor_size_ref > 0) if (ui_scale_monitor_size_ref > 0)
p->scale *= server.monitors[p->monitor].height / ui_scale_monitor_size_ref; p->scale *= server.monitors[p->monitor].height / ui_scale_monitor_size_ref;
if (p->scale > 8 || p->scale < 1./8) {
fprintf(stderr, RED "tint2: panel %d having scale %g outside bounds, resetting to 1.0" RESET "\n", i + 1, p->scale);
p->scale = 1;
}
fprintf(stderr, BLUE "tint2: panel %d uses scale %g " RESET "\n", i + 1, p->scale); fprintf(stderr, BLUE "tint2: panel %d uses scale %g " RESET "\n", i + 1, p->scale);
if (!p->area.bg) if (!p->area.bg)
p->area.bg = &g_array_index(backgrounds, Background, 0); p->area.bg = &g_array_index(backgrounds, Background, 0);

View File

@@ -758,8 +758,8 @@ void blink_urgent(void *arg)
GSList *urgent_task = urgent_list; GSList *urgent_task = urgent_list;
while (urgent_task) { while (urgent_task) {
Task *t = urgent_task->data; Task *t = urgent_task->data;
if (t->urgent_tick < max_tick_urgent) { if (t->urgent_tick <= max_tick_urgent) {
if (t->urgent_tick++ % 2) if (++t->urgent_tick % 2)
set_task_state(t, TASK_URGENT); set_task_state(t, TASK_URGENT);
else else
set_task_state(t, window_is_iconified(t->win) ? TASK_ICONIFIED : TASK_NORMAL); set_task_state(t, window_is_iconified(t->win) ? TASK_ICONIFIED : TASK_NORMAL);