Changeset View
Changeset View
Standalone View
Standalone View
workspace.cpp
Show All 33 Lines | |||||
34 | #include "cursor.h" | 34 | #include "cursor.h" | ||
35 | #include "dbusinterface.h" | 35 | #include "dbusinterface.h" | ||
36 | #include "deleted.h" | 36 | #include "deleted.h" | ||
37 | #include "effects.h" | 37 | #include "effects.h" | ||
38 | #include "focuschain.h" | 38 | #include "focuschain.h" | ||
39 | #include "group.h" | 39 | #include "group.h" | ||
40 | #include "input.h" | 40 | #include "input.h" | ||
41 | #include "logind.h" | 41 | #include "logind.h" | ||
42 | #include "moving_client_x11_filter.h" | ||||
42 | #include "killwindow.h" | 43 | #include "killwindow.h" | ||
43 | #include "netinfo.h" | 44 | #include "netinfo.h" | ||
44 | #include "outline.h" | 45 | #include "outline.h" | ||
45 | #include "placement.h" | 46 | #include "placement.h" | ||
46 | #include "rules.h" | 47 | #include "rules.h" | ||
47 | #include "screenedge.h" | 48 | #include "screenedge.h" | ||
48 | #include "screens.h" | 49 | #include "screens.h" | ||
49 | #include "scripting/scripting.h" | 50 | #include "scripting/scripting.h" | ||
▲ Show 20 Lines • Show All 162 Lines • ▼ Show 20 Line(s) | 184 | #endif | |||
212 | 213 | | |||
213 | init(); | 214 | init(); | ||
214 | } | 215 | } | ||
215 | 216 | | |||
216 | void Workspace::init() | 217 | void Workspace::init() | ||
217 | { | 218 | { | ||
218 | if (kwinApp()->operationMode() == Application::OperationModeX11) { | 219 | if (kwinApp()->operationMode() == Application::OperationModeX11) { | ||
219 | m_wasUserInteractionFilter.reset(new WasUserInteractionX11Filter); | 220 | m_wasUserInteractionFilter.reset(new WasUserInteractionX11Filter); | ||
221 | m_movingClientFilter.reset(new MovingClientX11Filter); | ||||
220 | } | 222 | } | ||
221 | updateXTime(); // Needed for proper initialization of user_time in Client ctor | 223 | updateXTime(); // Needed for proper initialization of user_time in Client ctor | ||
222 | KSharedConfigPtr config = kwinApp()->config(); | 224 | KSharedConfigPtr config = kwinApp()->config(); | ||
223 | kwinApp()->createScreens(); | 225 | kwinApp()->createScreens(); | ||
224 | Screens *screens = Screens::self(); | 226 | Screens *screens = Screens::self(); | ||
225 | // get screen support | 227 | // get screen support | ||
226 | connect(screens, SIGNAL(changed()), SLOT(desktopResized())); | 228 | connect(screens, SIGNAL(changed()), SLOT(desktopResized())); | ||
227 | screens->setConfig(config); | 229 | screens->setConfig(config); | ||
▲ Show 20 Lines • Show All 1583 Lines • Show Last 20 Lines |