]> Dogcows Code - chaz/openbox/commitdiff
rename client_configure_full to client_configure
authorDana Jansens <danakj@orodu.net>
Thu, 17 May 2007 01:45:00 +0000 (01:45 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 17 May 2007 01:45:00 +0000 (01:45 +0000)
openbox/client.c
openbox/client.h
openbox/event.c
openbox/moveresize.c

index 57d392495c91b2ce3ccae44a66e8332ed7b4fc53..f1cbdc8d13ff024fe72529a1c2ff18992d84a34a 100644 (file)
@@ -407,9 +407,9 @@ void client_manage(Window window)
 
        do this after adjusting the frame. otherwise it gets all weird and
        clients don't work right */
-    client_configure_full(self, self->area.x, self->area.y,
-                          self->area.width, self->area.height,
-                          FALSE, TRUE);
+    client_configure(self, self->area.x, self->area.y,
+                     self->area.width, self->area.height,
+                     FALSE, TRUE);
 
     /* do this after the window is placed, so the premax/prefullscreen numbers
        won't be all wacko!!
@@ -1771,8 +1771,8 @@ void client_reconfigure(ObClient *self)
     /* by making this pass FALSE for user, we avoid the emacs event storm where
        every configurenotify causes an update in its normal hints, i think this
        is generally what we want anyways... */
-    client_configure_full(self, self->area.x, self->area.y,
-                          self->area.width, self->area.height, FALSE, TRUE);
+    client_configure(self, self->area.x, self->area.y,
+                     self->area.width, self->area.height, FALSE, TRUE);
 }
 
 void client_update_wmhints(ObClient *self)
@@ -2704,8 +2704,8 @@ void client_try_configure(ObClient *self, gint *x, gint *y, gint *w, gint *h,
 }
 
 
-void client_configure_full(ObClient *self, gint x, gint y, gint w, gint h,
-                           gboolean user, gboolean final)
+void client_configure(ObClient *self, gint x, gint y, gint w, gint h,
+                      gboolean user, gboolean final)
 {
     gint oldw, oldh;
     gboolean send_resize_client;
index 3dcf62fc3a8952bf0f5d6762eceb98827611e5af..2cc64a5c26fb8b3d90a58b16d386b452f91a0072 100644 (file)
@@ -369,12 +369,11 @@ void client_convert_gravity(ObClient *self, gint gravity, gint *x, gint *y,
                             gint w, gint h);
 
 #define client_move(self, x, y) \
-  client_configure_full(self, x, y, self->area.width, self->area.height, \
-                        TRUE, TRUE)
+  client_configure(self, x, y, self->area.width, self->area.height, TRUE, TRUE)
 #define client_resize(self, w, h) \
-  client_configure_full(self, self->area.x, self->area.y, w, h, TRUE, TRUE)
+  client_configure(self, self->area.x, self->area.y, w, h, TRUE, TRUE)
 #define client_move_resize(self, x, y, w, h) \
-  client_configure_full(self, x, y, w, h, TRUE, TRUE)
+  client_configure(self, x, y, w, h, TRUE, TRUE)
 
 /*! Figure out where a window will end up and what size it will be if you
   told it to move/resize to these coordinates.
@@ -415,8 +414,8 @@ void client_try_configure(ObClient *self, gint *x, gint *y, gint *w, gint *h,
   @param force_reply Send a ConfigureNotify to the client regardless of if
                      the position changed.
 */
-void client_configure_full(ObClient *self, gint x, gint y, gint w, gint h,
-                           gboolean user, gboolean final);
+void client_configure(ObClient *self, gint x, gint y, gint w, gint h,
+                      gboolean user, gboolean final);
 
 void client_reconfigure(ObClient *self);
 
index e265f4deabbad83e6aadf94cbb0b898f3ca1089f..6a5e3540e175d515c34a260bcb1bfee5ce9a1740 100644 (file)
@@ -1085,7 +1085,7 @@ static void event_handle_client(ObClient *client, XEvent *e)
 
             /* don't create enter events from clients moving themselves */
             grab_pointer(FALSE, FALSE, OB_CURSOR_NONE);
-            client_configure_full(client, x, y, w, h, FALSE, TRUE);
+            client_configure(client, x, y, w, h, FALSE, TRUE);
             ungrab_pointer();
         }
         break;
@@ -1266,7 +1266,7 @@ static void event_handle_client(ObClient *client, XEvent *e)
 
             /* don't create enter events from clients moving themselves */
             grab_pointer(FALSE, FALSE, OB_CURSOR_NONE);
-            client_configure_full(client, x, y, w, h, FALSE, TRUE);
+            client_configure(client, x, y, w, h, FALSE, TRUE);
             ungrab_pointer();
         } else if (msgtype == prop_atoms.net_restack_window) {
             if (e->xclient.data.l[0] != 2) {
index 8b31dbfa2847b8851b4339ebe9a0675b7a84f2b2..837f3e92feec451dd59993944d42fa9f785fc36e 100644 (file)
@@ -295,9 +295,9 @@ void moveresize_end(gboolean cancel)
 #endif
 
         get_resize_position(&x, &y, cancel);
-        client_configure_full(moveresize_client, x, y,
-                              (cancel ? start_cw : cur_x),
-                              (cancel ? start_ch : cur_y), TRUE, TRUE);
+        client_configure(moveresize_client, x, y,
+                         (cancel ? start_cw : cur_x),
+                         (cancel ? start_ch : cur_y), TRUE, TRUE);
     }
 
     moveresize_in_progress = FALSE;
@@ -314,9 +314,9 @@ static void do_move(gboolean keyboard)
     if (!keyboard) resist = config_resist_edge;
     resist_move_monitors(moveresize_client, resist, &cur_x, &cur_y);
 
-    client_configure_full(moveresize_client, cur_x, cur_y,
-                          moveresize_client->area.width,
-                          moveresize_client->area.height, TRUE, FALSE);
+    client_configure(moveresize_client, cur_x, cur_y,
+                     moveresize_client->area.width,
+                     moveresize_client->area.height, TRUE, FALSE);
     if (config_resize_popup_show == 2) /* == "Always" */
         popup_coords(moveresize_client, "%d x %d",
                      moveresize_client->frame->area.x,
@@ -375,8 +375,7 @@ static void do_resize()
     {
         gint x, y;
         get_resize_position(&x, &y, FALSE);
-        client_configure_full(moveresize_client,
-                              x, y, cur_x, cur_y, TRUE, FALSE);
+        client_configure(moveresize_client, x, y, cur_x, cur_y, TRUE, FALSE);
     }
 
     /* this would be better with a fixed width font ... XXX can do it better
This page took 0.035518 seconds and 4 git commands to generate.