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:
@@ -45,7 +45,7 @@ testcolorpanel_LDADD = libWINGs.a $(LIBLIST)
|
||||
|
||||
testnot_SOURCES = testnot.c
|
||||
|
||||
testnot_LDADD = libWUtil.a @LIBPL@
|
||||
testnot_LDADD = libWUtil.a @LIBRARY_SEARCH_PATH@ @LIBPL@
|
||||
|
||||
|
||||
wmquery_SOURCES = wmquery.c
|
||||
|
||||
@@ -131,7 +131,7 @@ testcolorpanel_LDADD = libWINGs.a $(LIBLIST)
|
||||
|
||||
testnot_SOURCES = testnot.c
|
||||
|
||||
testnot_LDADD = libWUtil.a @LIBPL@
|
||||
testnot_LDADD = libWUtil.a @LIBRARY_SEARCH_PATH@ @LIBPL@
|
||||
|
||||
wmquery_SOURCES = wmquery.c
|
||||
|
||||
|
||||
@@ -9,7 +9,9 @@ CLEANFILES = Default.iconset
|
||||
|
||||
Default.iconset: $(top_srcdir)/WindowMaker/Defaults/WMWindowAttributes
|
||||
-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
|
||||
|
||||
|
||||
|
||||
@@ -221,7 +221,9 @@ maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
||||
|
||||
Default.iconset: $(top_srcdir)/WindowMaker/Defaults/WMWindowAttributes
|
||||
-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
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
|
||||
@@ -718,12 +718,8 @@ wClientGetNormalHints(WWindow *wwin, XWindowAttributes *wattribs, Bool geometry,
|
||||
#ifdef IGNORE_PPOSITION
|
||||
wwin->normal_hints->flags &= ~PPosition;
|
||||
#endif
|
||||
#if 0
|
||||
/* this seems obsoleted. Now geometry is taken from XGetWindowAttributes()
|
||||
* in XGetNormalHints() we only have the hints themselves.
|
||||
* check this. --Dan
|
||||
*/
|
||||
if (/* check this !pre_icccm && */!wwin->screen_ptr->flags.startup && geometry) {
|
||||
|
||||
if (pre_icccm && !wwin->screen_ptr->flags.startup && geometry) {
|
||||
if (wwin->normal_hints->flags & (USPosition|PPosition)) {
|
||||
*x = wwin->normal_hints->x;
|
||||
*y = wwin->normal_hints->y;
|
||||
@@ -733,7 +729,6 @@ wClientGetNormalHints(WWindow *wwin, XWindowAttributes *wattribs, Bool geometry,
|
||||
*height = wwin->normal_hints->height;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user