KWin
KWin Namespace Reference
Classes | |
class | Application |
class | Atoms |
class | Bridge |
class | Client |
The Client class encapsulates a window decoration frame. More... | |
class | CompositingPrefs |
class | Deleted |
class | EffectsHandlerImpl |
class | EffectWindowGroupImpl |
class | EffectWindowImpl |
class | GeometryTip |
class | GeometryUpdatesBlocker |
class | Group |
class | KillWindow |
class | KWinSelectionOwner |
class | Motif |
class | Notify |
class | Options |
class | Placement |
class | PluginMgr |
class | PopupInfo |
class | RootInfo |
class | Rules |
class | Scene |
class | SceneBasic |
struct | SessionInfo |
class | SessionManager |
class | SessionSaveDoneHelper |
class | ShortcutDialog |
class | StackingUpdatesBlocker |
class | TabBox |
class | TemporaryAssign |
class | Toplevel |
class | Unmanaged |
class | WindowRules |
class | WinInfo |
class | Workspace |
struct | XDamageNotifyEvent |
Typedefs | |
typedef QList< Client * > | ClientList |
typedef QList< const Client * > | ConstClientList |
typedef QList< const Deleted * > | ConstDeletedList |
typedef QList< const Group * > | ConstGroupList |
typedef QList< const Toplevel * > | ConstToplevelList |
typedef QList< const Unmanaged * > | ConstUnmanagedList |
typedef long | Damage |
typedef QList< Deleted * > | DeletedList |
typedef QList< Group * > | GroupList |
typedef QList< Toplevel * > | ToplevelList |
typedef QList< Unmanaged * > | UnmanagedList |
Enumerations | |
enum | ActivityFlags { ActivityFocus = 1 << 0, ActivityFocusForce = 1 << 1, ActivityRaise = 1 << 2 } |
enum | allowed_t { Allowed } |
enum | ForceGeometry_t { NormalGeometrySet, ForceGeometrySet } |
enum | HiddenPreviews { HiddenPreviewsNever, HiddenPreviewsKeep, HiddenPreviewUpdate, HiddenPreviewsActive } |
enum | Layer { UnknownLayer = -1, FirstLayer = 0, DesktopLayer = FirstLayer, BelowLayer, NormalLayer, DockLayer, AboveLayer, ActiveLayer, NumLayers } |
enum | ShadeMode { ShadeNone, ShadeNormal, ShadeHover, ShadeActivated } |
enum | SMSavePhase { SMSavePhase0, SMSavePhase2, SMSavePhase2Full } |
Functions | |
static bool | areKeySymXsDepressed (bool bAll, const uint keySyms[], int nKeySyms) |
static bool | areModKeysDepressed (const KShortcut &cut) |
static bool | areModKeysDepressed (const QKeySequence &seq) |
static bool | check_follows_focusin (Client *c) |
void | checkNonExistentClients () |
bool | compositing () |
QPoint | cursorPos () |
static void | die (SmcConn conn_P, SmPointer ptr) |
EffectWindow * | effectWindow (Scene::Window *w) |
EffectWindow * | effectWindow (Toplevel *w) |
static QByteArray | errorMessage (const XErrorEvent &event, Display *dpy) |
template<typename T> | |
Client * | findClientInList (const ClientList &list, T predicate) |
template<typename T> | |
Unmanaged * | findUnmanagedInList (const UnmanagedList &list, T predicate) |
QByteArray | getStringProperty (WId w, Atom prop, char separator) |
bool | grabbedXServer () |
bool | grabXKeyboard (Window w) |
void | grabXServer () |
bool | isLocalMachine (const QByteArray &host) |
KWIN_CHECK_PREDICATE (TruePredicate, Client, cl==cl) | |
KWIN_COMPARE_PREDICATE (ClientMatchPredicate, Client, const Client *, cl==value) | |
KWIN_COMPARE_PREDICATE (FrameIdMatchPredicate, Toplevel, Window, cl->frameId()==value) | |
KWIN_COMPARE_PREDICATE (WindowMatchPredicate, Toplevel, Window, cl->window()==value) | |
KWIN_COMPARE_PREDICATE (WrapperIdMatchPredicate, Client, Window, cl->wrapperId()==value) | |
KWIN_COMPARE_PREDICATE (FetchNameInternalPredicate, Client, const Client *,(!cl->isSpecialWindow()||cl->isToolbar())&&cl!=value &&cl->caption()==value->caption()) | |
KWIN_COMPARE_PREDICATE (SameApplicationActiveHackPredicate, Client, const Client *,!cl->isSplash()&&!cl->isToolbar()&&!cl->isTopMenu()&&!cl->isUtility()&&!cl->isMenu()&&Client::belongToSameApplication(cl, value, true)&&cl!=value) | |
QPixmap * | kwin_get_menu_pix_hack () |
KWIN_PROCEDURE (CheckBorderSizesProcedure, Client, cl->checkBorderSizes(true)) | |
KWIN_PROCEDURE (CheckIgnoreFocusStealingProcedure, Client, cl->ignore_focus_stealing=options->checkIgnoreFocusStealing(cl)) | |
static int | limit0to4 (int i) |
static Bool | motion_predicate (Display *, XEvent *ev, XPointer) |
void | operator++ (Layer &lay) |
kdbgstream & | operator<< (kdbgstream &stream, const ToplevelList &list) |
kdbgstream & | operator<< (kdbgstream &stream, const Toplevel *cl) |
kdbgstream & | operator<< (kdbgstream &stream, const Rules *r) |
static Bool | predicate_follows_focusin (Display *, XEvent *e, XPointer arg) |
int | qtToX11Button (Qt::MouseButton button) |
int | qtToX11State (Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) |
static void | save_complete (SmcConn conn_P, SmPointer ptr) |
static void | save_yourself (SmcConn conn_P, SmPointer ptr, int, Bool shutdown, int, Bool) |
static void | shutdown_cancelled (SmcConn conn_P, SmPointer ptr) |
static void | sighandler (int) |
int | timestampCompare (Time time1, Time time2) |
Time | timestampDiff (Time time1, Time time2) |
void | ungrabXKeyboard () |
void | ungrabXServer () |
static Bool | update_x_time_predicate (Display *, XEvent *event, XPointer) |
void | updateXTime () |
static bool | waitingMotionEvent () |
static int | x11ErrorHandler (Display *d, XErrorEvent *e) |
Qt::KeyboardModifiers | x11ToQtKeyboardModifiers (int state) |
Qt::MouseButton | x11ToQtMouseButton (int button) |
Qt::MouseButtons | x11ToQtMouseButtons (int state) |
Variables | |
Atoms * | atoms |
const long | ClientWinMask |
static EatAllPaintEvents * | eater = 0 |
static bool | follows_focusin = false |
static bool | follows_focusin_failed = false |
static bool | forgetIt = false |
static GeometryTip * | geometryTip = 0 |
static bool | initting = false |
const QPoint | invalidPoint (INT_MIN, INT_MIN) |
static bool | keyboard_grabbed = false |
static bool | kwin_sync = false |
static int | last_buttons = 0 |
static QPoint | last_cursor_pos |
static QTimer * | last_cursor_timer |
static Time | last_cursor_timestamp = CurrentTime |
static Time | next_motion_time = CurrentTime |
static Time | next_x_time |
Options * | options |
static bool | pending_dfc = false |
Scene * | scene |
int | screen_number = -1 |
static int | server_grab_count = 0 |
static Window | shape_helper_window = None |
const int | ShapeInput = 2 |
const int | SUPPORTED_MANAGED_WINDOW_TYPES_MASK |
const int | SUPPORTED_UNMANAGED_WINDOW_TYPES_MASK |
static QRect * | visible_bound = 0 |
static bool | was_motion = false |
static const char *const | window_type_names [] |
Typedef Documentation
typedef QList< Client* > KWin::ClientList |
typedef QList< const Client* > KWin::ConstClientList |
typedef QList< const Deleted* > KWin::ConstDeletedList |
typedef QList< const Group* > KWin::ConstGroupList |
typedef QList< const Toplevel* > KWin::ConstToplevelList |
typedef QList< const Unmanaged* > KWin::ConstUnmanagedList |
typedef long KWin::Damage |
typedef QList< Deleted* > KWin::DeletedList |
typedef QList< Group* > KWin::GroupList |
typedef QList< Toplevel* > KWin::ToplevelList |
typedef QList< Unmanaged* > KWin::UnmanagedList |
Enumeration Type Documentation
enum KWin::ActivityFlags |
enum KWin::allowed_t |
enum KWin::HiddenPreviews |
enum KWin::Layer |
enum KWin::ShadeMode |
enum KWin::SMSavePhase |
Function Documentation
static bool KWin::areKeySymXsDepressed | ( | bool | bAll, | |
const uint | keySyms[], | |||
int | nKeySyms | |||
) | [static] |
Handles alt-tab / control-tab
Definition at line 759 of file tabbox.cpp.
static bool KWin::areModKeysDepressed | ( | const KShortcut & | cut | ) | [static] |
Definition at line 838 of file tabbox.cpp.
static bool KWin::areModKeysDepressed | ( | const QKeySequence & | seq | ) | [static] |
Definition at line 801 of file tabbox.cpp.
static bool KWin::check_follows_focusin | ( | Client * | c | ) | [static] |
Definition at line 1497 of file events.cpp.
static void KWin::die | ( | SmcConn | conn_P, | |
SmPointer | ptr | |||
) | [static] |
EffectWindow * KWin::effectWindow | ( | Scene::Window * | w | ) |
Definition at line 1297 of file effects.cpp.
EffectWindow * KWin::effectWindow | ( | Toplevel * | w | ) |
Definition at line 1291 of file effects.cpp.
static QByteArray KWin::errorMessage | ( | const XErrorEvent & | event, | |
Display * | dpy | |||
) | [static] |
Client* KWin::findClientInList | ( | const ClientList & | list, | |
T | predicate | |||
) | [inline] |
Unmanaged* KWin::findUnmanagedInList | ( | const UnmanagedList & | list, | |
T | predicate | |||
) | [inline] |
QByteArray KWin::getStringProperty | ( | WId | w, | |
Atom | prop, | |||
char | separator | |||
) |
bool KWin::isLocalMachine | ( | const QByteArray & | host | ) |
KWin::KWIN_CHECK_PREDICATE | ( | TruePredicate | , | |
Client | , | |||
cl | = =cl | |||
) |
KWin::KWIN_COMPARE_PREDICATE | ( | ClientMatchPredicate | , | |
Client | , | |||
const Client * | , | |||
cl | = =value | |||
) |
KWin::KWIN_COMPARE_PREDICATE | ( | FrameIdMatchPredicate | , | |
Toplevel | , | |||
Window | , | |||
cl-> | frameId() = =value | |||
) |
KWin::KWIN_COMPARE_PREDICATE | ( | WindowMatchPredicate | , | |
Toplevel | , | |||
Window | , | |||
cl-> | window() = =value | |||
) |
KWin::KWIN_COMPARE_PREDICATE | ( | WrapperIdMatchPredicate | , | |
Client | , | |||
Window | , | |||
cl-> | wrapperId() = =value | |||
) |
KWin::KWIN_COMPARE_PREDICATE | ( | FetchNameInternalPredicate | , | |
Client | , | |||
const Client * | , | |||
(!cl->isSpecialWindow()||cl->isToolbar())&&cl! | = value &&cl->caption()==value->caption() | |||
) |
KWin::KWIN_COMPARE_PREDICATE | ( | SameApplicationActiveHackPredicate | , | |
Client | , | |||
const Client * | , | |||
!cl->isSplash()&&!cl->isToolbar()&&!cl->isTopMenu()&&!cl->isUtility()&&!cl->isMenu()&&Client::belongToSameApplication(cl, value, true)&&cl! | = value | |||
) |
QPixmap * KWin::kwin_get_menu_pix_hack | ( | ) |
Definition at line 1736 of file client.cpp.
KWin::KWIN_PROCEDURE | ( | CheckBorderSizesProcedure | , | |
Client | , | |||
cl-> | checkBorderSizes(true) | |||
) |
Reread settings
KWin::KWIN_PROCEDURE | ( | CheckIgnoreFocusStealingProcedure | , | |
Client | , | |||
cl-> | ignore_focus_stealing = options->checkIgnoreFocusStealing(cl) | |||
) |
static Bool KWin::motion_predicate | ( | Display * | , | |
XEvent * | ev, | |||
XPointer | ||||
) | [static] |
Definition at line 1388 of file events.cpp.
kdbgstream & KWin::operator<< | ( | kdbgstream & | stream, | |
const ToplevelList & | list | |||
) |
Definition at line 66 of file toplevel.cpp.
kdbgstream & KWin::operator<< | ( | kdbgstream & | stream, | |
const Toplevel * | cl | |||
) |
Definition at line 58 of file toplevel.cpp.
kdbgstream & KWin::operator<< | ( | kdbgstream & | stream, | |
const Rules * | r | |||
) |
static Bool KWin::predicate_follows_focusin | ( | Display * | , | |
XEvent * | e, | |||
XPointer | arg | |||
) | [static] |
Definition at line 1479 of file events.cpp.
int KWin::qtToX11State | ( | Qt::MouseButtons | buttons, | |
Qt::KeyboardModifiers | modifiers | |||
) |
static void KWin::save_complete | ( | SmcConn | conn_P, | |
SmPointer | ptr | |||
) | [static] |
static void KWin::save_yourself | ( | SmcConn | conn_P, | |
SmPointer | ptr, | |||
int | , | |||
Bool | shutdown, | |||
int | , | |||
Bool | ||||
) | [static] |
static void KWin::shutdown_cancelled | ( | SmcConn | conn_P, | |
SmPointer | ptr | |||
) | [static] |
int KWin::timestampCompare | ( | Time | time1, | |
Time | time2 | |||
) | [inline] |
Time KWin::timestampDiff | ( | Time | time1, | |
Time | time2 | |||
) | [inline] |
static Bool KWin::update_x_time_predicate | ( | Display * | , | |
XEvent * | event, | |||
XPointer | ||||
) | [static] |
static bool KWin::waitingMotionEvent | ( | ) | [static] |
Definition at line 1398 of file events.cpp.
static int KWin::x11ErrorHandler | ( | Display * | d, | |
XErrorEvent * | e | |||
) | [static] |
Qt::KeyboardModifiers KWin::x11ToQtKeyboardModifiers | ( | int | state | ) |
Variable Documentation
const long KWin::ClientWinMask |
EatAllPaintEvents* KWin::eater = 0 [static] |
Definition at line 2326 of file geometry.cpp.
bool KWin::follows_focusin = false [static] |
Definition at line 1477 of file events.cpp.
bool KWin::follows_focusin_failed = false [static] |
Definition at line 1478 of file events.cpp.
bool KWin::forgetIt = false [static] |
Definition at line 105 of file notifications.cpp.
GeometryTip* KWin::geometryTip = 0 [static] |
Definition at line 2248 of file geometry.cpp.
bool KWin::initting = false [static] |
const QPoint KWin::invalidPoint(INT_MIN, INT_MIN) |
bool KWin::keyboard_grabbed = false [static] |
bool KWin::kwin_sync = false [static] |
int KWin::last_buttons = 0 [static] |
Definition at line 2613 of file workspace.cpp.
QPoint KWin::last_cursor_pos [static] |
Definition at line 2612 of file workspace.cpp.
QTimer* KWin::last_cursor_timer [static] |
Definition at line 2615 of file workspace.cpp.
Time KWin::last_cursor_timestamp = CurrentTime [static] |
Definition at line 2614 of file workspace.cpp.
Time KWin::next_motion_time = CurrentTime [static] |
Definition at line 1380 of file events.cpp.
Time KWin::next_x_time [static] |
bool KWin::pending_dfc = false [static] |
Definition at line 2570 of file workspace.cpp.
int KWin::screen_number = -1 |
int KWin::server_grab_count = 0 [static] |
Window KWin::shape_helper_window = None [static] |
Definition at line 532 of file client.cpp.
const int KWin::ShapeInput = 2 |
Initial value:
NET::NormalMask | NET::DesktopMask | NET::DockMask | NET::ToolbarMask | NET::MenuMask | NET::DialogMask | NET::TopMenuMask | NET::UtilityMask | NET::SplashMask | NET::DropdownMenuMask | NET::PopupMenuMask | NET::TooltipMask | NET::NotificationMask | NET::ComboBoxMask | NET::DNDIconMask
QRect* KWin::visible_bound = 0 [static] |
Definition at line 2247 of file geometry.cpp.
bool KWin::was_motion = false [static] |
Definition at line 1379 of file events.cpp.
const char* const KWin::window_type_names[] [static] |