Changeset View
Changeset View
Standalone View
Standalone View
src/server/plasmawindowmanagement_interface.cpp
Show First 20 Lines • Show All 325 Lines • ▼ Show 20 Line(s) | 321 | { | |||
---|---|---|---|---|---|
326 | } | 326 | } | ||
327 | wl_resource_set_implementation(resource, &s_interface, this, unbind); | 327 | wl_resource_set_implementation(resource, &s_interface, this, unbind); | ||
328 | resources << resource; | 328 | resources << resource; | ||
329 | 329 | | |||
330 | org_kde_plasma_window_send_virtual_desktop_changed(resource, m_virtualDesktop); | 330 | org_kde_plasma_window_send_virtual_desktop_changed(resource, m_virtualDesktop); | ||
331 | if (!m_appId.isEmpty()) { | 331 | if (!m_appId.isEmpty()) { | ||
332 | org_kde_plasma_window_send_app_id_changed(resource, m_appId.toUtf8().constData()); | 332 | org_kde_plasma_window_send_app_id_changed(resource, m_appId.toUtf8().constData()); | ||
333 | } | 333 | } | ||
334 | if (m_pid != 0) { | ||||
335 | org_kde_plasma_window_send_pid_changed(resource, m_pid); | ||||
336 | } | ||||
334 | if (!m_title.isEmpty()) { | 337 | if (!m_title.isEmpty()) { | ||
335 | org_kde_plasma_window_send_title_changed(resource, m_title.toUtf8().constData()); | 338 | org_kde_plasma_window_send_title_changed(resource, m_title.toUtf8().constData()); | ||
336 | } | 339 | } | ||
337 | org_kde_plasma_window_send_state_changed(resource, m_state); | 340 | org_kde_plasma_window_send_state_changed(resource, m_state); | ||
338 | if (!m_themedIconName.isEmpty()) { | 341 | if (!m_themedIconName.isEmpty()) { | ||
339 | org_kde_plasma_window_send_themed_icon_name_changed(resource, m_themedIconName.toUtf8().constData()); | 342 | org_kde_plasma_window_send_themed_icon_name_changed(resource, m_themedIconName.toUtf8().constData()); | ||
340 | } else { | 343 | } else { | ||
341 | if (wl_resource_get_version(resource) >= ORG_KDE_PLASMA_WINDOW_ICON_CHANGED_SINCE_VERSION) { | 344 | if (wl_resource_get_version(resource) >= ORG_KDE_PLASMA_WINDOW_ICON_CHANGED_SINCE_VERSION) { | ||
▲ Show 20 Lines • Show All 468 Lines • Show Last 20 Lines |