Changeset View
Changeset View
Standalone View
Standalone View
src/windowsystem/windowsystem.cpp
Show First 20 Lines • Show All 432 Lines • ▼ Show 20 Line(s) | 432 | case NET::Dock: | |||
---|---|---|---|---|---|
433 | role = KWayland::Client::PlasmaShellSurface::Role::Panel; | 433 | role = KWayland::Client::PlasmaShellSurface::Role::Panel; | ||
434 | break; | 434 | break; | ||
435 | case NET::OnScreenDisplay: | 435 | case NET::OnScreenDisplay: | ||
436 | role = KWayland::Client::PlasmaShellSurface::Role::OnScreenDisplay; | 436 | role = KWayland::Client::PlasmaShellSurface::Role::OnScreenDisplay; | ||
437 | break; | 437 | break; | ||
438 | case NET::Notification: | 438 | case NET::Notification: | ||
439 | role = KWayland::Client::PlasmaShellSurface::Role::Notification; | 439 | role = KWayland::Client::PlasmaShellSurface::Role::Notification; | ||
440 | break; | 440 | break; | ||
441 | case NET::Tooltip: | ||||
442 | role = KWayland::Client::PlasmaShellSurface::Role::ToolTip; | ||||
443 | break; | ||||
441 | default: | 444 | default: | ||
442 | return; | 445 | return; | ||
443 | } | 446 | } | ||
444 | Surface *s = Surface::fromQtWinId(win); | 447 | Surface *s = Surface::fromQtWinId(win); | ||
445 | if (!s) { | 448 | if (!s) { | ||
446 | return; | 449 | return; | ||
447 | } | 450 | } | ||
448 | KWayland::Client::PlasmaShellSurface *shellSurface = WaylandIntegration::self()->waylandPlasmaShell()->createSurface(s, this); | 451 | KWayland::Client::PlasmaShellSurface *shellSurface = WaylandIntegration::self()->waylandPlasmaShell()->createSurface(s, this); | ||
▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines |