kwin Library API Documentation

KWinInternal Namespace Reference


Classes

class  Atoms
class  Bridge
class  Client
 The Client class encapsulates a window decoration frame. More...
class  GeometryUpdatesPostponer
class  WinInfo
class  GeometryTip
class  Group
class  DetectWidget
class  DetectDialog
class  DetectWidgetBase
class  KCMRules
class  KCMRulesList
class  KCMRulesListBase
class  RulesWidget
class  RulesDialog
class  EditShortcut
class  EditShortcutDialog
class  ShortcutDialog
class  RulesWidgetBase
class  KillWindow
class  Application
class  Notify
class  Options
class  Placement
class  PluginMgr
class  PopupInfo
class  WindowRules
class  Rules
struct  SessionInfo
class  SessionSaveDoneHelper
class  SessionManaged
class  TabBox
class  Shape
class  Motif
class  KWinSelectionOwner
class  TemporaryAssign
class  SystemTrayWindow
class  Workspace
class  StackingUpdatesBlocker
class  RootInfo

Typedefs

typedef QValueList< Client * > ClientList
typedef QValueList< const
Client * > 
ConstClientList
typedef QValueList< Group * > GroupList
typedef QValueList< const
Group * > 
ConstGroupList
typedef QValueList< SystemTrayWindowSystemTrayWindowList

Enumerations

enum  SMSavePhase { SMSavePhase0, SMSavePhase2, SMSavePhase2Full }
enum  Layer {
  UnknownLayer = -1, FirstLayer = 0, DesktopLayer = FirstLayer, BelowLayer,
  NormalLayer, AboveLayer, DockLayer, ActiveLayer,
  NumLayers
}
enum  ActivityFlags { ActivityFocus = 1 << 0, ActivityFocusForce = 1 << 1, ActivityRaise = 1 << 2 }
enum  allowed_t { Allowed }
enum  ForceGeometry_t { NormalGeometrySet, ForceGeometrySet }
enum  clientAreaOption {
  PlacementArea, MovementArea, MaximizeArea, MaximizeFullArea,
  FullScreenArea, WorkArea, FullArea, ScreenArea
}
enum  ShadeMode { ShadeNone, ShadeNormal, ShadeHover, ShadeActivated }

Functions

 KWIN_COMPARE_PREDICATE (SameApplicationActiveHackPredicate, const Client *,!cl->isSplash()&&!cl->isToolbar()&&!cl->isTopMenu()&&!cl->isUtility()&&!cl->isMenu()&&Client::belongToSameApplication(cl, value, true)&&cl!=value)
 KWIN_COMPARE_PREDICATE (FetchNameInternalPredicate, const Client *,(!cl->isSpecialWindow()||cl->isToolbar())&&cl!=value &&cl->caption()==value->caption())
static int nullErrorHandler (Display *, XErrorEvent *)
kdbgstream & operator<< (kdbgstream &stream, const Client *cl)
kdbgstream & operator<< (kdbgstream &stream, const ClientList &list)
kdbgstream & operator<< (kdbgstream &stream, const ConstClientList &list)
QPixmap * kwin_get_menu_pix_hack ()
 KWIN_PROCEDURE (CheckIgnoreFocusStealingProcedure, cl->ignore_focus_stealing=options->checkIgnoreFocusStealing(cl))
 KWIN_COMPARE_PREDICATE (WindowMatchPredicate, Window, cl->window()==value)
 KWIN_COMPARE_PREDICATE (FrameIdMatchPredicate, Window, cl->frameId()==value)
 KWIN_COMPARE_PREDICATE (WrapperIdMatchPredicate, Window, cl->wrapperId()==value)
int qtToX11Button (Qt::ButtonState button)
int qtToX11State (Qt::ButtonState state)
static Bool motion_predicate (Display *, XEvent *ev, XPointer)
static bool waitingMotionEvent ()
static Bool predicate_follows_focusin (Display *, XEvent *e, XPointer arg)
static bool check_follows_focusin (Client *c)
static void loadRules (QValueList< Rules * > &rules)
static void saveRules (const QValueList< Rules * > &rules)
static RulesfindRule (const QValueList< Rules * > &rules, Window wid)
static int edit (Window wid)
static QString positionToStr (const QPoint &p)
static QPoint strToPosition (const QString &str)
static QString sizeToStr (const QSize &s)
static QSize strToSize (const QString &str)
static QString intToStr (const int &s)
static int strToInt (const QString &str)
static int placementToCombo (Placement::Policy placement)
static Placement::Policy comboToPlacement (int val)
static int moveresizeToCombo (Options::MoveResizeMode mode)
static Options::MoveResizeMode comboToMoveResize (int val)
static int typeToCombo (NET::WindowType type)
static NET::WindowType comboToType (int val)
static int x11ErrorHandler (Display *d, XErrorEvent *e)
static void sighandler (int)
static int limit0to4 (int i)
kdbgstream & operator<< (kdbgstream &stream, const Rules *r)
static void save_yourself (SmcConn conn_P, SmPointer ptr, int, Bool, int, Bool)
static void die (SmcConn conn_P, SmPointer ptr)
static void save_complete (SmcConn conn_P, SmPointer ptr)
static void shutdown_cancelled (SmcConn conn_P, SmPointer ptr)
static bool areKeySymXsDepressed (bool bAll, int nKeySyms,...)
static bool areModKeysDepressed (const KKeySequence &seq)
static bool areModKeysDepressed (const KShortcut &cut)
QCString getStringProperty (WId w, Atom prop, char separator)
static Bool update_x_time_predicate (Display *, XEvent *event, XPointer)
void updateXTime ()
void grabXServer ()
void ungrabXServer ()
bool isLocalMachine (const QCString &host)
const QPoint invalidPoint (INT_MIN, INT_MIN)
void operator++ (Layer &lay)
 KWIN_CHECK_PREDICATE (TruePredicate, cl==cl)
template<typename T>
ClientfindClientInList (const ClientList &list, T predicate)
int timestampCompare (Time time1, Time time2)
Time timestampDiff (Time time1, Time time2)
 KWIN_PROCEDURE (CheckBorderSizesProcedure, cl->checkBorderSizes())
 KWIN_PROCEDURE (ResetupRulesProcedure, cl->setupWindowRules(true))
 KWIN_COMPARE_PREDICATE (ClientMatchPredicate, const Client *, cl==value)

Variables

Atomsatoms
bool blockAnimation = FALSE
static bool was_motion = false
static Time next_motion_time = CurrentTime
static bool follows_focusin = false
static bool follows_focusin_failed = false
static QRect * visible_bound = 0
static GeometryTipgeometryTip = 0
static EatAllPaintEvents * eater = 0
static const int set_rule_to_combo []
static const Rules::SetRule combo_to_set_rule []
static const int force_rule_to_combo []
static const Rules::ForceRule combo_to_force_rule []
Optionsoptions
int screen_number = -1
static bool initting = FALSE
static const char *const window_type_names []
static Time next_x_time
static int server_grab_count = 0
const int SUPPORTED_WINDOW_TYPES_MASK
const long ClientWinMask
KProcess * kompmgr = 0
bool allowKompmgrRestart = TRUE


Function Documentation

static bool KWinInternal::areKeySymXsDepressed bool  bAll,
int  nKeySyms,
  ...
[static]
 

Handles alt-tab / control-tab

Definition at line 625 of file tabbox.cpp.

Referenced by areModKeysDepressed().

KWinInternal::KWIN_PROCEDURE CheckBorderSizesProcedure  ,
cl->  checkBorderSizes()
 

Reread settings


Variable Documentation

const int KWinInternal::set_rule_to_combo[] [static]
 

Initial value:

    {
    0, 
    0, 
    3, 
    1, 
    2, 
    }

Definition at line 155 of file ruleswidget.cpp.

const Rules::SetRule KWinInternal::combo_to_set_rule[] [static]
 

Initial value:

    {
    ( Rules::SetRule )Rules::DontAffect,
    ( Rules::SetRule )Rules::Apply,
    ( Rules::SetRule )Rules::Remember,
    ( Rules::SetRule )Rules::Force
    }

Definition at line 164 of file ruleswidget.cpp.

const int KWinInternal::force_rule_to_combo[] [static]
 

Initial value:

    {
    0, 
    0, 
    1 
    }

Definition at line 172 of file ruleswidget.cpp.

const Rules::ForceRule KWinInternal::combo_to_force_rule[] [static]
 

Initial value:

    {
    ( Rules::ForceRule )Rules::DontAffect,
    ( Rules::ForceRule )Rules::Force
    }

Definition at line 179 of file ruleswidget.cpp.

const char* const KWinInternal::window_type_names[] [static]
 

Initial value:

 
    {
    "Unknown", "Normal" , "Desktop", "Dock", "Toolbar", "Menu", "Dialog",
    "Override", "TopMenu", "Utility", "Splash"
    }

Definition at line 272 of file sm.cpp.

const int KWinInternal::SUPPORTED_WINDOW_TYPES_MASK
 

Initial value:

 NET::NormalMask | NET::DesktopMask | NET::DockMask
    | NET::ToolbarMask | NET::MenuMask | NET::DialogMask | NET::OverrideMask | NET::TopMenuMask
    | NET::UtilityMask | NET::SplashMask

Definition at line 24 of file utils.h.

const long KWinInternal::ClientWinMask
 

Initial value:

 KeyPressMask | KeyReleaseMask |
                          ButtonPressMask | ButtonReleaseMask |
                  KeymapStateMask |
                  ButtonMotionMask |
                  PointerMotionMask | 
                  EnterWindowMask | LeaveWindowMask |
                  FocusChangeMask |
                  ExposureMask |
                  StructureNotifyMask |
                  SubstructureRedirectMask

Definition at line 28 of file utils.h.

Referenced by KWinInternal::Client::setShade().

KDE Logo
This file is part of the documentation for kwin Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Jun 14 16:47:29 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003