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
#1
Hello

Probably that is an easy interface question, but could not find it out with Settings.

Is there a way to disable active window hiding?

For instance I've got two FireFox windows “abc.com” and  “def.com”, “abc” is active and on top.

If I click it again via Window Buttons – abc.com hides and and I got def.com that was hidden behind.

Usually I got 30-40 windows opened and used to click the Panel first no matter that's opened/active now.
If abc is already on top, it disappears and I got wrong window - is there any way to prevent it?



Reply
#2
Hello
I don't think it is possible to disable the minimize as an option,
You could use alt+tab to switch between open applications
or add a Window Menu to the panel
Right click on the panel -> Panel -> Add New Items
Then add a Window Menu, you can move it if you right click on it and select Move or change options on Properties.

Also there is a Window Grouping option that is disabled by default but might be usefull to you.
Panel -> Panel Preferences -> Items
Double-click on Window Buttons and you will get this:
[Image: iNLCnYc.png]
If you enable window grouping all open windows of the same type will be stored under one button.
Hope this helps.
Reply
#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
#4
Nice find. Smile
Middle click actions -> Minimize
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)