diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frame.c b/src/frame.c index b95f8a04e70..ff6e7cd10ac 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -455,7 +455,7 @@ do_switch_frame (frame, no_enter, track) | |||
| 455 | { | 455 | { |
| 456 | Lisp_Object focus, xfocus; | 456 | Lisp_Object focus, xfocus; |
| 457 | 457 | ||
| 458 | xfocus = x_get_focus_frame (); | 458 | xfocus = x_get_focus_frame (XFRAME (frame)); |
| 459 | if (FRAMEP (xfocus)) | 459 | if (FRAMEP (xfocus)) |
| 460 | { | 460 | { |
| 461 | focus = FRAME_FOCUS_FRAME (XFRAME (xfocus)); | 461 | focus = FRAME_FOCUS_FRAME (XFRAME (xfocus)); |
| @@ -1411,7 +1411,7 @@ The redirection lasts until `redirect-frame-focus' is called to change it.") | |||
| 1411 | #endif | 1411 | #endif |
| 1412 | 1412 | ||
| 1413 | if (frame_rehighlight_hook) | 1413 | if (frame_rehighlight_hook) |
| 1414 | (*frame_rehighlight_hook) (); | 1414 | (*frame_rehighlight_hook) (XFRAME (focus_frame)); |
| 1415 | 1415 | ||
| 1416 | return Qnil; | 1416 | return Qnil; |
| 1417 | } | 1417 | } |