1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 12:58:08 +01:00

misc bug fixes.

This commit is contained in:
dan
1999-09-18 20:37:23 +00:00
parent 5f4618e8e7
commit e230ca4245
5 changed files with 10 additions and 11 deletions

View File

@@ -45,7 +45,7 @@ testcolorpanel_LDADD = libWINGs.a $(LIBLIST)
testnot_SOURCES = testnot.c testnot_SOURCES = testnot.c
testnot_LDADD = libWUtil.a @LIBPL@ testnot_LDADD = libWUtil.a @LIBRARY_SEARCH_PATH@ @LIBPL@
wmquery_SOURCES = wmquery.c wmquery_SOURCES = wmquery.c

View File

@@ -131,7 +131,7 @@ testcolorpanel_LDADD = libWINGs.a $(LIBLIST)
testnot_SOURCES = testnot.c testnot_SOURCES = testnot.c
testnot_LDADD = libWUtil.a @LIBPL@ testnot_LDADD = libWUtil.a @LIBRARY_SEARCH_PATH@ @LIBPL@
wmquery_SOURCES = wmquery.c wmquery_SOURCES = wmquery.c

View File

@@ -9,7 +9,9 @@ CLEANFILES = Default.iconset
Default.iconset: $(top_srcdir)/WindowMaker/Defaults/WMWindowAttributes Default.iconset: $(top_srcdir)/WindowMaker/Defaults/WMWindowAttributes
-rm -f Default.iconset -rm -f Default.iconset
grep Icon $(top_srcdir)/WindowMaker/Defaults/WMWindowAttributes > Default.iconset echo '{' > Default.iconset
grep Icon $(top_srcdir)/WindowMaker/Defaults/WMWindowAttributes >> Default.iconset
echo '}' >> Default.iconset
chmod 644 Default.iconset chmod 644 Default.iconset

View File

@@ -221,7 +221,9 @@ maintainer-clean-generic clean mostlyclean distclean maintainer-clean
Default.iconset: $(top_srcdir)/WindowMaker/Defaults/WMWindowAttributes Default.iconset: $(top_srcdir)/WindowMaker/Defaults/WMWindowAttributes
-rm -f Default.iconset -rm -f Default.iconset
grep Icon $(top_srcdir)/WindowMaker/Defaults/WMWindowAttributes > Default.iconset echo '{' > Default.iconset
grep Icon $(top_srcdir)/WindowMaker/Defaults/WMWindowAttributes >> Default.iconset
echo '}' >> Default.iconset
chmod 644 Default.iconset chmod 644 Default.iconset
# Tell versions [3.59,3.63) of GNU make to not export all variables. # Tell versions [3.59,3.63) of GNU make to not export all variables.

View File

@@ -718,12 +718,8 @@ wClientGetNormalHints(WWindow *wwin, XWindowAttributes *wattribs, Bool geometry,
#ifdef IGNORE_PPOSITION #ifdef IGNORE_PPOSITION
wwin->normal_hints->flags &= ~PPosition; wwin->normal_hints->flags &= ~PPosition;
#endif #endif
#if 0
/* this seems obsoleted. Now geometry is taken from XGetWindowAttributes() if (pre_icccm && !wwin->screen_ptr->flags.startup && geometry) {
* in XGetNormalHints() we only have the hints themselves.
* check this. --Dan
*/
if (/* check this !pre_icccm && */!wwin->screen_ptr->flags.startup && geometry) {
if (wwin->normal_hints->flags & (USPosition|PPosition)) { if (wwin->normal_hints->flags & (USPosition|PPosition)) {
*x = wwin->normal_hints->x; *x = wwin->normal_hints->x;
*y = wwin->normal_hints->y; *y = wwin->normal_hints->y;
@@ -733,7 +729,6 @@ wClientGetNormalHints(WWindow *wwin, XWindowAttributes *wattribs, Bool geometry,
*height = wwin->normal_hints->height; *height = wwin->normal_hints->height;
} }
} }
#endif
} }