use correct indexing for x11 teamwork server atom array

CID 1355933
devs/devilhorns/ecore_drm2
Mike Blumenkrantz 7 years ago
parent a8adee9928
commit b6b89256e1
  1. 2
      src/modules/teamwork/x11.c

@ -120,7 +120,7 @@ x11_tw_init(void)
for (i = 0; i < 4; i++)
atoms[i] = at[i];
for (i = 4; i < 7; i++)
server_atoms[i] = at[i];
server_atoms[i - 4] = at[i];
prop = at[7];
handler = ecore_event_handler_add(ECORE_X_EVENT_CLIENT_MESSAGE, (Ecore_Event_Handler_Cb)x11_message_handler, NULL);
tw_signal_link_complete[E_PIXMAP_TYPE_X] = x11_tw_link_complete;

Loading…
Cancel
Save