mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-18 12:43:44 -04:00
Merge branch 'release/1.9.x'
This commit is contained in:
commit
d43482ec9b
@ -52,7 +52,6 @@ struct XVisualInfo;
|
||||
#include <X11/Xutil.h>
|
||||
#include <X11/keysym.h>
|
||||
#include <X11/Xatom.h>
|
||||
#include <X11/Intrinsic.h>
|
||||
|
||||
#ifdef HAVE_XRANDR
|
||||
#include <X11/extensions/Xrandr.h>
|
||||
|
@ -1182,7 +1182,7 @@ set_wm_properties(const WindowProperties &properties, bool already_mapped) {
|
||||
nassertv(next_set_data < max_set_data);
|
||||
|
||||
// Add the process ID as a convenience for other applications.
|
||||
Cardinal pid = getpid();
|
||||
PN_int32 pid = getpid();
|
||||
XChangeProperty(_display, _xwindow, x11_pipe->_net_wm_pid,
|
||||
XA_CARDINAL, 32, PropModeReplace,
|
||||
(unsigned char *)&pid, 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user