1
0
Fork 0
mutter-performance-source/src/x11
Marco Trevisan (Treviño) f71151a5dd window-x11: Focus the default window with delay while waiting for take-focus
When requesting to a take-focus window to acquire the input, the client may or
may not respond with a SetInputFocus (this doesn't happen for no-input gtk
windows in fact [to be fixed there too]), in such case we were unsetting the
focus while waiting the reply.

In case the client won't respond, we wait for a small delay (set to 250 ms) for
the take-focus window to grab the input focus before setting it to the default
window.

Added a test for this behavior and for the case in which a window takes the
focus meanwhile we're waiting to focus the default window.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/307
2019-06-24 09:42:07 +00:00
..
atomnames.h x11: Remove hide-titlebar-when-maximized support 2018-11-26 13:12:18 +00:00
events.c x11: Separate X11 focus handling into MetaX11Display method 2019-05-24 15:30:31 +00:00
events.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
group-private.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
group-props.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
group-props.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
group.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
iconcache.c Fix builds with G_DISABLE_ASSERT 2019-01-25 09:43:06 +01:00
iconcache.h Move X11 event, icon cache and property handling to MetaX11Display 2018-07-06 19:47:16 +02:00
meta-selection-source-x11-private.h Make MetaSelection, MetaSelectionSource and MetaMemorySelectionSource public 2019-05-02 16:31:45 +02:00
meta-selection-source-x11.c x11: Add X11 MetaSelectionSource implementation 2019-05-02 16:22:08 +02:00
meta-startup-notification-x11.c core: Fix differing sequence timestamp precision expectations 2019-04-17 18:41:13 +02:00
meta-startup-notification-x11.h x11: Add method to launch applications, using SnLauncher 2019-01-18 17:03:57 +00:00
meta-x11-display-private.h core: Untangle input focus management 2019-05-24 15:30:31 +00:00
meta-x11-display.c x11-display: Handle mapped XIDs per type 2019-06-06 21:35:11 +00:00
meta-x11-errors.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
meta-x11-selection-input-stream-private.h x11: Add X11 selection input/output streams 2019-05-02 15:40:13 +02:00
meta-x11-selection-input-stream.c x11: Add X11 selection input/output streams 2019-05-02 15:40:13 +02:00
meta-x11-selection-output-stream-private.h x11: Add X11 selection input/output streams 2019-05-02 15:40:13 +02:00
meta-x11-selection-output-stream.c x11: Add X11 selection input/output streams 2019-05-02 15:40:13 +02:00
meta-x11-selection-private.h Make MetaSelection, MetaSelectionSource and MetaMemorySelectionSource public 2019-05-02 16:31:45 +02:00
meta-x11-selection.c x11: Do not warn on cancelled X11 selection sources 2019-05-15 13:14:12 +00:00
meta-x11-stack-private.h x11: Add MetaX11Stack object 2019-05-24 15:30:31 +00:00
meta-x11-stack.c x11: Add MetaX11Stack object 2019-05-24 15:30:31 +00:00
mutter-Xatomtype.h mutter-Xatomtype: Fix the sizes of these structs 2015-06-23 11:46:29 -07:00
session.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
session.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
window-props.c window-x11: Fix _XOPEN_SOURCE usage for gethostname on FreeBSD 2019-06-24 09:35:02 +00:00
window-props.h Clean up include macros mess 2018-11-06 17:17:36 +01:00
window-x11-private.h window: Move can_ping to a function and implement in X11 2019-02-13 02:07:41 +00:00
window-x11.c window-x11: Focus the default window with delay while waiting for take-focus 2019-06-24 09:42:07 +00:00
window-x11.h window: Move can_ping to a function and implement in X11 2019-02-13 02:07:41 +00:00
xprops.c Clean up include macros mess 2018-11-06 17:17:36 +01:00
xprops.h Clean up include macros mess 2018-11-06 17:17:36 +01:00