move a window to the current space on the MapRequest when it's not on the

* src/display.c (event_callback): move a window to the current
	space on the MapRequest when it's not on the space yet. #100390
This commit is contained in:
Hidetoshi Tajima 2002-12-05 21:59:14 +00:00
parent d26ad2c490
commit d275e4bbc2
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Thu Dec 5 13:56:52 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
* src/display.c (event_callback): move a window to the current
space on the MapRequest when it's not on the space yet. #100390
2002-12-01 Havoc Pennington <hp@pobox.com> 2002-12-01 Havoc Pennington <hp@pobox.com>
* src/frames.c (get_control): rearrange this function a bit, so * src/frames.c (get_control): rearrange this function a bit, so

View File

@ -1458,6 +1458,10 @@ event_callback (XEvent *event,
{ {
if (window->minimized) if (window->minimized)
meta_window_unminimize (window); meta_window_unminimize (window);
if (!meta_workspace_contains_window (window->screen->active_workspace,
window))
meta_window_change_workspace (window,
window->screen->active_workspace);
} }
break; break;
case ReparentNotify: case ReparentNotify: