Changeset View
Changeset View
Standalone View
Standalone View
input.cpp
Show All 34 Lines | |||||
35 | #include "screenedge.h" | 35 | #include "screenedge.h" | ||
36 | #include "screens.h" | 36 | #include "screens.h" | ||
37 | #include "workspace.h" | 37 | #include "workspace.h" | ||
38 | #if HAVE_INPUT | 38 | #if HAVE_INPUT | ||
39 | #include "libinput/connection.h" | 39 | #include "libinput/connection.h" | ||
40 | #include "libinput/device.h" | 40 | #include "libinput/device.h" | ||
41 | #endif | 41 | #endif | ||
42 | #include "platform.h" | 42 | #include "platform.h" | ||
43 | #include "popup_input_filter.h" | ||||
43 | #include "shell_client.h" | 44 | #include "shell_client.h" | ||
44 | #include "wayland_server.h" | 45 | #include "wayland_server.h" | ||
45 | #include <KWayland/Server/display.h> | 46 | #include <KWayland/Server/display.h> | ||
46 | #include <KWayland/Server/fakeinput_interface.h> | 47 | #include <KWayland/Server/fakeinput_interface.h> | ||
47 | #include <KWayland/Server/seat_interface.h> | 48 | #include <KWayland/Server/seat_interface.h> | ||
48 | #include <KWayland/Server/relativepointer_interface.h> | 49 | #include <KWayland/Server/relativepointer_interface.h> | ||
49 | #include <decorations/decoratedclient.h> | 50 | #include <decorations/decoratedclient.h> | ||
50 | #include <KDecoration2/Decoration> | 51 | #include <KDecoration2/Decoration> | ||
▲ Show 20 Lines • Show All 1448 Lines • ▼ Show 20 Line(s) | 1499 | #if HAVE_INPUT | |||
1499 | if (LogindIntegration::self()->hasSessionControl()) { | 1500 | if (LogindIntegration::self()->hasSessionControl()) { | ||
1500 | installInputEventFilter(new VirtualTerminalFilter); | 1501 | installInputEventFilter(new VirtualTerminalFilter); | ||
1501 | } | 1502 | } | ||
1502 | #endif | 1503 | #endif | ||
1503 | if (waylandServer()) { | 1504 | if (waylandServer()) { | ||
1504 | installInputEventFilter(new TerminateServerFilter); | 1505 | installInputEventFilter(new TerminateServerFilter); | ||
1505 | installInputEventFilter(new DragAndDropInputFilter); | 1506 | installInputEventFilter(new DragAndDropInputFilter); | ||
1506 | installInputEventFilter(new LockScreenFilter); | 1507 | installInputEventFilter(new LockScreenFilter); | ||
1508 | installInputEventFilter(new PopupInputFilter); | ||||
1507 | m_pointerConstraintsFilter = new PointerConstraintsFilter; | 1509 | m_pointerConstraintsFilter = new PointerConstraintsFilter; | ||
1508 | installInputEventFilter(m_pointerConstraintsFilter); | 1510 | installInputEventFilter(m_pointerConstraintsFilter); | ||
1509 | m_windowSelector = new WindowSelectorFilter; | 1511 | m_windowSelector = new WindowSelectorFilter; | ||
1510 | installInputEventFilter(m_windowSelector); | 1512 | installInputEventFilter(m_windowSelector); | ||
1511 | } | 1513 | } | ||
1512 | installInputEventFilter(new ScreenEdgeInputFilter); | 1514 | installInputEventFilter(new ScreenEdgeInputFilter); | ||
1513 | installInputEventFilter(new EffectsFilter); | 1515 | installInputEventFilter(new EffectsFilter); | ||
1514 | installInputEventFilter(new MoveResizeFilter); | 1516 | installInputEventFilter(new MoveResizeFilter); | ||
▲ Show 20 Lines • Show All 468 Lines • Show Last 20 Lines |