mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
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:
parent
c64ada94a5
commit
e8267b20fe
@ -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
|
||||
|
@ -907,14 +907,7 @@ 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_window_raise (window);
|
||||
|
||||
meta_topic (META_DEBUG_FOCUS,
|
||||
"Focusing %s due to unmodified button %d press (display.c)\n",
|
||||
|
Loading…
Reference in New Issue
Block a user