Use uint32_t instead of long in Client::sendClientMessage

This commit is contained in:
Martin Gräßlin 2014-04-28 14:47:18 +02:00
parent cd6ed49299
commit 068ee6d39c
2 changed files with 2 additions and 2 deletions

View file

@ -1362,7 +1362,7 @@ void Client::updateHiddenPreview()
} }
} }
void Client::sendClientMessage(xcb_window_t w, xcb_atom_t a, xcb_atom_t protocol, long data1, long data2, long data3) void Client::sendClientMessage(xcb_window_t w, xcb_atom_t a, xcb_atom_t protocol, uint32_t data1, uint32_t data2, uint32_t data3)
{ {
xcb_client_message_event_t ev; xcb_client_message_event_t ev;
memset(&ev, 0, sizeof(ev)); memset(&ev, 0, sizeof(ev));

View file

@ -824,7 +824,7 @@ private:
void killProcess(bool ask, xcb_timestamp_t timestamp = XCB_TIME_CURRENT_TIME); void killProcess(bool ask, xcb_timestamp_t timestamp = XCB_TIME_CURRENT_TIME);
void updateUrgency(); void updateUrgency();
static void sendClientMessage(xcb_window_t w, xcb_atom_t a, xcb_atom_t protocol, static void sendClientMessage(xcb_window_t w, xcb_atom_t a, xcb_atom_t protocol,
long data1 = 0, long data2 = 0, long data3 = 0); uint32_t data1 = 0, uint32_t data2 = 0, uint32_t data3 = 0);
void embedClient(xcb_window_t w, xcb_visualid_t visualid, xcb_colormap_t colormap, uint8_t depth); void embedClient(xcb_window_t w, xcb_visualid_t visualid, xcb_colormap_t colormap, uint8_t depth);
void detectNoBorder(); void detectNoBorder();