summaryrefslogtreecommitdiff
path: root/src/frames.c
diff options
context:
space:
mode:
authorrhp <rhp>2001-07-11 06:22:00 +0000
committerrhp <rhp>2001-07-11 06:22:00 +0000
commit71d3333d4de1b02dbfd415edd6051ce14510f15e (patch)
treebf15920164a4beab392196978d22e992867ab3ea /src/frames.c
parent8a2841a8ab5bb9295ae07cb8fd442f00114a4e8d (diff)
downloadmetacity-71d3333d4de1b02dbfd415edd6051ce14510f15e.tar.gz
metacity-71d3333d4de1b02dbfd415edd6051ce14510f15e.tar.bz2
...
Diffstat (limited to 'src/frames.c')
-rw-r--r--src/frames.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/frames.c b/src/frames.c
index 6cefbd8..d0ab9b2 100644
--- a/src/frames.c
+++ b/src/frames.c
@@ -1358,7 +1358,11 @@ meta_frames_button_press_event (GtkWidget *widget,
return FALSE; /* already up to something */
if (event->button == 1)
- meta_core_user_raise (gdk_display, frame->xwindow);
+ {
+ meta_core_user_raise (gdk_display, frame->xwindow);
+ meta_core_user_focus (gdk_display, frame->xwindow,
+ event->time);
+ }
if (event->button == 1 &&
(control == META_FRAME_CONTROL_MAXIMIZE ||