Changeset View
Changeset View
Standalone View
Standalone View
src/client/registry.cpp
Show All 21 Lines | |||||
22 | #include "connection_thread.h" | 22 | #include "connection_thread.h" | ||
23 | #include "datadevicemanager.h" | 23 | #include "datadevicemanager.h" | ||
24 | #include "dpms.h" | 24 | #include "dpms.h" | ||
25 | #include "event_queue.h" | 25 | #include "event_queue.h" | ||
26 | #include "fakeinput.h" | 26 | #include "fakeinput.h" | ||
27 | #include "fullscreen_shell.h" | 27 | #include "fullscreen_shell.h" | ||
28 | #include "idle.h" | 28 | #include "idle.h" | ||
29 | #include "idleinhibit.h" | 29 | #include "idleinhibit.h" | ||
30 | #include "remote_access.h" | ||||
30 | #include "logging_p.h" | 31 | #include "logging_p.h" | ||
31 | #include "outputconfiguration.h" | 32 | #include "outputconfiguration.h" | ||
32 | #include "outputmanagement.h" | 33 | #include "outputmanagement.h" | ||
33 | #include "outputdevice.h" | 34 | #include "outputdevice.h" | ||
34 | #include "output.h" | 35 | #include "output.h" | ||
35 | #include "plasmashell.h" | 36 | #include "plasmashell.h" | ||
36 | #include "plasmawindowmanagement.h" | 37 | #include "plasmawindowmanagement.h" | ||
37 | #include "pointerconstraints.h" | 38 | #include "pointerconstraints.h" | ||
Show All 19 Lines | |||||
57 | #include <QDebug> | 58 | #include <QDebug> | ||
58 | // wayland | 59 | // wayland | ||
59 | #include <wayland-client-protocol.h> | 60 | #include <wayland-client-protocol.h> | ||
60 | #include <wayland-fullscreen-shell-client-protocol.h> | 61 | #include <wayland-fullscreen-shell-client-protocol.h> | ||
61 | #include <wayland-plasma-shell-client-protocol.h> | 62 | #include <wayland-plasma-shell-client-protocol.h> | ||
62 | #include <wayland-plasma-window-management-client-protocol.h> | 63 | #include <wayland-plasma-window-management-client-protocol.h> | ||
63 | #include <wayland-idle-client-protocol.h> | 64 | #include <wayland-idle-client-protocol.h> | ||
64 | #include <wayland-idle-inhibit-unstable-v1-client-protocol.h> | 65 | #include <wayland-idle-inhibit-unstable-v1-client-protocol.h> | ||
66 | #include <wayland-remote-access-client-protocol.h> | ||||
65 | #include <wayland-fake-input-client-protocol.h> | 67 | #include <wayland-fake-input-client-protocol.h> | ||
66 | #include <wayland-shadow-client-protocol.h> | 68 | #include <wayland-shadow-client-protocol.h> | ||
67 | #include <wayland-output-management-client-protocol.h> | 69 | #include <wayland-output-management-client-protocol.h> | ||
68 | #include <wayland-org_kde_kwin_outputdevice-client-protocol.h> | 70 | #include <wayland-org_kde_kwin_outputdevice-client-protocol.h> | ||
69 | #include <wayland-blur-client-protocol.h> | 71 | #include <wayland-blur-client-protocol.h> | ||
70 | #include <wayland-contrast-client-protocol.h> | 72 | #include <wayland-contrast-client-protocol.h> | ||
71 | #include <wayland-slide-client-protocol.h> | 73 | #include <wayland-slide-client-protocol.h> | ||
72 | #include <wayland-dpms-client-protocol.h> | 74 | #include <wayland-dpms-client-protocol.h> | ||
▲ Show 20 Lines • Show All 101 Lines • ▼ Show 20 Line(s) | 113 | static const QMap<Registry::Interface, SuppertedInterfaceData> s_interfaces = { | |||
174 | }}, | 176 | }}, | ||
175 | {Registry::Interface::Idle, { | 177 | {Registry::Interface::Idle, { | ||
176 | 1, | 178 | 1, | ||
177 | QByteArrayLiteral("org_kde_kwin_idle"), | 179 | QByteArrayLiteral("org_kde_kwin_idle"), | ||
178 | &org_kde_kwin_idle_interface, | 180 | &org_kde_kwin_idle_interface, | ||
179 | &Registry::idleAnnounced, | 181 | &Registry::idleAnnounced, | ||
180 | &Registry::idleRemoved | 182 | &Registry::idleRemoved | ||
181 | }}, | 183 | }}, | ||
184 | {Registry::Interface::RemoteAccessManager, { | ||||
185 | 1, | ||||
186 | QByteArrayLiteral("org_kde_kwin_remote_access_manager"), | ||||
187 | &org_kde_kwin_remote_access_manager_interface, | ||||
188 | &Registry::remoteAccessManagerAnnounced, | ||||
189 | &Registry::remoteAccessManagerRemoved | ||||
190 | }}, | ||||
182 | {Registry::Interface::FakeInput, { | 191 | {Registry::Interface::FakeInput, { | ||
183 | 2, | 192 | 2, | ||
184 | QByteArrayLiteral("org_kde_kwin_fake_input"), | 193 | QByteArrayLiteral("org_kde_kwin_fake_input"), | ||
185 | &org_kde_kwin_fake_input_interface, | 194 | &org_kde_kwin_fake_input_interface, | ||
186 | &Registry::fakeInputAnnounced, | 195 | &Registry::fakeInputAnnounced, | ||
187 | &Registry::fakeInputRemoved | 196 | &Registry::fakeInputRemoved | ||
188 | }}, | 197 | }}, | ||
189 | {Registry::Interface::OutputManagement, { | 198 | {Registry::Interface::OutputManagement, { | ||
▲ Show 20 Lines • Show All 427 Lines • ▼ Show 20 Line(s) | |||||
617 | BIND(Shell, wl_shell) | 626 | BIND(Shell, wl_shell) | ||
618 | BIND(Shm, wl_shm) | 627 | BIND(Shm, wl_shm) | ||
619 | BIND(SubCompositor, wl_subcompositor) | 628 | BIND(SubCompositor, wl_subcompositor) | ||
620 | BIND(FullscreenShell, _wl_fullscreen_shell) | 629 | BIND(FullscreenShell, _wl_fullscreen_shell) | ||
621 | BIND(DataDeviceManager, wl_data_device_manager) | 630 | BIND(DataDeviceManager, wl_data_device_manager) | ||
622 | BIND(PlasmaShell, org_kde_plasma_shell) | 631 | BIND(PlasmaShell, org_kde_plasma_shell) | ||
623 | BIND(PlasmaWindowManagement, org_kde_plasma_window_management) | 632 | BIND(PlasmaWindowManagement, org_kde_plasma_window_management) | ||
624 | BIND(Idle, org_kde_kwin_idle) | 633 | BIND(Idle, org_kde_kwin_idle) | ||
634 | BIND(RemoteAccessManager, org_kde_kwin_remote_access_manager) | ||||
625 | BIND(FakeInput, org_kde_kwin_fake_input) | 635 | BIND(FakeInput, org_kde_kwin_fake_input) | ||
626 | BIND(OutputManagement, org_kde_kwin_outputmanagement) | 636 | BIND(OutputManagement, org_kde_kwin_outputmanagement) | ||
627 | BIND(OutputDevice, org_kde_kwin_outputdevice) | 637 | BIND(OutputDevice, org_kde_kwin_outputdevice) | ||
628 | BIND(ServerSideDecorationManager, org_kde_kwin_server_decoration_manager) | 638 | BIND(ServerSideDecorationManager, org_kde_kwin_server_decoration_manager) | ||
629 | BIND(TextInputManagerUnstableV0, wl_text_input_manager) | 639 | BIND(TextInputManagerUnstableV0, wl_text_input_manager) | ||
630 | BIND(TextInputManagerUnstableV2, zwp_text_input_manager_v2) | 640 | BIND(TextInputManagerUnstableV2, zwp_text_input_manager_v2) | ||
631 | BIND(XdgShellUnstableV5, xdg_shell) | 641 | BIND(XdgShellUnstableV5, xdg_shell) | ||
632 | BIND(XdgShellUnstableV6, zxdg_shell_v6) | 642 | BIND(XdgShellUnstableV6, zxdg_shell_v6) | ||
▲ Show 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | |||||
677 | CREATE(Shell) | 687 | CREATE(Shell) | ||
678 | CREATE(SubCompositor) | 688 | CREATE(SubCompositor) | ||
679 | CREATE(FullscreenShell) | 689 | CREATE(FullscreenShell) | ||
680 | CREATE(Output) | 690 | CREATE(Output) | ||
681 | CREATE(DataDeviceManager) | 691 | CREATE(DataDeviceManager) | ||
682 | CREATE(PlasmaShell) | 692 | CREATE(PlasmaShell) | ||
683 | CREATE(PlasmaWindowManagement) | 693 | CREATE(PlasmaWindowManagement) | ||
684 | CREATE(Idle) | 694 | CREATE(Idle) | ||
695 | CREATE(RemoteAccessManager) | ||||
685 | CREATE(FakeInput) | 696 | CREATE(FakeInput) | ||
686 | CREATE(OutputManagement) | 697 | CREATE(OutputManagement) | ||
687 | CREATE(OutputDevice) | 698 | CREATE(OutputDevice) | ||
688 | CREATE(ShadowManager) | 699 | CREATE(ShadowManager) | ||
689 | CREATE(BlurManager) | 700 | CREATE(BlurManager) | ||
690 | CREATE(ContrastManager) | 701 | CREATE(ContrastManager) | ||
691 | CREATE(SlideManager) | 702 | CREATE(SlideManager) | ||
692 | CREATE(DpmsManager) | 703 | CREATE(DpmsManager) | ||
▲ Show 20 Lines • Show All 134 Lines • Show Last 20 Lines |