always raise windows on focus click, regardless of focus mode.

2002-04-29  Havoc Pennington  <hp@redhat.com>

	* src/display.c (event_callback): always raise windows on focus
	click, regardless of focus mode.
This commit is contained in:
Havoc Pennington 2002-04-29 20:20:38 +00:00 committed by Havoc Pennington
parent c64ada94a5
commit e8267b20fe
2 changed files with 6 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2002-04-29 Havoc Pennington <hp@redhat.com>
* src/display.c (event_callback): always raise windows on focus
click, regardless of focus mode.
2002-04-29 Havoc Pennington <hp@redhat.com>
* configure.in: 2.3.144

View File

@ -907,13 +907,6 @@ event_callback (XEvent *event,
if (unmodified ||
event->xbutton.button == 1)
{
/* We always raise in click-to-focus, and
* raise only if Alt is down for sloppy/mouse
* (sloppy/mouse allow left-click without raising).
* I'm not sure I have a rationale for this.
*/
if (meta_prefs_get_focus_mode () == META_FOCUS_MODE_CLICK ||
!unmodified)
meta_window_raise (window);
meta_topic (META_DEBUG_FOCUS,