Commit graph

236 commits

Author SHA1 Message Date
Oskari Rauta
0867010841 Add gradient background support
Conflicts:
	src/tint2conf/properties_rw.c
2016-10-02 16:43:24 +02:00
o9000
da51d37322 Execp: force update after custom command execution (issue #586) 2016-08-08 12:04:31 +02:00
o9000
2857b96c4d Fixed memory leak in icon loading 2016-08-08 10:56:06 +02:00
o9000
fc56e48781 Add option to debug geometry (set env var DEBUG_GEOMETRY) (issue #583) 2016-06-04 13:53:22 +02:00
o9000
ed802d7602 Compute layouts correctly with partial borders (issue #580) 2016-05-21 15:14:57 +02:00
o9000
ed3fcd63fc Tint2conf: use strcat instead of append (issue #580) 2016-05-18 23:27:55 +02:00
o9000
50c2f72a66 Tint2conf: support border sides (issue #580, thanks @stophe) 2016-05-18 23:13:28 +02:00
o9000
78bc215677 Draw background correctly (issue #580, thanks @stophe) 2016-05-17 22:19:09 +02:00
o9000
78bc8b5c74 Draw border on only some sides (issue #580, thanks @stophe) 2016-05-17 21:59:43 +02:00
o9000
690f30308f Fixed crash in systray with non-Latin languagess (thanks zcodes) 2016-05-07 00:38:52 +02:00
o9000
9d8350dabc Invalidate cached pixmaps on resize/move (issue #576) 2016-04-22 23:47:28 +02:00
o9000
dc191668fe Revert 580c3e76 (issue #572) 2016-03-28 20:26:47 +02:00
o9000
1edaf21bde Add area.name, useful for debugging 2016-03-25 11:13:05 +01:00
o9000
76bd4baa9c Ignore empty areas for mouse events 2016-03-25 11:12:26 +01:00
o9000
580c3e765f Extend mouse over area to edge of panel for first and last area, if full width clickable (issue #572) 2016-03-25 10:08:24 +01:00
o9000
7b6ce97940 Cleanup whitespace 2016-03-24 20:45:17 +01:00
o9000
d398795202 panel: Watch the panel`s WM_DESKTOP property and reset it if it changes 2016-03-24 19:36:55 +01:00
o9000
4656f7fc94 Cleanup code from last commit 2016-03-22 08:25:09 +01:00
o9000
b608cd5960 Use a better algorithm for brightness adjustment 2016-03-21 23:04:45 +01:00
o9000
b0f172a8e1 Icon cache: open correctly and create when needed 2016-03-05 11:20:12 +01:00
o9000
50e6278327 Move icon cache to a separate file; protect cache with file locks 2016-03-01 20:59:13 +01:00
o9000
fcbc006e43 Use XDG paths in addition to the defaults when looking for icons and applications 2016-02-28 14:53:15 +01:00
o9000
edbf9f4437 tint2conf: Sort applications correctly when additional desktop files from non-standard locations are found in the config 2016-02-28 13:41:19 +01:00
o9000
0a77293f7d Mouse effects: highlight clickable areas even when the mouse is on the panel border 2016-02-27 13:41:36 +01:00
o9000
1d28475a0c Style change for strnatcmp 2016-02-26 11:08:20 +01:00
o9000
7c70ae365e Remove unused code 2016-02-26 11:07:44 +01:00
o9000
e4ced531ad Create temporary file in /tmp 2016-02-12 13:04:06 +01:00
o9000
85536065bc Fix regression in background rendering (issue #549) 2016-01-27 10:11:48 +01:00
o9000
f0de284dd9 Fix regression (all desktop tasks not working) 2016-01-26 20:28:23 +01:00
o9000
27715a5dbb Fix build on slackware 2016-01-25 18:25:59 +01:00
o9000
7d0b0b85bc Check that the window desktop index is in the valid range 2016-01-24 22:45:34 +01:00
o9000
1ecfdf5289 Fix bad clear of panel pixmap when display compositing is disabled 2016-01-24 13:39:52 +01:00
o9000
78fb4f5254 Fix compiz support with multiple desktops and monitors (issue #94) 2016-01-16 12:09:05 +01:00
o9000
23e740c7f1 Fix compiz support with multiple desktops and monitors 2016-01-10 16:38:14 +01:00
o9000
11b285d045 Taskbar: code cleanup (rename task_group -> task_buttons) 2016-01-09 14:07:44 +01:00
o9000
92bd9e9184 Taskbar: code cleanup 2016-01-08 23:43:53 +01:00
o9000
cd863c2819 Restart on crash 2016-01-03 18:03:36 +01:00
o9000
f511ad2a67 Some systray fixes 2016-01-02 11:11:07 +01:00
o9000
106471225f Rename dsp -> display 2016-01-01 13:49:10 +01:00
o9000
a6da0186e0 Cache pixmaps for mouse effects to improve performance 2016-01-01 04:57:08 +01:00
o9000
db44e0824a Fix build for older glib 2015-12-27 14:29:03 +01:00
o9000
da0c52ecff Rename: monitor -> monitors 2015-12-22 23:16:01 +01:00
o9000
17f94205b4 Execplugin: add pango markup option 2015-12-05 11:42:07 +01:00
o9000
3f84d5d14c Merged execplugin from tint2-mods2 (no config GUI yet) 2015-12-05 10:05:42 +01:00
o9000
333ed7a207 Fix missing redraw 2015-11-22 16:33:58 +01:00
o9000
eb044da8bc Support for NETWM viewports (compiz) 2015-11-21 04:35:12 +01:00
o9000
4a6937826c Cleanup indentation with clang-format and changed a few variable names 2015-11-20 23:28:37 +01:00
o9000
c0e62e2e79 Cleanup: area.h 2015-11-18 21:57:10 +01:00
o9000
df9df99c23 Fix compile error with cmake -DENABLE_RSVG=OFF 2015-11-05 01:15:59 +01:00
o9000
0900c088ee Mouse effects: fixes, changed defaults, more config options 2015-11-04 23:14:11 +01:00
o9000
68d3799c47 Mouse effects: tint icons 2015-11-04 13:02:12 +01:00
o9000
1b554ebc1e Fix segfault 2015-11-04 12:25:49 +01:00
o9000
732b9d3910 Mouse pressed effect + some fixes for mouse over 2015-11-04 12:19:23 +01:00
o9000
070eb7ba4d Revert "Area: do not destroy pixmap when not necessary"
This reverts commit f2922d7dbd.
2015-11-04 03:07:46 +01:00
o9000
57c35549f3 Area: refactor list -> children 2015-11-04 02:37:10 +01:00
o9000
f2922d7dbd Area: do not destroy pixmap when not necessary 2015-11-04 02:36:51 +01:00
o9000
294fdee57f Mouse over effects 2015-11-04 01:32:13 +01:00
o9000
8b6aad3a41 Refactored svg image loading 2015-10-18 16:53:27 +02:00
o9000
985c557dcd Refactored text size computation 2015-10-18 16:51:08 +02:00
o9000
00a1803348 if( -> if ( 2015-08-08 08:51:44 +02:00
o9000
03dd8b8483 uevent: Use strchr here 2015-08-08 08:47:32 +02:00
Sebastian Reichel
46a6d2c2ad Add Linux kernel event handling code
This is a simple handler for uevents send by the Linux
kernel.
2015-08-08 06:29:54 +02:00
Sebastian Reichel
edad9bb7f5 Fix memory leak for battery tooltips
Instead of returning a const string, that is fed into strdup, tooltip
functions are now supposed to return allocated strings. This fixes a
memory leak in the battery tooltip.

This is used instead of simply freeing the memory in the battery
tooltip function, since it also avoids a uselesss strdup().
2015-08-07 02:09:53 +02:00
o9000
2799fe9346 Taskbar: better task monitor detection (issue #511) 2015-08-01 00:21:25 +02:00
o9000
4e3989f9f5 Revert "taskbar: Add logging for window_get_monitor()"
This reverts commit 7162c5dea1.
2015-07-30 22:56:01 +02:00
o9000
7162c5dea1 taskbar: Add logging for window_get_monitor() 2015-07-26 11:51:39 +02:00
o9000
e76202b355 Fix systray rendering when compositor off 2015-07-23 20:38:33 +02:00
o9000
04fe80b498 copy_file(): prevent truncating file if src == dest 2015-07-12 17:01:20 +02:00
o9000
89e4a5a460 Fix crash in tint2conf (wrong string length in allocation) 2015-07-04 18:31:01 +02:00
o9000
9fd9d51010 Fix timer bug (again) 2015-07-04 16:47:29 +02:00
o9000
7cd5c16fca Fix crash when calling stop_timeout from the callback of a repeated timer 2015-07-04 13:34:09 +02:00
o9000
876cae8239 systray: fix black icon background for 32-bit icons when disable_transparency = 1; fix empty icon detection when disable_transparency = 1; fix icon blinking by delaying rendering less aggressively; removed XClearArea on traywin->win (triggers unnecessary redraws); cache icon names; profiling messages updated 2015-06-21 14:50:08 +02:00
o9000
7c3951e3a0 systray: Profiling code. Export environment variable SYSTRAY_PROFILING=1 when running tint2 to enable it 2015-06-19 10:46:29 +02:00
o9000
f5b2de62b6 systray: reorder operations to prevent the long icon first show delay that occurs sometimes 2015-06-14 10:51:30 +02:00
o9000
df1f2d4e4b Merge taskbar_alignment from branch 2015-06-12 00:52:10 +02:00
o9000
1b4b0a8d8d systray: Delay icon rendering only when throttling is necessary 2015-05-30 13:41:29 +02:00
o9000
39e67df44d Revert "systray: Sort icons in the correct order when an icon is empty and order is right2left"
This reverts commit cb17e5a662.
2015-05-30 13:23:20 +02:00
o9000
cb17e5a662 systray: Sort icons in the correct order when an icon is empty and order is right2left 2015-05-30 13:03:42 +02:00
o9000
e7c3f99e28 Attempt to fix icon rendering problems 2015-05-03 15:36:42 +02:00
o9000
b4f15db397 Use font shadows for all elements except tooltips
git-svn-id: http://tint2.googlecode.com/svn/trunk@766 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-18 13:22:07 +00:00
o9000
66cae4bb7c Fix dangling pointers causing erratic timer behaviour (affects taskbar with spacing); use calloc instead of malloc for safer initializations
git-svn-id: http://tint2.googlecode.com/svn/trunk@758 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-17 20:17:25 +00:00
o9000
af003d0e19 Memory management review: match char-malloc/strdup-free, gchar-g_str*/g_free; set pointers to null after free; initialize fonts/backgrounds correctly when missing from config
git-svn-id: http://tint2.googlecode.com/svn/trunk@748 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-11 09:51:10 +00:00
o9000
e539c6536f Sort tasks on taskbar: config + sort by title or center (disabled, work in progress) - issue 478
git-svn-id: http://tint2.googlecode.com/svn/trunk@743 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-28 22:38:57 +00:00
o9000
5376e09963 Sort tasks on taskbar (disabled, work in progress) - issue 478
git-svn-id: http://tint2.googlecode.com/svn/trunk@740 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-28 21:07:33 +00:00
o9000
1a41159142 Battery: cleanup code and make detection more resilient
git-svn-id: http://tint2.googlecode.com/svn/trunk@739 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-28 18:08:44 +00:00
o9000
e113080a0e Tentative to sort tasks on taskbar (disabled) - issue 478
git-svn-id: http://tint2.googlecode.com/svn/trunk@738 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-22 16:07:04 +00:00
o9000
ba40b0752f Expand ~ in launcher_item_app
git-svn-id: http://tint2.googlecode.com/svn/trunk@726 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-01 10:33:05 +00:00
o9000
4e76c2bb5d Taskbar: add option to redistribute size in multi-desktop mode (useful especially when the taskbar is getting full on one desktop)
git-svn-id: http://tint2.googlecode.com/svn/trunk@673 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-30 09:53:16 +00:00
o9000
d584d04691 Remove global variables from header files
git-svn-id: http://tint2.googlecode.com/svn/trunk@671 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-28 15:13:56 +00:00
o9000
54154e8298 util: Initialize color in all cases
git-svn-id: http://tint2.googlecode.com/svn/trunk@658 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-20 23:45:25 +00:00
o9000
364d0cf703 util: Change misleading variable name "line" to "buffer"
git-svn-id: http://tint2.googlecode.com/svn/trunk@657 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-20 23:43:51 +00:00
thilor77
72435c0743 start tint2conf work
git-svn-id: http://tint2.googlecode.com/svn/trunk@632 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-06-06 09:16:51 +00:00
o9000
47ce616991 Changed launcher to use Areas for each icon; this allows showing tooltips
git-svn-id: http://tint2.googlecode.com/svn/trunk@631 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-05-28 22:43:03 +00:00
Andreas.Fink85
cf12f63198 *fix* warning
*fix* tint2conf installation directories 


git-svn-id: http://tint2.googlecode.com/svn/trunk@604 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-11-18 20:29:30 +00:00
thilor77
2ab0d33ae5 desktop name : last step
git-svn-id: http://tint2.googlecode.com/svn/trunk@601 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-11-16 20:00:22 +00:00
thilor77
d94e2a1790 desktop name: first step
git-svn-id: http://tint2.googlecode.com/svn/trunk@596 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-11-13 10:27:26 +00:00
thilor77
7c8a31db72 update my contribution to the company
git-svn-id: http://tint2.googlecode.com/svn/trunk@585 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-11-02 11:40:50 +00:00
Andreas.Fink85
eae7223ddf *fix* valgrind invalid read/write and memleaks
git-svn-id: http://tint2.googlecode.com/svn/trunk@572 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-10-08 21:45:14 +00:00
thilor77
301aff0f10 cleanup duplicate code and fixed ALLDESKTOP task
git-svn-id: http://tint2.googlecode.com/svn/trunk@569 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-09-26 17:07:33 +00:00
thilor77
c569722617 fixed some bug with rendering engine
git-svn-id: http://tint2.googlecode.com/svn/trunk@566 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-09-26 13:10:37 +00:00