29 #include <tdelibs_export.h>
235 class TDECORE_EXPORT
NET {
331 DropdownMenuMask = 1<<10,
332 PopupMenuMask = 1<<11,
334 NotificationMask = 1<<13,
335 ComboBoxMask = 1<<14,
340 enum { AllTypesMask = 0LU-1 };
394 Max = MaxVert | MaxHoriz,
398 StaysOnTop = KeepAbove,
403 DemandsAttention = 1<<11
446 MoveResizeCancel = 11
477 ActionMinimize = 1<<2,
480 ActionMaxVert = 1<<5,
481 ActionMaxHoriz = 1<<6,
482 ActionMax = ActionMaxVert | ActionMaxHoriz,
483 ActionFullScreen = 1<<7,
484 ActionChangeDesktop = 1<<8,
538 ClientListStacking = 1<<2,
539 NumberOfDesktops = 1<<3,
540 DesktopGeometry = 1<<4,
541 DesktopViewport = 1<<5,
542 CurrentDesktop = 1<<6,
546 SupportingWMCheck = 1<<10,
547 VirtualRoots = 1<<11,
548 KDESystemTrayWindows = 1<<12,
550 WMMoveResize = 1<<14,
554 WMVisibleName = 1<<16,
556 WMWindowType = 1<<18,
559 WMIconGeometry = 1<<21,
562 WMHandledIcons = 1<<24,
564 WMKDESystemTrayWinFor = 1<<26,
566 WMFrameExtents = 1<<28,
567 WMKDEFrameStrut = WMFrameExtents,
571 WMVisibleIconName = 1<<30,
601 WM2TransientFor = 1<<2,
602 WM2GroupLeader = 1<<3,
603 WM2AllowedActions = 1<<4,
604 WM2RestackWindow = 1<<5,
605 WM2MoveResizeWindow = 1<<6,
606 WM2ExtendedStrut = 1<<7,
607 WM2TakeActivity = 1<<8,
608 WM2KDETemporaryRules = 1<<9,
609 WM2WindowClass = 1<<10,
610 WM2WindowRole = 1<<11,
611 WM2ClientMachine = 1<<12,
612 WM2ShowingDesktop = 1<<13,
613 WM2FullPlacement = 1<<14,
614 WM2DesktopLayout = 1<<15
622 enum { OnAllDesktops = -1 };
641 OrientationHorizontal = 0,
642 OrientationVertical = 1
649 DesktopLayoutCornerTopLeft = 0,
650 DesktopLayoutCornerTopRight = 1,
651 DesktopLayoutCornerBottomLeft = 2,
652 DesktopLayoutCornerBottomRight = 3
static int timestampDiff(unsigned long time1_, unsigned long time2_)
Returns a difference of two X timestamps, time2 - time1, where time2 must be later than time1,...
WindowTypeMask
Values for WindowType when they should be OR'ed together, e.g.
DesktopLayoutCorner
Starting corner for desktop layout.
static bool typeMatchesMask(WindowType type, unsigned long mask)
Returns true if the given window type matches the mask given using WindowTypeMask flags.
Property2
Supported properties.
Property
Supported properties.
RequestSource
Source of the request.
static int timestampCompare(unsigned long time1, unsigned long time2)
Compares two X timestamps, taking into account wrapping and 64bit architectures.
Direction
Direction for WMMoveResize.
Action
Actions that can be done with a window (_NET_WM_ALLOWED_ACTIONS).
MappingState
Client window mapping state.
Partial strut class for NET classes.
int bottom_width
Bottom border of the strut, width and range.
NETExtendedStrut()
Constructor to initialize this struct to 0,0,0,0.
int left_width
Left border of the strut, width and range.
int right_width
Right border of the strut, width and range.
int top_width
Top border of the strut, width and range.
Simple icon class for NET classes.
NETSize size
Size of the icon.
unsigned char * data
Image data for the icon.
NETIcon()
Constructor to initialize this icon to 0x0 with data=0.
Simple point class for NET classes.
NETPoint()
Constructor to initialize this point to 0,0.
Simple rectangle class for NET classes.
NETPoint pos
Position of the rectangle.
NETSize size
Size of the rectangle.
Simple size class for NET classes.
NETSize()
Constructor to initialize this size to 0x0.
int bottom
Bottom border of the strut.
int left
Left border of the strut.
int right
Right border of the strut.
int top
Top border of the strut.
NETStrut()
Constructor to initialize this struct to 0,0,0,0.