Commit Graph
911 Commits
Author SHA1 Message Date
o9000 e345c0ddcd tint2conf: Add more mouse events for clock and battery (issue #505) 2015-08-01 09:31:11 +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 687f5f2a1b Systray: use correct pointer type in xembed detection (note: dead code) 2015-08-01 08:45:20 +02:00
o9000 c7aa70f078 Systray: remove SubstructureNotifyMask from XSelectInput 2015-08-01 08:40:56 +02:00
o9000 690fe3f4d8 Systray: remove debugging messages 2015-08-01 08:39:51 +02:00
o9000 c1d0a42bed Update changelog 2015-08-01 08:30:00 +02:00
o9000 e5cd73f4a7 Add debugging function for showing monitor geometry 2015-08-01 08:25:36 +02:00
o9000 7ffc220891 Taskbar: Use consistent behavior when showing/hiding sticky (all desktop) windows 2015-08-01 08:22:08 +02:00
o9000 2799fe9346 Taskbar: better task monitor detection (issue #511) 2015-08-01 00:21:25 +02:00
o9000 e2023b7172 systray: Revert break embedding into 2 steps (breaks transparency for Qt icons) 2015-07-31 10:04:41 +02:00
o9000 9224971407 systray: Proper resize redirect handling 2015-07-31 09:58:17 +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 3805adc9f3 Updated readme 2015-07-30 23:10:07 +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 9624b5d558 Revert "taskbar: Add logging for event_configure_notify()"
This reverts commit b99c5c204b.
2015-07-30 22:55:47 +02:00
o9000 754d9187df systray: Revert change that removed XSyncs 2015-07-27 09:47:00 +02:00
o9000 a4996c9d3e Updated readme 2015-07-26 10:31:20 +00:00
o9000 b99c5c204b taskbar: Add logging for event_configure_notify() 2015-07-26 12:08:59 +02:00
o9000 7162c5dea1 taskbar: Add logging for window_get_monitor() 2015-07-26 11:51:39 +02:00
o9000 e3939a56e1 systray: Set _NET_SYSTEM_TRAY_ICON_SIZE 2015-07-26 11:23:27 +02:00
o9000 ceafe9b281 config: Add missing #if 2015-07-23 23:29:02 +02:00
o9000 263d1ab15f systray: Remove unused variable 2015-07-23 22:08:56 +02:00
o9000 e76202b355 Fix systray rendering when compositor off 2015-07-23 20:38:33 +02:00
o9000 f68eabcf35 config: Prevent segfault if panel_items appears late in the config file 2015-07-23 19:56:34 +02:00
o9000 e218b3fa96 systray: Prevent segfault if systray disabled 2015-07-23 19:38:26 +02:00
o9000 50e21b4077 systray: Trying some variations 2015-07-19 18:06:45 +02:00
o9000 b6a1a1c0f6 systray: Remove unneeded resize 2015-07-19 17:12:41 +02:00
o9000 15e12142ca Minor improvements 2015-07-19 17:10:53 +02:00
o9000 b8c1c29df2 systray: Throttle resize events for misbehaving applications 2015-07-19 16:49:05 +02:00
o9000 4a1880ead0 Move things around in the systray code 2015-07-19 16:12:02 +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 9933399dc4 systray: Withdraw window before reparenting 2015-07-16 21:08:47 +02:00
o9000 5ce8023ef7 systray: Watch for window events before reparenting 2015-07-16 21:08:47 +02:00
o9000 6438c75faf systray: A bit of cleanup 2015-07-16 21:08:47 +02:00
o9000 712097ba45 systray: Make sure we redraw the panel when rendering icons 2015-07-16 14:01:57 +02:00
o9000 9a5cb749ed systray: Workaround for GTK icon resize loop issue 2015-07-16 13:12:42 +02:00
o9000 d730f23027 systray: Trigger icon resize only when necessary 2015-07-16 09:02:13 +02:00
o9000 9f161f2baf More logging 2015-07-16 08:53:25 +02:00
o9000 2570ae2cf6 systray: Resize icons only if necessary 2015-07-15 09:53:09 +02:00
o9000 8d5c2d8cbb tint: remove inner loop from the main event loop 2015-07-14 08:33:13 +02:00
o9000 28bf0a437c Updated readme 2015-07-13 05:31:43 +00: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

[*] https://github.com/vimishor/tint2/commit/c78732c46a058a39cc4264505f63c2317d3e5e5d
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 c4fbc2962e tint2conf: Fix bad read of panel_margin 2015-07-12 22:23:25 +02:00