Commit graph

1229 commits

Author SHA1 Message Date
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
Chris Lee
7232feee5a fix incorrect timeout microsecond computation 2021-04-14 23:38:36 +02:00
Adam M. Trofa
e2641092b8 Fix imlib image leak
Double-adding the image caused imlib's reference count to increment
twice, requiring us to free it twice to actually release the cached
image, but we only ever free it once.

Fixes #704, likely #721 (leak is not present with -DENABLE_RSVG=OFF),
possibly #650 based on connection to execp, maybe others since this was
introduced nearly 6 years ago in 1d02b858 in launcher-specific code.
2021-03-19 19:44:25 -04:00
Chris Lee
49e7f54d2f preserve item order when skipping executors #799 2021-02-25 00:01:39 +01:00
Chris Lee
0f00212c58 add execp_monitor config #799 2021-02-24 22:08:20 +01:00
Chris Lee
dba0e66646 add scrollbars to fix issue #796 2021-01-26 23:15:51 +01:00
Chris Lee
2ed7ecb08d revert change to cmakefile 2021-01-04 22:21:50 +01:00
Chris Lee
f9cb16a0f0 attempt to port to gtk3 2021-01-04 22:06:31 +01:00
Chris Lee
06bcb3f2da attempt to fix #786 2021-01-02 23:22:22 +01:00
Chris
03b86f5f2c Merge branch 'big_icon_crash' into 'master'
Fix crashing when a window icon is large

See merge request o9000/tint2!35
2020-12-24 18:14:26 +00:00
Chris Lee
5b3f9c4662 fix help message 2020-06-27 13:55:55 +00:00
Chris Lee
3bdb0e03f2 #643 Hide/unhide programatically 2020-06-27 12:02:00 +00:00
santouits
27a8ea013e Fix crashing when a window icon is large
If an icon of a window is large tint2 crashes with segmentation fault, I guess because of stack overflow. This changes the allocation of icon_data from stack to heap.
2019-10-29 21:22:23 +02:00
Chris Lee
22ce7c5427 Remove debug code from release mode 2019-07-12 22:47:07 -07:00
Chris Lee
784edaccd2 Expand leading tilde in icon paths (fixes #743) 2019-06-02 22:08:20 +02:00
Chris Lee
10723b1db5 workaround broken battery blink with intel gpu 2019-03-09 12:51:33 +01:00
Chris Lee
89c02d3912 use simpler battery blink method 2019-03-09 12:33:52 +01:00
Chris Lee
da75999832 add env var to debug battery blink 2019-03-09 12:29:31 +01:00
Chris Lee
bff1a337f3 Revert "do not draw text with cairo directly on xlib pixmap (workaround for intel graphics bug, see emacs implementation) (issue #731, issue #732)"
This reverts commit e1211a929f.
2019-03-09 12:23:41 +01:00
Chris Lee
2f372364f0 disable glib slice allocator 2019-03-04 03:42:53 +01:00
Chris Lee
7f070b4f45 Battery percentage without % sign (#730) 2019-03-03 23:13:40 +01:00
Chris Lee
a859727ff3 more detailed logging for thumbnails 2019-03-03 22:48:47 +01:00
Chris Lee
6c36f79aae enable shared memory method of getting window screenshot 2019-03-03 01:46:59 +01:00
Chris Lee
d682756012 safety measures in thumbnail code 2019-03-03 01:40:12 +01:00
Chris Lee
372b51a4fa use named constants in struts 2019-02-24 23:09:55 +01:00
Chris Billington
2b0f6a9869 Allow pivoting STRUTs for panels in the middle of virtual screens on some WMs 2019-02-24 21:58:35 +00:00
Chris Lee
4dafea185f thumbnails: do not crash if window size is 0x0 2019-02-23 22:49:58 +01:00
Chris Lee
77890d463a blink battery between two colors (issue #723) 2019-02-23 20:06:47 +01:00
Chris Lee
e1211a929f do not draw text with cairo directly on xlib pixmap (workaround for intel graphics bug, see emacs implementation) 2019-02-23 20:06:06 +01:00
Chris Lee
00f0bbd354 blink battery when low (issue #723) 2019-02-20 23:38:17 +01:00
Chris Lee
15d2570a3e Silence warnings 2018-12-31 18:23:41 +01:00
Chris Lee
c76f056746 Fix markup drawing when font shadow enabled (fixes issue #709) 2018-12-31 18:22:50 +01:00
Chris Lee
cacd4b8dad Fix: Bug: Clock Only Updates Every Minute With Format %s (issue #724) 2018-12-27 08:01:11 +01:00
Chris Lee
b539c0a1c0 fix crash if bad config path given #719 2018-09-25 19:55:55 +00:00
Chris Lee
970c597796 #716 fix executor spacing 2018-09-15 05:46:14 +00:00
Chris Lee
81c7c65a9f Fix regression in task icon brightness (issue #714) 2018-08-04 18:41:53 +00:00
Chris Lee
f8c6dc1ecc Remove warning 2018-08-04 18:02:05 +00:00
Chris Lee
6681cfbca6 Fix cmake build 2018-05-31 07:16:08 +00:00
Chris Lee
3fcbf58873 Add memory allocation tracing 2018-05-31 06:34:41 +00:00
Chris Lee
1c2a12eb05 Prefer libunwind to libbacktrace 2018-05-31 06:34:02 +00:00
Chris Lee
5875015c11 Add option to sort taskbar by application name (contributed by Fabian Carlstrom) 2018-05-28 21:23:05 +00:00
Chris Lee
21e9303502 Fix regression caused by imlib leak (related: issue #704) 2018-05-28 21:20:06 +00:00
Chris Lee
d1f5a46a73 Fix executor verbosity (issue #699) 2018-04-17 19:48:55 +00:00
Chris Lee
131704081c Fix imlib leak (issue #704) 2018-04-17 19:37:10 +00:00
o9000
47bc01d608 Scaling: limit to 8x 2018-02-10 10:52:10 +00:00
arza
9ac0cd1254 Fix one second delay before urgent task starts to blink 2018-02-10 07:35:08 +02:00
o9000
b9589450bb Executor: Fix layout (issue #695) 2018-01-26 21:20:23 +00:00
o9000
03675b152d Match perfectly text layout and drawing parameters #693 2018-01-20 08:56:58 +00:00
o9000
04ba5a6617 Do not spin when battery is unplugged 2018-01-19 23:20:44 +00:00