mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-07 22:34:18 +01:00
WINGs: Small assorted formatting changes
Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
This commit is contained in:
committed by
Carlos R. Mafra
parent
02de600ecd
commit
51236308d2
@@ -478,7 +478,7 @@ static void registerDescriptionList(WMScreen * scr, WMView * view, WMArray * ope
|
|||||||
|
|
||||||
/* size of XA_STRING info */
|
/* size of XA_STRING info */
|
||||||
for (i = 0; i < count; i++) {
|
for (i = 0; i < count; i++) {
|
||||||
size += strlen(WMGetDragOperationItemText(WMGetFromArray(operationArray, i))) + 1; /* +1 = +NULL */
|
size += strlen(WMGetDragOperationItemText(WMGetFromArray(operationArray, i))) + 1 /* NULL */;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* create text list */
|
/* create text list */
|
||||||
|
|||||||
@@ -649,7 +649,8 @@ void WMAddSplitViewSubview(WMSplitView * sPtr, WMView * subview)
|
|||||||
|
|
||||||
CHECK_CLASS(sPtr, WC_SplitView);
|
CHECK_CLASS(sPtr, WC_SplitView);
|
||||||
|
|
||||||
if (!(p = (W_SplitViewSubview *) wmalloc(sizeof(W_SplitViewSubview))))
|
p = (W_SplitViewSubview *) wmalloc(sizeof(W_SplitViewSubview));
|
||||||
|
if (!p)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
wasMapped = subview->flags.mapped;
|
wasMapped = subview->flags.mapped;
|
||||||
|
|||||||
@@ -213,8 +213,8 @@ dnl Checks for typedefs, structures, and compiler characteristics.
|
|||||||
dnl ==============================================================
|
dnl ==============================================================
|
||||||
AC_DECL_SYS_SIGLIST
|
AC_DECL_SYS_SIGLIST
|
||||||
AC_C_CONST
|
AC_C_CONST
|
||||||
#AC_TYPE_SIZE_T
|
AC_TYPE_SIZE_T
|
||||||
#AC_TYPE_PID_T
|
AC_TYPE_PID_T
|
||||||
AC_TYPE_SIGNAL
|
AC_TYPE_SIGNAL
|
||||||
|
|
||||||
|
|
||||||
@@ -410,7 +410,7 @@ if test "$shape" = yes; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
dnl XRandR support
|
dnl XRandR support
|
||||||
dnl =============
|
dnl ==============
|
||||||
xrandr=no
|
xrandr=no
|
||||||
AC_ARG_ENABLE(xrandr, AS_HELP_STRING([--enable-xrandr], [enable XRandR window extension support]),
|
AC_ARG_ENABLE(xrandr, AS_HELP_STRING([--enable-xrandr], [enable XRandR window extension support]),
|
||||||
xrandr=$enableval, xrandr=no)
|
xrandr=$enableval, xrandr=no)
|
||||||
@@ -797,7 +797,7 @@ AC_SUBST(wprefs_bindir)
|
|||||||
|
|
||||||
|
|
||||||
dnl Enable User Defined Menu thing
|
dnl Enable User Defined Menu thing
|
||||||
dnl ==================================
|
dnl ==============================
|
||||||
AC_ARG_ENABLE(usermenu, AS_HELP_STRING([--enable-usermenu], [user defined menus for applications]),
|
AC_ARG_ENABLE(usermenu, AS_HELP_STRING([--enable-usermenu], [user defined menus for applications]),
|
||||||
if test "$enableval" = yes; then
|
if test "$enableval" = yes; then
|
||||||
AC_DEFINE(USER_MENU, 1, [define if you want user defined menus for applications])
|
AC_DEFINE(USER_MENU, 1, [define if you want user defined menus for applications])
|
||||||
|
|||||||
Reference in New Issue
Block a user