Changeset View
Changeset View
Standalone View
Standalone View
src/server/display.cpp
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Line(s) | |||||
46 | #include "subcompositor_interface.h" | 46 | #include "subcompositor_interface.h" | ||
47 | #include "textinput_interface_p.h" | 47 | #include "textinput_interface_p.h" | ||
48 | #include "xdgshell_v5_interface_p.h" | 48 | #include "xdgshell_v5_interface_p.h" | ||
49 | #include "xdgforeign_interface.h" | 49 | #include "xdgforeign_interface.h" | ||
50 | #include "xdgshell_v6_interface_p.h" | 50 | #include "xdgshell_v6_interface_p.h" | ||
51 | #include "xdgshell_stable_interface_p.h" | 51 | #include "xdgshell_stable_interface_p.h" | ||
52 | #include "appmenu_interface.h" | 52 | #include "appmenu_interface.h" | ||
53 | #include "server_decoration_palette_interface.h" | 53 | #include "server_decoration_palette_interface.h" | ||
54 | #include "plasmavirtualdesktop_interface.h" | ||||
54 | #include "xdgoutput_interface.h" | 55 | #include "xdgoutput_interface.h" | ||
55 | 56 | | |||
56 | #include <QCoreApplication> | 57 | #include <QCoreApplication> | ||
57 | #include <QDebug> | 58 | #include <QDebug> | ||
58 | #include <QAbstractEventDispatcher> | 59 | #include <QAbstractEventDispatcher> | ||
59 | #include <QSocketNotifier> | 60 | #include <QSocketNotifier> | ||
60 | #include <QThread> | 61 | #include <QThread> | ||
61 | 62 | | |||
▲ Show 20 Lines • Show All 395 Lines • ▼ Show 20 Line(s) | |||||
457 | 458 | | |||
458 | ServerSideDecorationPaletteManagerInterface *Display::createServerSideDecorationPaletteManager(QObject *parent) | 459 | ServerSideDecorationPaletteManagerInterface *Display::createServerSideDecorationPaletteManager(QObject *parent) | ||
459 | { | 460 | { | ||
460 | auto b = new ServerSideDecorationPaletteManagerInterface(this, parent); | 461 | auto b = new ServerSideDecorationPaletteManagerInterface(this, parent); | ||
461 | connect(this, &Display::aboutToTerminate, b, [this, b] { delete b; }); | 462 | connect(this, &Display::aboutToTerminate, b, [this, b] { delete b; }); | ||
462 | return b; | 463 | return b; | ||
463 | } | 464 | } | ||
464 | 465 | | |||
466 | | ||||
467 | PlasmaVirtualDesktopManagementInterface *Display::createPlasmaVirtualDesktopManagement(QObject *parent) | ||||
468 | { | ||||
469 | auto b = new PlasmaVirtualDesktopManagementInterface(this, parent); | ||||
470 | connect(this, &Display::aboutToTerminate, b, [this, b] { delete b; }); | ||||
471 | return b; | ||||
472 | } | ||||
473 | | ||||
465 | XdgOutputManagerInterface *Display::createXdgOutputManager(QObject *parent) | 474 | XdgOutputManagerInterface *Display::createXdgOutputManager(QObject *parent) | ||
466 | { | 475 | { | ||
467 | auto b = new XdgOutputManagerInterface(this, parent); | 476 | auto b = new XdgOutputManagerInterface(this, parent); | ||
468 | connect(this, &Display::aboutToTerminate, b, [this, b] { delete b; }); | 477 | connect(this, &Display::aboutToTerminate, b, [this, b] { delete b; }); | ||
469 | return b; | 478 | return b; | ||
470 | } | 479 | } | ||
471 | 480 | | |||
472 | void Display::createShm() | 481 | void Display::createShm() | ||
▲ Show 20 Lines • Show All 116 Lines • Show Last 20 Lines |