LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
hide/unhide active window via Window Buttons
#3
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

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!
Reply


Messages In This Thread
Re: hide/unhide active window via Window Buttons - by stop0x0000000a - 05-31-2015, 10:28 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)