shell: remove two redundant statements from map()
I stared at this function for some time, and these were the only lines I could sanely remove. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
@@ -1306,7 +1306,6 @@ map(struct weston_shell *base,
|
|||||||
case SHELL_SURFACE_TOPLEVEL:
|
case SHELL_SURFACE_TOPLEVEL:
|
||||||
surface->geometry.x = 10 + random() % 400;
|
surface->geometry.x = 10 + random() % 400;
|
||||||
surface->geometry.y = 10 + random() % 400;
|
surface->geometry.y = 10 + random() % 400;
|
||||||
surface->geometry.dirty = 1;
|
|
||||||
break;
|
break;
|
||||||
case SHELL_SURFACE_SCREENSAVER:
|
case SHELL_SURFACE_SCREENSAVER:
|
||||||
case SHELL_SURFACE_FULLSCREEN:
|
case SHELL_SURFACE_FULLSCREEN:
|
||||||
@@ -1337,7 +1336,6 @@ map(struct weston_shell *base,
|
|||||||
/* lock surface always visible, on top */
|
/* lock surface always visible, on top */
|
||||||
wl_list_insert(&compositor->surface_list, &surface->link);
|
wl_list_insert(&compositor->surface_list, &surface->link);
|
||||||
|
|
||||||
weston_compositor_repick(compositor);
|
|
||||||
weston_compositor_wake(compositor);
|
weston_compositor_wake(compositor);
|
||||||
do_configure = 1;
|
do_configure = 1;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user