Wed Jul 14 16:16:48 2004 Michael Jennings (mej)
Applied patch from Kim Woelders <kim@woelders.dk> to fix setting of _NET_WM_ICON property. Fixed a couple warnings. ---------------------------------------------------------------------- SVN revision: 10834
This commit is contained in:
parent
d493c1b5d5
commit
9963e03658
|
@ -5229,3 +5229,10 @@ Mon Jun 28 12:34:36 2004 Michael Jennings (mej)
|
|||
|
||||
Cleaning up some warnings.
|
||||
----------------------------------------------------------------------
|
||||
Wed Jul 14 16:16:48 2004 Michael Jennings (mej)
|
||||
|
||||
Applied patch from Kim Woelders <kim@woelders.dk> to fix setting of
|
||||
_NET_WM_ICON property.
|
||||
|
||||
Fixed a couple warnings.
|
||||
----------------------------------------------------------------------
|
||||
|
|
|
@ -53,6 +53,13 @@
|
|||
# undef HAVE_SYS_IOCTL_H
|
||||
# endif
|
||||
|
||||
# ifdef __GNUC__
|
||||
# define _GNU_SOURCE
|
||||
# else
|
||||
# define _XOPEN_SOURCE 600
|
||||
# define _XOPEN_SOURCE_EXTENDED 1
|
||||
# endif
|
||||
|
||||
/********************* Debugging stuff *********************/
|
||||
/* As Keith Bunge would say, don't crap with the debugging stuff below
|
||||
* unless you develop this mess. :^) -- mej
|
||||
|
|
|
@ -2212,9 +2212,10 @@ set_icon_pixmap(char *filename, XWMHints * pwm_hints)
|
|||
wm_hints->flags |= IconPixmapHint | IconMaskHint;
|
||||
#endif
|
||||
|
||||
/* Set the EWMH icon hint for stupid GNOME WM's. */
|
||||
XChangeProperty(Xdisplay, TermWin.parent, props[PROP_EWMH_ICON], XA_CARDINAL, 32, PropModeReplace, (unsigned char *) icon_data, sizeof(icon_data));
|
||||
|
||||
/* Set the EWMH icon hint for _NET_WM-compliant GNOME WM's. */
|
||||
XChangeProperty(Xdisplay, TermWin.parent,
|
||||
props[PROP_EWMH_ICON], XA_CARDINAL, 32, PropModeReplace,
|
||||
(unsigned char *) icon_data, sizeof(icon_data) / sizeof(CARD32));
|
||||
imlib_free_image_and_decache();
|
||||
|
||||
/* Only set the hints ourselves if we were passed a NULL pointer for pwm_hints */
|
||||
|
|
|
@ -1324,7 +1324,10 @@ process_window_mode(unsigned int nargs, int args[])
|
|||
Window dummy_child;
|
||||
int dummy_x, dummy_y;
|
||||
unsigned int dummy_border, dummy_depth;
|
||||
char buff[1024], *name;
|
||||
char buff[1024];
|
||||
#ifdef ENABLE_NAME_REPORTING_ESCAPES
|
||||
char *name;
|
||||
#endif
|
||||
|
||||
if (!nargs)
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue