How to prevent focused window to raise?

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon

How to prevent focused window to raise?

Postby anonrate on Thu Jan 10, 2013 4:03 am

Is there any way to prevent window which just got focus to raise?
I find it quite annoying.

Thanks,
Anon
anonrate
Level 1
Level 1
 
Posts: 5
Joined: Wed Jan 09, 2013 1:59 pm

Linux Mint is funded by ads and donations.
 

AW: How to prevent focused window to raise?

Postby teilnehmer on Thu Jan 10, 2013 4:09 am

Hi Anonrate,

there most probably is. Which desktop are you using (XFCE, Mate, Cinnamon)?

I'll have to look it up, but it annoys me as well, so on my system I always change that behavior. If you want to hunt yourself, it should be somewhere in window settings or your desktop's equivalent.
User avatar
teilnehmer
Level 2
Level 2
 
Posts: 97
Joined: Sat May 14, 2011 4:19 am
Location: Germany

Re: How to prevent focused window to raise?

Postby anonrate on Thu Jan 10, 2013 8:43 am

Hi
I use Cinnamon and its Settings tool doesn't offer (under Windows tab) any option for my problem.
It's why I asked here, maybe somebody know a "hack" or so.

Thanks
Anon
anonrate
Level 1
Level 1
 
Posts: 5
Joined: Wed Jan 09, 2013 1:59 pm

Re: How to prevent focused window to raise?

Postby teilnehmer on Thu Jan 10, 2013 9:53 am

I don't use Cinnamon myself - you might want to browse this thread:
viewtopic.php?f=90&t=94195

Here's the part that may make you day:

N31L wrote:I had the same issue with the mouse focus also raising the window to the front no matter what settings I made. It took me an hour to finally find the place where the "auto_focus" setting would actually affect the windowed behaviour in gnome.
I had verified that I had the correct settings (in gconf set auto_raise to false & focus_mode to sloppy) but no matter what I changed these settings to, the behaviour remained the same. I downloaded gnome-tweak-tool and made similar setting in the windows section of that, setting the windows focus mode to sloppy... but again, no change in behaviour. I also tried downloading ccsm (compizconfig settings manager) and setting the options there, but that didn't work either.
Finally, I went into dconf-editor (you can download it with 'sudo apt-get install dconf-tools' if you don't already have the package) and under:
org > gnome > desktop > wm > preferences
I found the same settings as in gconf-editor under Metacity. Here I unselected auto_raise and then changed the focus_mode to sloppy.
These settings actually took, and now the focus moves with the mouse -- without also bringing that window to the forefront.
Hopefully this helps.


Seems like a bit of a hassle for a simple wish, but hey, after that you'll know what the dconf-editor looks like.
User avatar
teilnehmer
Level 2
Level 2
 
Posts: 97
Joined: Sat May 14, 2011 4:19 am
Location: Germany

Re: How to prevent focused window to raise?

Postby Orbmiser on Thu Jan 10, 2013 1:08 pm

Strange as have Cinnamon 14 and sloppy and stacked windows stay in position with focus changing and without moving or bringing them forward. Is that what is being discussed here? Windows being moved to forefront?
Maybe a theme thing? Sorry just guessing here.
User avatar
Orbmiser
Level 7
Level 7
 
Posts: 1514
Joined: Thu Oct 18, 2012 5:16 pm
Location: Portland,Oregon

Solved: How to prevent focused window to raise?

Postby anonrate on Fri Jan 11, 2013 7:36 am

Thanks teilnehmer for the tip.
dconf-editor was the way to go.
Under
org > gnome > desktop > wm > preferences
I had auto-raise _not_ checked and auto-raise-delay 500.

After I set auto-raise-delay = 0, auto-raise stopped.
It looks like a bug.
I've just installed latest Mint/Cinnamon on another laptop
and with the default settings
(auto-raise _not_ checked and auto-raise-delay 500)
it doesn't do auto-raise.

Thanks again,
Anon
anonrate
Level 1
Level 1
 
Posts: 5
Joined: Wed Jan 09, 2013 1:59 pm

AW: How to prevent focused window to raise?

Postby teilnehmer on Sat Jan 19, 2013 10:07 am

Glad it worked out! :)
User avatar
teilnehmer
Level 2
Level 2
 
Posts: 97
Joined: Sat May 14, 2011 4:19 am
Location: Germany

Linux Mint is funded by ads and donations.
 

Return to Cinnamon

Who is online

Users browsing this forum: jiawen and 4 guests