0

I am troubleshooting this GUI application running multiple windows, some of which are small and made explicitly to stay on top of the main window (which usually stays on the first display scree). The problem is, as soon as i take the cursor to the second display screen , the window (which is supposed to stay on top) hides , and i have to (ALT-TAB) to retrieve it.

This problem has nothing to do with GUI application, this rather has to do with window management, because when i open a terminal window on top of the main window , as soon as i take the cursor to the second display window, the terminal window hides.

I heard that Metacity has some fix to this ? Is there a way to write a bash script to handle this issue, i just don't know how to start ?

0

Without any info on your environment, perhaps this will help:

http://worldofgnome.org/how-to-set-focus-follows-mouse-in-gnome-3-windows/

Essentially, use the method for your distro to edit this dconf:

org-> gnome-> desktop-> wm-> preferences -> focus-mode

It sounds like when you are moving your mouse, it changes focus away from the window that you want on top.

  • correct me if i'm wrong, but the link says that the default-click behavior which is when the mouse clicks over the window, it will focus. – Sam Gomari Jan 28 '16 at 20:50
  • Btw , my gnome is 2.28 and can't change it ...is the configuration of "Focus-Follows-Mouse available in the version of Gnome i mentioned. – Sam Gomari Jan 28 '16 at 21:01
  • Actually, when in the first display screen, the window which supposed to stay on top does not hide as i drag the mouse to the main window (both in the same display screen), this happens only when i move the cursor to the second window. – Sam Gomari Jan 28 '16 at 21:09
  • When you say hide, do you mean minimize or go behind the focused window? If it's just going behind the focused/primary window, It would mean that moving to the second display is causing the focused window to refocus in front of the secondary window. – NekkabCire Jan 28 '16 at 22:18
  • Right your interpretation of "hide" is correct. So how would i change gconf flags to raise or what configuration do i need to make...i'm looking at some gnome tutorial, but a redirection in the right path to solution is appreciated – Sam Gomari Jan 28 '16 at 22:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.