That does solve the "urgent instead of switch after alt+tab" issue, but for me it doesn't solve the more important one - window gets raised but doesn't get focus.
After that change the behavior is:
post-3. firefox is raised, but focus remains with terminal
post-4. only now you get switched to firefox
post-5. then works as expected
It does solve the Alt+Tab for chromium, 'cause the chromium window already holds focus and is active. Try executing `chromium-browser http://google.pl/` in a terminal to see what I mean.
Okay, so... if I understand what you mean, that's what you did:
Index: metacity- 2.34.1/ src/core/ window. c ======= ======= ======= ======= ======= ======= ======= ======= ==== 2.34.1. orig/src/ core/window. c 2011-09-13 12:37:46.240667605 +0200 2.34.1/ src/core/ window. c 2011-09-13 12:39:41.850668035 +0200 ignore_ outdated_ timestamps = TYPE_PAGER) ); TYPE_PAGER) ; TIME_IS_ BEFORE (timestamp, window- >display- >last_user_ time) &&
can_ignore_ outdated_ timestamps)
=======
--- metacity-
+++ metacity-
@@ -3043,7 +3043,7 @@
* honor 0 timestamps for pagers.
*/
can_
- (timestamp != 0 || (FALSE && source_indication != META_CLIENT_
+ (FALSE && source_indication != META_CLIENT_
if (XSERVER_
{
That does solve the "urgent instead of switch after alt+tab" issue, but for me it doesn't solve the more important one - window gets raised but doesn't get focus.
After that change the behavior is:
post-3. firefox is raised, but focus remains with terminal
post-4. only now you get switched to firefox
post-5. then works as expected
It does solve the Alt+Tab for chromium, 'cause the chromium window already holds focus and is active. Try executing `chromium-browser http:// google. pl/` in a terminal to see what I mean.