- // this->cb->surfaceSourceRectChanged(id, )
- }
- if (ILM_NOTIFICATION_CONTENT_AVAILABLE & mask)
- {
- }
- if (ILM_NOTIFICATION_CONTENT_REMOVED & mask)
- {
- /* application being down */
- // m_appLayers.remove(pid);
- }
- if (ILM_NOTIFICATION_CONFIGURED & mask)
- {
- /* qDebug("ILM_NOTIFICATION_CONFIGURED");
- qDebug(" surfaceProperties %d", surface);
- qDebug(" surfaceProperties.origSourceWidth: %d", surfaceProperties->origSourceWidth);
- qDebug(" surfaceProperties.origSourceHeight: %d", surfaceProperties->origSourceHeight);
-
- if (surface == WINDOWMANAGER_HOMESCREEN_MAIN_SURFACE_ID) {
- addSurfaceToLayer(surface, WINDOWMANAGER_LAYER_HOMESCREEN);
- configureHomeScreenMainSurface(surface, surfaceProperties->origSourceWidth, surfaceProperties->origSourceHeight);
- } else {
- ilmErrorTypes result;
- t_ilm_layer layer = addSurfaceToAppLayer(pid, surface);
-
- if (layer != 0) {
- configureAppSurface(surface,
- surfaceProperties->origSourceWidth,
- surfaceProperties->origSourceHeight);
-
- result = ilm_layerAddSurface(layer, surface);
- if (result != ILM_SUCCESS) {
- qDebug("ilm_layerAddSurface(%d,%d) failed.", layer, surface);
- }
- ilm_commitChanges();
- }
- }
- updateScreen(); */