Fix some leftover code

This commit is contained in:
Drew DeVault 2016-01-17 13:16:36 -05:00
parent 802233f3d0
commit 2e570bbb90
2 changed files with 0 additions and 3 deletions

View file

@ -58,8 +58,6 @@ void arrange_background_view(swayc_t *view, double width, double height) {
struct background_config *config = desktop_shell.backgrounds->items[i]; struct background_config *config = desktop_shell.backgrounds->items[i];
if (config->handle == view->handle) { if (config->handle == view->handle) {
struct wlc_size resolution = *wlc_output_get_resolution(config->output); struct wlc_size resolution = *wlc_output_get_resolution(config->output);
resolution.w = 100;
resolution.h = 100;
wlc_view_set_geometry(view->handle, WLC_RESIZE_EDGE_NONE, &(struct wlc_geometry){ wlc_origin_zero, resolution }); wlc_view_set_geometry(view->handle, WLC_RESIZE_EDGE_NONE, &(struct wlc_geometry){ wlc_origin_zero, resolution });
wlc_view_send_to_back(view->handle); wlc_view_send_to_back(view->handle);
} }

View file

@ -74,7 +74,6 @@ static void handle_output_destroyed(wlc_handle output) {
static void handle_output_post_render(wlc_handle output) { static void handle_output_post_render(wlc_handle output) {
struct wlc_size resolution = *wlc_output_get_resolution(output); struct wlc_size resolution = *wlc_output_get_resolution(output);
swayc_t *swayc = swayc_by_handle(output);
int i; int i;
for (i = 0; i < desktop_shell.panels->length; ++i) { for (i = 0; i < desktop_shell.panels->length; ++i) {