28 lines
1.3 KiB
Text
28 lines
1.3 KiB
Text
$NetBSD: patch-ab,v 1.1 2005/10/23 13:32:39 rillig Exp $
|
|
|
|
ISO C90 fixes.
|
|
|
|
--- x11.c.orig Sat Sep 24 10:09:27 2005
|
|
+++ x11.c Sun Oct 23 15:29:16 2005
|
|
@@ -106,9 +106,9 @@ void recurseWindow(Display * dsp, Window
|
|
for (i = 0; i < num_child_windows; i++) {
|
|
recurseWindow(dsp, child_windows[i], tileconf, tilestate);
|
|
if (isNotIconified(dsp, child_windows[i])) {
|
|
+ XTextProperty tpr;
|
|
if (tileconf->verbose >= GT_DEBUG)
|
|
printf("recurseWindow Visible: %ld\n", child_windows[i]);
|
|
- XTextProperty tpr;
|
|
if (0 != XGetWMName(dsp, child_windows[i], &tpr)) {
|
|
if (!shouldWeAvoid
|
|
(dsp, child_windows[i], (char *) tpr.value, tileconf,
|
|
@@ -175,9 +175,9 @@ void moveResizeWindow(Display * dsp, Win
|
|
if (!shouldWeAvoid
|
|
(dsp, child_windows[i], (char *) tpr.value, tileconf,
|
|
tilestate, "moveResizeWindow")) {
|
|
+ int x, y, width, height;
|
|
if (tileconf->verbose >= GT_ACTION)
|
|
printf("moveResizeWindow: %s\n", tpr.value);
|
|
- int x, y, width, height;
|
|
switch (tileconf->orientation) {
|
|
case HORIZONTAL:
|
|
width =
|