Skip to content

Commit

Permalink
win: remove some unused stuff
Browse files Browse the repository at this point in the history
Signed-off-by: Yuxuan Shui <[email protected]>
  • Loading branch information
yshui committed Jun 6, 2024
1 parent 4369219 commit f5e80d4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
14 changes: 0 additions & 14 deletions src/wm/win.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include "picom.h"
#include "region.h"
#include "render.h"
#include "utils/list.h"
#include "utils/misc.h"
#include "x.h"

Expand Down Expand Up @@ -74,11 +73,6 @@ static void win_update_opacity_prop(struct x_connection *c, struct atom *atoms,
static void
win_update_prop_shadow_raw(struct x_connection *c, struct atom *atoms, struct win *w);
static bool win_update_prop_shadow(struct x_connection *c, struct atom *atoms, struct win *w);
/**
* Update window EWMH fullscreen state.
*/
bool win_update_prop_fullscreen(struct x_connection *c, const struct atom *atoms,
struct win *w);
/**
* Update leader of a window.
*/
Expand Down Expand Up @@ -865,14 +859,6 @@ void unmap_win_finish(session_t *ps, struct win *w) {
assert(w->running_animation == NULL);
}

struct window_transition_data {
struct win *w;
session_t *ps;
// TODO(yshui) switch to only pass backend_data after the legacy backend removal
// struct backend_base *backend_data;
uint64_t refcount;
};

/**
* Determine whether a window is to be dimmed.
*/
Expand Down
1 change: 0 additions & 1 deletion src/wm/wm_internal.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <assert.h>
#include <stdalign.h>

#include <uthash.h>
Expand Down

0 comments on commit f5e80d4

Please sign in to comment.