summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index e736c593..22ab84e4 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -479,12 +479,18 @@ meta_screen_ensure_tab_popup (MetaScreen *screen)
while (i < len)
{
MetaWindow *window;
-
+ MetaRectangle r;
+
window = tmp->data;
entries[i].xwindow = window->xwindow;
entries[i].title = window->title;
entries[i].icon = window->icon;
+ meta_window_get_outer_rect (window, &r);
+ entries[i].x = r.x;
+ entries[i].y = r.y;
+ entries[i].width = r.width;
+ entries[i].height = r.height;
++i;
tmp = tmp->next;