You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



hide/unhide active window via Window Buttons

Author (Read 4182 times)

0 Members and 1 Guest are viewing this topic.

Re: hide/unhide active window via Window Buttons
« Reply #4 on: June 01, 2015, 05:10:48 PM »
 

anon222

  • Muted
  • Gold Level Poster
  • *
  • 688
    Posts
  • Reputation: 192
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Pentium E5700 3GHz

  • MEMORY: 3Gb

  • VIDEO CARD: GeForce GT 430
Nice find. :)
Middle click actions -> Minimize
 

Re: hide/unhide active window via Window Buttons
« Reply #3 on: May 31, 2015, 06:28:49 AM »
 

stop0x0000000a

  • New to Forums
  • *
  • 18
    Posts
  • Reputation: 6
  • Linux Lite Member
    • View Profile
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: [Select]
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!
« Last Edit: May 31, 2015, 06:30:49 AM by stop0x0000000a »
 

Re: hide/unhide active window via Window Buttons
« Reply #2 on: May 27, 2015, 09:43:54 AM »
 

anon222

  • Muted
  • Gold Level Poster
  • *
  • 688
    Posts
  • Reputation: 192
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Pentium E5700 3GHz

  • MEMORY: 3Gb

  • VIDEO CARD: GeForce GT 430
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:

If you enable window grouping all open windows of the same type will be stored under one button.
Hope this helps.
 

hide/unhide active window via Window Buttons
« Reply #1 on: May 27, 2015, 03:09:03 AM »
 

stop0x0000000a

  • New to Forums
  • *
  • 18
    Posts
  • Reputation: 6
  • Linux Lite Member
    • View Profile
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?



 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section