diff options
author | Vincent Untz <vuntz@gnome.org> | 2006-02-18 15:47:57 +0000 |
---|---|---|
committer | Vincent Untz <vuntz@src.gnome.org> | 2006-02-18 15:47:57 +0000 |
commit | 1b03a9e9e4ce4ee685bc0d8a298ade5664aca801 (patch) | |
tree | 76abfce6596c5cc34be499baef1a4ee6b8bd00c9 | |
parent | b30e4ad8d7f02bfc80a9cc9fbac62c103e3d8b65 (diff) | |
download | libwnck-1b03a9e9e4ce4ee685bc0d8a298ade5664aca801.tar.gz |
really fix the bug :-)
2006-02-18 Vincent Untz <vuntz@gnome.org>
* libwnck/pager.c: (wnck_pager_button_release): really fix the bug :-)
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | libwnck/pager.c | 5 |
2 files changed, 7 insertions, 2 deletions
@@ -1,5 +1,9 @@ 2006-02-18 Vincent Untz <vuntz@gnome.org> + * libwnck/pager.c: (wnck_pager_button_release): really fix the bug :-) + +2006-02-18 Vincent Untz <vuntz@gnome.org> + * libwnck/pager.c: (wnck_pager_button_release): don't mark the window being dropped as the one in action (ie, the one that we should not draw) if we drop it on its original workspace. diff --git a/libwnck/pager.c b/libwnck/pager.c index 311330c..83815a9 100644 --- a/libwnck/pager.c +++ b/libwnck/pager.c @@ -1261,12 +1261,13 @@ wnck_pager_button_release (GtkWidget *widget, if (space) { + if (wnck_window_get_workspace (pager->priv->drag_window) != space) + pager->priv->action_window = pager->priv->drag_window; + wnck_window_move_to_workspace (pager->priv->drag_window, space); if (space == wnck_screen_get_active_workspace (pager->priv->screen)) wnck_window_activate (pager->priv->drag_window, event->time); - else - pager->priv->action_window = pager->priv->drag_window; } } |