aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/devilspie/files/patch-src_actions.c
blob: 39a0f059b9f08dab2f4274ac9490b3aced27f9cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- src/actions.c.orig  Fri Oct 21 11:58:14 2005
+++ src/actions.c   Tue Jan 24 18:30:58 2006
@@ -138,14 +138,14 @@
   gint xoffset, yoffset, window_width, window_height,
     workspace_width, workspace_height;
   int new_xoffset, new_yoffset;
+  WnckScreen *screen;
+  WnckWorkspace *workspace;
 
   /* read in window geometry */
   wnck_window_get_geometry (c->window,
                             &xoffset, &yoffset, &window_width, &window_height);
 
   /* read in workspace geometry */
-  WnckScreen *screen;
-  WnckWorkspace *workspace;
   screen           = wnck_window_get_screen (c->window);
   workspace        = wnck_screen_get_active_workspace (screen);
   workspace_width  = wnck_workspace_get_width  (workspace);