Commit e6298069 authored by Jonny Lamb's avatar Jonny Lamb
Browse files

gtk-shell: add hack to always keep app launcher onscreen

At the moment there's a problem where weston_view->output_mask for the
app launcher window isn't updated during the animation of moving it
onscreen. While offscreen ->output_mask is obviously 0 but during the
animation the correct output should be added to the mask.

To workaround this problem for now we'll keep the window always
onscreen but hidden by the panel so this problem is never hit. This is
a horrible hack and should be fixed properly as soon as possible.
parent 53f7cfc8
......@@ -140,7 +140,8 @@ desktop_shell_configure(void *data,
- grid_width,
/* TODO: massive hack so window is always onscreen */
- grid_width + 1,
((height - window_height) / 2) + MAYNARD_CLOCK_HEIGHT);
......@@ -184,7 +185,8 @@ launcher_grid_toggle (GtkWidget *widget, struct desktop *desktop)
/* TODO: massive hack so window is always onscreen */
width + MAYNARD_PANEL_WIDTH - 1, 0);
desktop->grid_visible = !desktop->grid_visible;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment