Modal dialogs together with "focus follows mouse" results in rather unuseable GTK2 IDE on Awesome window manager
Original Reporter info from Mantis: PascalDragon @PascalDragon
-
Reporter name: Sven Barth
Original Reporter info from Mantis: PascalDragon @PascalDragon
- Reporter name: Sven Barth
Description:
My window manager is Awesome. If I open a modal dialog and move the mouse over a disabled window in the background then the next time the dialog is opened it will be located behind the other windows. Thus these windows need to be put out of the way so that the dialog can be used. This can only be solved by a restart of Lazarus.
Additional information:
See also this mailing list discussion: http://lists.lazarus.freepascal.org/pipermail/lazarus/2013-January/078989.html
Attached is a patch which enables a transient workaround like is done for KWin. The code is written in a way so that easily further window managers can be added (wmii could be a candidate as well).
Mantis conversion info:
- Mantis ID: 23917
- OS: Linux
- OS Build: 3.6
- Platform: i386
- Version: 1.1 (SVN)
- Fixed in revision: r40453 (#d867b45d)