Commit graph

253 commits

Author SHA1 Message Date
o9000
92bd9e9184 Taskbar: code cleanup 2016-01-08 23:43:53 +01:00
o9000
228d20a72c Systray: handle changing icon names and reorder if necessary 2016-01-07 12:50:54 +01:00
o9000
29a34083c9 Remove the sleep at startup since it has side effects and is a poor solution anyways 2016-01-07 12:11:09 +01:00
o9000
5835eb6f57 Always sleep 1s at startup to let the compositor start first 2016-01-05 01:36:57 +01:00
o9000
88e1d56a98 Reorder some statements 2016-01-05 01:33:27 +01:00
o9000
1ae20fa3eb Move backtrace generation behind cmake flag 2016-01-05 01:28:12 +01:00
o9000
84df026878 Do not restart on crash, it cannot be done reliably from a single process; use instead "while true ; do tint2 ; sleep 1; done" 2016-01-05 01:06:40 +01:00
o9000
b8a7304f4b Cleanup restart code 2016-01-05 00:18:05 +01:00
o9000
cd863c2819 Restart on crash 2016-01-03 18:03:36 +01:00
o9000
6fc608f099 Work better without a config file 2016-01-03 15:09:46 +01:00
o9000
0992662396 Attempt to fix compilation on BSD 2016-01-03 02:38:04 +01:00
o9000
fa5137cad8 Dump stack trace on crash also on a file in $HOME 2016-01-03 01:28:47 +01:00
o9000
76a68fb071 Dump stack trace on crash 2016-01-03 01:14:51 +01:00
o9000
106471225f Rename dsp -> display 2016-01-01 13:49:10 +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
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
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
732b9d3910 Mouse pressed effect + some fixes for mouse over 2015-11-04 12:19:23 +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
00a1803348 if( -> if ( 2015-08-08 08:51:44 +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
o9000
ed24d0bd4c Fix command line argument processing (issue #516) 2015-08-03 18:34:12 +02:00
o9000
c874e76343 Merge branch 'moreclicks' into 'master'
Moreclicks

The two commits in this merge request would allow the user to set up as many as eight extra custom actions via tint2rc.

I've been running these changes (minus the up/down wheel actions) for many months without any obvious issues, mainly to adjust laptop screen brightness via a couple of scripts.

I've just tested the wheel actions and they appeared to work fine. The clock commit should solve issue #505.

I have merely augmented the work of two other people, and appropriate credits/references are indicated in the individual commit messages.

See merge request !5
2015-08-01 07:02:51 +00:00
o9000
e2023b7172 systray: Revert break embedding into 2 steps (breaks transparency for Qt icons) 2015-07-31 10:04:41 +02:00
o9000
d492f80468 systray: Redirect resize events 2015-07-31 09:31:03 +02:00
o9000
78bc330448 systray: Break embedding into 2 steps 2015-07-30 23:54:46 +02:00
o9000
9624b5d558 Revert "taskbar: Add logging for event_configure_notify()"
This reverts commit b99c5c204b.
2015-07-30 22:55:47 +02:00
o9000
b99c5c204b taskbar: Add logging for event_configure_notify() 2015-07-26 12:08:59 +02:00
o9000
50e21b4077 systray: Trying some variations 2015-07-19 18:06:45 +02:00
o9000
57b878d5e4 Remove debug line 2015-07-16 22:33:13 +02:00
o9000
46aab61bf6 Revert "systray: Process XEmbed events according to spec"
This reverts commit 227dc8e48a.
2015-07-16 22:25:18 +02:00
o9000
227dc8e48a systray: Process XEmbed events according to spec 2015-07-16 21:08:48 +02:00
o9000
68c3205b53 systray: Handle UnmapNotify correctly 2015-07-16 21:08:48 +02:00
o9000
61f0a4ec85 systray: remove icon when reparented away from us 2015-07-16 21:08:47 +02:00
o9000
c606a1a35a systray: Separate reparenting from embedding 2015-07-16 21:08:47 +02:00
o9000
8d5c2d8cbb tint: remove inner loop from the main event loop 2015-07-14 08:33:13 +02:00
berkley4
fd78e6d886 Allow clicking and mousewheeling on the battery panel
This commit is the same as vimishor's original [*] except that I have
added middle-click and up/down mousewheel actions. In order to fix a
ftbs I also added guards to panel.c, panel.h & tint.c

The following configuration settings have been created :-

battery_lclick_command
battery_mclick_command
battery_rclick_command
battery_uwheel_command
battery_dwheel_command

[*] c78732c46a
2015-07-13 04:57:16 +01:00
berkley4
e84d963ab6 Allow middle click & up/down mousewheel on the clock
The bulk of this commit originally came from David B. Cortarello's
patch (see here - https://gitlab.com/o9000/tint2/issues/430), with me
adding the up/down mousewheel elements.

Under Openbox the middle-click is normally used to display the Openbox
menu and the mousewheel to switch desktop. So I needed to modify tint.c
in order to prevent openbox intercepting the new actions.

This commit creates the following new configuration settings :-

clock_mclick_command
clock_uwheel_command
clock_dwheel_command
2015-07-13 04:10:45 +01:00
o9000
efe9aadb39 Prevent race at startup in detecting screen resolution changes 2015-07-12 14:36:11 +02:00
o9000
8242c969e3 Detect compositor at startup 2015-07-04 13:34:42 +02:00
o9000
47a7013029 Remove noisy debug messages 2015-06-28 11:34:53 +02:00
o9000
a4de005a54 Add missing include 2015-06-26 23:46:43 +02:00
o9000
5abbf168a9 Cosmetic changes 2015-06-25 15:56:36 +02:00
o9000
4d69a0bc33 tint2: Do not rely only on select() to detect new X events, since we sync the socket in the system tray which messes up select 2015-06-25 15:36:47 +02:00