Owen W. Taylor b112d98278 Improve handling of tracking the old focused window during restart
When restarting (X compositor only, obviously), we want to keep
the same window focused. There is code that tries to do this by
calling XGetInputFocus() but the previously focused window will
almost certainly not still be focused by the time we get to the
point where we call XGetInputFocus(), and in fact, probably was
no longer correct after the previous window manager exited, so
the net result is that we tend to focus no window on restart.

A better approach is to leave the _NET_ACTIVE_WINDOW property
set on the root window during exit, and if we find it set when
starting, use that to initialize focus.

https://bugzilla.gnome.org/show_bug.cgi?id=766243
2016-06-29 10:22:55 -04:00
2016-06-22 21:19:55 +00:00
2016-06-21 21:04:52 +02:00
2016-04-27 20:37:47 +02:00
2016-06-21 21:04:52 +02:00
Description
91 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%