Compare commits

...

3 Commits

Author SHA1 Message Date
o9000
0f1dac50f1 Updated readme for 0.12-rc6 2015-06-13 10:08:43 +00:00
o9000
eb0346e02a Updated changelog 2015-06-13 10:07:23 +00:00
o9000
cae621918e systray: Do not turn off compositing for missing window errors 2015-06-13 11:32:22 +02:00
3 changed files with 14 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
2015-05-23 master 2015-06-12 master
- Note: the changes listed here are based on the previous release tint2 0.11, however some distributions (e.g. Debian) - Note: the changes listed here are based on the previous release tint2 0.11, however some distributions (e.g. Debian)
offered packages using newer commits and/or patches; thus from the user's perspective some of these features are offered packages using newer commits and/or patches; thus from the user's perspective some of these features are
already present. They are marked with '(already released by distros)'. already present. They are marked with '(already released by distros)'.
@@ -70,6 +70,7 @@
background of other icons; background of other icons;
- a crash caused by a change that prevents Google Chrome (and possibly other misbehaving applications) from leaving a large - a crash caused by a change that prevents Google Chrome (and possibly other misbehaving applications) from leaving a large
number of empty icons in the system tray; number of empty icons in the system tray;
- a crash caused by the system tray code on computers with ATI cards;
- the panel window had a shadow; - the panel window had a shadow;
- some ATI drivers return an extra monitor with size zero which should be ignored when using panel_monitor = all; - some ATI drivers return an extra monitor with size zero which should be ignored when using panel_monitor = all;
- the battery applet was sometimes working incorrectly with certain laptop models (the battery applet stopped updating after - the battery applet was sometimes working incorrectly with certain laptop models (the battery applet stopped updating after

View File

@@ -1,14 +1,14 @@
### New unstable release: 0.12-rc5 ### New unstable release: 0.12-rc6
Changes: https://gitlab.com/o9000/tint2/blob/master/ChangeLog Changes: https://gitlab.com/o9000/tint2/blob/master/ChangeLog
Documentation: https://gitlab.com/o9000/tint2/wikis/home Documentation: https://gitlab.com/o9000/tint2/wikis/home
Try it out with (see also [dependencies](https://gitlab.com/o9000/tint2/wikis/Install#dependencies)): Try it out with (see also [dependencies](https://gitlab.com/o9000/tint2/wikis/Install#dependencies)):
``` ```
mkdir tint2-0.12-rc5 mkdir tint2-0.12-rc6
cd tint2-0.12-rc5 cd tint2-0.12-rc6
wget 'https://gitlab.com/o9000/tint2/repository/archive.tar.gz?ref=v0.12-rc5' --output-document tint2-0.12-rc5.tar.gz wget 'https://gitlab.com/o9000/tint2/repository/archive.tar.gz?ref=v0.12-rc6' --output-document tint2-0.12-rc6.tar.gz
tar -xzf tint2-0.12-rc5.tar.gz tar -xzf tint2-0.12-rc6.tar.gz
cd tint2.git cd tint2.git
mkdir build mkdir build
cd build cd build

View File

@@ -746,7 +746,7 @@ void systray_render_icon_composited(void* t)
// drawable. If someone knows why it does not work with the traywindow itself, please tell me ;) // drawable. If someone knows why it does not work with the traywindow itself, please tell me ;)
Pixmap tmp_pmap = XCreatePixmap(server.dsp, traywin->win, traywin->width, traywin->height, 32); Pixmap tmp_pmap = XCreatePixmap(server.dsp, traywin->win, traywin->width, traywin->height, 32);
if (!tmp_pmap) { if (!tmp_pmap) {
goto on_error; goto on_systray_error;
} }
XRenderPictFormat *f; XRenderPictFormat *f;
if (traywin->depth == 24) { if (traywin->depth == 24) {
@@ -761,7 +761,7 @@ void systray_render_icon_composited(void* t)
XRenderPictFormat *f32 = XRenderFindVisualFormat(server.dsp, server.visual32); XRenderPictFormat *f32 = XRenderFindVisualFormat(server.dsp, server.visual32);
if (!f || !f32) { if (!f || !f32) {
XFreePixmap(server.dsp, tmp_pmap); XFreePixmap(server.dsp, tmp_pmap);
goto on_error; goto on_systray_error;
} }
XSync(server.dsp, False); XSync(server.dsp, False);
@@ -833,7 +833,11 @@ void systray_render_icon_composited(void* t)
return; return;
on_error: on_error:
printf("systray: rendering error. Disabling compositing and restarting systray...\n"); printf("systray %d: rendering error for icon %lu pid %d\n", __LINE__, traywin->win, traywin->pid);
return;
on_systray_error:
printf("systray %d: rendering error for icon %lu pid %d. Disabling compositing and restarting systray...\n", __LINE__, traywin->win, traywin->pid);
systray_composited = 0; systray_composited = 0;
stop_net(); stop_net();
start_net(); start_net();