Changeset View
Changeset View
Standalone View
Standalone View
input.h
Show First 20 Lines • Show All 418 Lines • ▼ Show 20 Line(s) | |||||
419 | protected: | 419 | protected: | ||
420 | explicit InputDeviceHandler(InputRedirection *parent); | 420 | explicit InputDeviceHandler(InputRedirection *parent); | ||
421 | 421 | | |||
422 | virtual void cleanupInternalWindow(QWindow *old, QWindow *now) = 0; | 422 | virtual void cleanupInternalWindow(QWindow *old, QWindow *now) = 0; | ||
423 | virtual void cleanupDecoration(Decoration::DecoratedClientImpl *old, Decoration::DecoratedClientImpl *now) = 0; | 423 | virtual void cleanupDecoration(Decoration::DecoratedClientImpl *old, Decoration::DecoratedClientImpl *now) = 0; | ||
424 | 424 | | |||
425 | virtual void focusUpdate(Toplevel *old, Toplevel *now) = 0; | 425 | virtual void focusUpdate(Toplevel *old, Toplevel *now) = 0; | ||
426 | 426 | | |||
427 | /* Certain input devices can be in a state of having no valid | ||||
428 | * position. An example are touch screens when no finger/pen | ||||
429 | * is resting on the surface (no touch point). | ||||
430 | */ | ||||
431 | virtual bool positionValid() const { | ||||
432 | return false; | ||||
433 | } | ||||
427 | virtual bool focusUpdatesBlocked() { | 434 | virtual bool focusUpdatesBlocked() { | ||
428 | return false; | 435 | return false; | ||
429 | } | 436 | } | ||
430 | 437 | | |||
431 | inline bool inited() const { | 438 | inline bool inited() const { | ||
432 | return m_inited; | 439 | return m_inited; | ||
433 | } | 440 | } | ||
434 | inline void setInited(bool set) { | 441 | inline void setInited(bool set) { | ||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |