Commit graph

247 commits

Author SHA1 Message Date
o9000
d0e8450225 Add behavior to hide an empty taskbar in multi_desktop mode: bugfix 2016-09-18 12:16:11 +02:00
Benoit Averty
863ef0259c Add config option for the hide_if_empty behaviour 2016-09-04 15:55:51 +02:00
Benoit Averty
d765190e3d Add behavior to hide an empty taskbar in multi_desktop mode: fix TODO and fix panel resize 2016-09-04 15:33:33 +02:00
Benoit Averty
8976f35c5f Add behavior to hide an empty taskbar in multi_desktop mode 2016-08-31 16:55:33 +02:00
o9000
008eebe4b1 When WM_HINTS changes for a window, reload the icon 2016-08-20 18:07:18 +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
ad675495e6 Position task icon correctly (issue #575) 2016-03-29 14:59:02 +02:00
o9000
48e7e38b11 Compute task button size correctly if max size is 0 (issue #575) 2016-03-29 14:35:24 +02:00
o9000
1edaf21bde Add area.name, useful for debugging 2016-03-25 11:13:05 +01:00
o9000
7b6ce97940 Cleanup whitespace 2016-03-24 20:45:17 +01:00
o9000
4656f7fc94 Cleanup code from last commit 2016-03-22 08:25:09 +01:00
o9000
9768b326aa Remove unnecessary casts 2016-03-21 23:04:45 +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
6ce441ecf1 Compute task icon size correctly 2016-02-26 11:07:05 +01:00
o9000
a8e7f4137a Fix crash on 32-bit 2016-01-25 18:26:17 +01:00
o9000
ac5aefb52b New config option: taskbar_always_show_all_desktop_tasks (fixes issue #279) 2016-01-10 14:40:24 +01:00
o9000
11b285d045 Taskbar: code cleanup (rename task_group -> task_buttons) 2016-01-09 14:07:44 +01:00
o9000
650806525a Taskbar: code cleanup 2016-01-08 23:53:44 +01:00
o9000
92bd9e9184 Taskbar: code cleanup 2016-01-08 23:43:53 +01:00
o9000
5450f89612 Remove double pixmap caching, it is crazy (see issue #542) 2016-01-08 22:57:32 +01:00
o9000
1ff868fdb7 Do not use negative values for task state since it is used as array index 2016-01-03 02:44:14 +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
737150d7e9 Work better with empty config files 2015-12-27 15:39:39 +01:00
o9000
da0c52ecff Rename: monitor -> monitors 2015-12-22 23:16:01 +01:00
o9000
3790723483 Code cleanup 2015-12-13 11:39:12 +01:00
o9000
e3fcff7f21 Make the default font for workspace name bold 2015-12-12 15:29:33 +01:00
o9000
9a85f7f2c5 Use default desktop font (Gtk/FontName from XSettings) when the font is not specified in the config file 2015-12-12 15:14:42 +01:00
o9000
17f94205b4 Execplugin: add pango markup option 2015-12-05 11:42:07 +01:00
o9000
ea82926b3f New config option: taskbar sort by LRU/MRU (no config GUI yet) (issue #532) 2015-12-05 11:07:23 +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
095b311edc Mouse effects: changed defaults + disabled pixmap caching 2015-11-06 11:46:15 +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
732b9d3910 Mouse pressed effect + some fixes for mouse over 2015-11-04 12:19:23 +01:00
o9000
34b341767c Task: disable pixmap caching (temporary change until we make it work with mouse effects) 2015-11-04 11:58:11 +01:00
o9000
57c35549f3 Area: refactor list -> children 2015-11-04 02:37:10 +01:00
o9000
294fdee57f Mouse over effects 2015-11-04 01:32:13 +01:00
o9000
985c557dcd Refactored text size computation 2015-10-18 16:51:08 +02:00
o9000
5b01670a22 Fix lost font setting for desktop name 2015-09-12 03:08:25 +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
7ffc220891 Taskbar: Use consistent behavior when showing/hiding sticky (all desktop) windows 2015-08-01 08:22:08 +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
df1f2d4e4b Merge taskbar_alignment from branch 2015-06-12 00:52:10 +02:00
o9000
5450dcca0b Attempt to fix new window title race in fvwm 2015-05-08 21:49:26 +02:00
o9000
e7c3f99e28 Attempt to fix icon rendering problems 2015-05-03 15:36:42 +02:00
o9000
bd9e12b993 Wrap text at word boundaries 2015-04-26 16:33:07 +02:00
o9000
95fa0bbf83 tint2 & tint2conf: Use spacing in task_padding 2015-04-26 15:16:24 +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
7d70189bee Minor improvements to taskbar_sort_order = center (issue 478)
git-svn-id: http://tint2.googlecode.com/svn/trunk@752 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-12 20:02:58 +00:00
o9000
e49e05ad69 Fix task visilibility problem, issue 481
git-svn-id: http://tint2.googlecode.com/svn/trunk@750 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-12 16:02:03 +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
82fe74743c Sort tasks on taskbar: use panel orientation (disabled, work in progress) - issue 478
git-svn-id: http://tint2.googlecode.com/svn/trunk@741 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-28 21:10:23 +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
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
c900bc24b2 Add option to hide tasks from different monitors when panel_monitor = x (issue 196)
git-svn-id: http://tint2.googlecode.com/svn/trunk@736 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-21 09:49:10 +00:00
o9000
f6b78ad094 Changed icon rendering to fix issue 432
git-svn-id: http://tint2.googlecode.com/svn/trunk@734 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-20 22:15:56 +00:00
o9000
f5a18cc4f4 Option taskbar_hide_inactive_tasks (issue 458)
git-svn-id: http://tint2.googlecode.com/svn/trunk@732 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-20 21:19:02 +00:00
o9000
4c16f97e73 Autohide-show panel when task becomes urgent
git-svn-id: http://tint2.googlecode.com/svn/trunk@730 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-20 20:54:57 +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
c59f239999 taskbar: fix task cycling bug in multi_desktop mode
git-svn-id: http://tint2.googlecode.com/svn/trunk@662 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-21 01:45:09 +00:00
o9000
9ac902b62b taskbar: draw softer shadows so that text is more readable
git-svn-id: http://tint2.googlecode.com/svn/trunk@661 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-21 00:27:40 +00:00
o9000
42469038a8 taskbar: add TODO for icon sizing in large panels
git-svn-id: http://tint2.googlecode.com/svn/trunk@660 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-21 00:12:05 +00:00
o9000
f70415d7db taskbar: fix GLib-CRITICAL: g_hash_table_foreach: assertion version == hash_table->version failed
git-svn-id: http://tint2.googlecode.com/svn/trunk@656 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-20 23:37:40 +00:00
o9000
0a1ceaeed0 Fix for incorrect task cycling when windows visible on all desktops are present
git-svn-id: http://tint2.googlecode.com/svn/trunk@651 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2012-10-14 22:00:48 +00:00
o9000
97001249b5 *fix* segfault when cycling through tasks and taskbarname is enabled
git-svn-id: http://tint2.googlecode.com/svn/trunk@628 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-03-07 23:46:42 +00:00
andreas.fink85
25d1555150 *fix* test with config_background_mask rather than config_font_mask, since we check if the background was specified
git-svn-id: http://tint2.googlecode.com/svn/trunk@627 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-02-22 15:01:04 +00:00
o9000
f32d2bc7bf Fix segfault when a task state has no background in config
git-svn-id: http://tint2.googlecode.com/svn/trunk@626 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-02-20 22:47:32 +00:00
andreas.fink85
b3b26e199c *fix* battery: set background_id to 0 if none has been specified
git-svn-id: http://tint2.googlecode.com/svn/trunk@623 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-02-05 08:32:11 +00:00
Andreas.Fink85
8201742546 *add* remove of tooltip = En/Disabled. it's renamed to task_tooltip to enable/disable task/clock tooltip separatly (tooltip = N is equivalent to
task_tooltip = N for backwards compatibility)


git-svn-id: http://tint2.googlecode.com/svn/trunk@615 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-12-12 08:57:51 +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
d32b4ed908 desktop name
git-svn-id: http://tint2.googlecode.com/svn/trunk@600 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-11-15 21:56:41 +00:00
thilor77
edc5db91c6 desktop name second step
git-svn-id: http://tint2.googlecode.com/svn/trunk@599 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-11-15 15:36:12 +00:00
thilor77
14b6d45761 cleanup taskbar_name
git-svn-id: http://tint2.googlecode.com/svn/trunk@598 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-11-14 15:34:14 +00:00
thilor77
240c1dc416 fixed segfault
git-svn-id: http://tint2.googlecode.com/svn/trunk@597 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-11-13 23:48:36 +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
thilor77
f9d2cc1b73 fixed taskbar redrawing when pos/size changed
git-svn-id: http://tint2.googlecode.com/svn/trunk@583 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-10-24 12:41:35 +00:00
thilor77
86cfa07735 fixed multi_desktop switching
git-svn-id: http://tint2.googlecode.com/svn/trunk@582 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-10-24 09:18:41 +00:00
thilor77
eb07f935fe cleanup : remove unneeded title change
git-svn-id: http://tint2.googlecode.com/svn/trunk@579 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-10-23 13:39:09 +00:00
thilor77
503a4b6845 cleanup
git-svn-id: http://tint2.googlecode.com/svn/trunk@578 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-10-23 11:46:47 +00:00
thilor77
c01b7f480e memorized taskbar pixmap. So we don t redraw taskbar/task when switching desktop.
git-svn-id: http://tint2.googlecode.com/svn/trunk@577 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-10-23 11:16:29 +00:00
thilor77
7f1f66a497 small clenup
git-svn-id: http://tint2.googlecode.com/svn/trunk@573 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-10-09 17:11:11 +00:00
thilor77
1161b0921b missing file
git-svn-id: http://tint2.googlecode.com/svn/trunk@571 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-10-08 19:47:19 +00:00
thilor77
574615b3cd add some code around taskbar_name
git-svn-id: http://tint2.googlecode.com/svn/trunk@570 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-10-08 19:43:54 +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
thilor77
60590bf1ac rendering engine : _on_change_layout() called when pos/size changed
git-svn-id: http://tint2.googlecode.com/svn/trunk@565 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-09-25 21:18:47 +00:00
thilor77
c19819843e panel_items : fixed _NET_WM_ICON_GEOMETRY. panel_items is done for me.
git-svn-id: http://tint2.googlecode.com/svn/trunk@563 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-09-23 20:28:30 +00:00
thilor77
98c3cbe874 cleanup code
git-svn-id: http://tint2.googlecode.com/svn/trunk@562 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-09-23 18:09:30 +00:00
thilor77
8b71e3614c panel_items : allow panel without taskbar
git-svn-id: http://tint2.googlecode.com/svn/trunk@551 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-09-18 18:19:43 +00:00
thilor77
b98d2001cb panel_items : fixed segfault (panel without clock, change number desktop)
git-svn-id: http://tint2.googlecode.com/svn/trunk@550 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-09-18 18:06:29 +00:00