swayfx/sway/desktop
BrassyPanache 7ca9ef12f8 Re-focus on parent surface if it is available
My primary issue was IntelliJ IDEA's code suggestion pop-up not returning focus
to the active editing window.

I have spent some time looking at the changes of @Xyene (#5398) and
@RyanDwyer (#2103). I think my proposed change maintains the status
quo for the most part whilst fixing my focus issue.

I have verified that @Xyene's fix for IntelliJ sub-menus still works.

I have done basic testing which consists of:

- Chrome
- IntelliJ IDEA 2020.2.1
- VSCode
- Alacritty

It seems to hold up. I at least didn't see any obvious errors.

Relates to #3007
2020-09-04 17:00:22 -04:00
..
desktop.c Stop using wlr_output->{lx,ly} 2019-03-11 12:43:01 -04:00
idle_inhibit_v1.c Add views idle inhibition status in get_tree output 2020-05-29 17:29:41 -04:00
layer_shell.c Fix incorrect format specifiers 2020-07-30 22:02:42 -04:00
output.c Use wlr_output_event_commit 2020-08-27 13:57:10 -06:00
render.c Add support for viewporter 2020-06-17 10:18:58 -06:00
surface.c Make handle_destroy and output_repaint_timer_handler static 2020-03-04 03:09:43 +01:00
transaction.c transaction: Mark client resize immediately ready 2020-06-30 10:59:33 +02:00
xdg_shell.c xdg_shell: schedule configure on maximize requests 2020-07-14 15:46:02 +02:00
xwayland.c Re-focus on parent surface if it is available 2020-09-04 17:00:22 -04:00