summaryrefslogtreecommitdiff
path: root/gtk/window-decorator/cairo.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/window-decorator/cairo.c')
-rw-r--r--gtk/window-decorator/cairo.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/window-decorator/cairo.c b/gtk/window-decorator/cairo.c
index fe9b857..5f29901 100644
--- a/gtk/window-decorator/cairo.c
+++ b/gtk/window-decorator/cairo.c
@@ -829,9 +829,6 @@ get_event_window_position (decor_t *d,
gint *w,
gint *h)
{
- WnckWindowType win_type = wnck_window_get_window_type (d->win);
- decor_frame_t *frame = gwd_get_decor_frame (get_frame_type (win_type));
-
if (d->frame_window)
{
*x = pos[i][j].x + pos[i][j].xw * width + d->frame->win_extents.left;