GNOME Bugzilla – Bug 132543
Patch implementing NO_RAISE_ON_FOCUS mode
Last modified: 2004-12-22 21:47:04 UTC
A comment in display.c says: /* Raise on clicking the client area always or only * in click to focus mode? The debate rages. * Feel free to change TRUE to FALSE or vice versa */ By user request I have implemented a NO_RAISE_ON_FOCUS mode for metacity. If that mode is activated, windows receiving the focus don't get raised automatically. This is basically a GConf switch for the TRUE/FALSE debate from the comment above. Please review the patch. It applies to CVS HEAD. Thanks, Martin Grimme
Created attachment 23756 [details] [review] the patch for NO_RAISE_ON_FOCUS
Created attachment 23757 [details] [review] same patch as above, just fixed a typo
Well i usually don't like to close other maints bugs, but in this case i'm fairly certain that havoc is going to want to actually implement the wm_spec for this feature which prevents focus stealing on map when a window is accepting input instead of adding a pref. so marking this a dupe of that bug. *** This bug has been marked as a duplicate of 118372 ***
This isn't a duplicate of bug 118372. The description sounds sort of like it, but the description is misleading. What the patch implements is a do-not-raise-on-click option, not a do-not-raise-on-focus option (raising may be equivalent to clicking in click-to-focus mode, but it isn't for sloppy/mouse focus modes). This option isn't something Havoc is going to accept until people have tried alternative intermediate behaviors--e.g. raise on click normally but not when the action is part of a drag and drop operation. There are many bugs about this, see bug 86108, bug 115072, bug 115753, or bug 131135 for more information. I'm reopening and marking as a duplicate of 86108.
*** This bug has been marked as a duplicate of 86108 ***
oops sorry elijah...
David: no worries. :-) I just didn't want someone else running across the bug and getting confused, or having Martin misunderstand your comment and then be surprised when his functionality wasn't becoming part of Metacity, so I thought I'd try to clear things up. I can easily see how these two could be confused (in fact, if I hadn't also made a patch for do-not-raise-on-click similar to Martin's a little while ago, I probably wouldn't have seen the difference either until I tried to figure out how it would help me implement bug 118372).