05-31-2015, 10:28 AM
(This post was last modified: 05-31-2015, 10:30 AM by stop0x0000000a.)
Thanx for you reply, misko_2083!
Yes, Window Menu & Alt-TAB behave as I expect, but a bit used to App Buttons so I dig into the source code.
Seems there is a little trick:
xfce4-panel-4.11.0/plugins/tasklist/tasklist-widget.c
I've simple set my middle button to "MINIMIZE" mode and it works!
Yes, Window Menu & Alt-TAB behave as I expect, but a bit used to App Buttons so I dig into the source code.
Seems there is a little trick:
xfce4-panel-4.11.0/plugins/tasklist/tasklist-widget.c
Code:
static void
xfce_tasklist_button_activate (XfceTasklistChild *child,
guint32 timestamp)
{
...
if (wnck_window_is_active (child->window)
|| wnck_window_transient_is_most_recently_activated (child->window))
{
/* minimize does not work when this is assigned to the
* middle mouse button */
if (child->tasklist->middle_click != XFCE_TASKLIST_MIDDLE_CLICK_MINIMIZE_WINDOW)
wnck_window_minimize (child->window);
}
else
I've simple set my middle button to "MINIMIZE" mode and it works!