Changeset View
Changeset View
Standalone View
Standalone View
main_x11.cpp
Show First 20 Lines • Show All 267 Lines • ▼ Show 20 Line(s) | 212 | { | |||
---|---|---|---|---|---|
268 | Xcb::sync(); | 268 | Xcb::sync(); | ||
269 | owner->claim(m_replace || wasCrash(), true); | 269 | owner->claim(m_replace || wasCrash(), true); | ||
270 | 270 | | |||
271 | createAtoms(); | 271 | createAtoms(); | ||
272 | } | 272 | } | ||
273 | 273 | | |||
274 | bool ApplicationX11::notify(QObject* o, QEvent* e) | 274 | bool ApplicationX11::notify(QObject* o, QEvent* e) | ||
275 | { | 275 | { | ||
276 | if (Workspace::self()->workspaceEvent(e)) | 276 | if (e->spontaneous() && Workspace::self()->workspaceEvent(e)) | ||
277 | return true; | 277 | return true; | ||
278 | return QApplication::notify(o, e); | 278 | return QApplication::notify(o, e); | ||
279 | } | 279 | } | ||
280 | 280 | | |||
281 | void ApplicationX11::setupCrashHandler() | 281 | void ApplicationX11::setupCrashHandler() | ||
282 | { | 282 | { | ||
283 | KCrash::setEmergencySaveFunction(ApplicationX11::crashHandler); | 283 | KCrash::setEmergencySaveFunction(ApplicationX11::crashHandler); | ||
284 | } | 284 | } | ||
▲ Show 20 Lines • Show All 205 Lines • Show Last 20 Lines |