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 };
346 static bool typeMatchesMask( WindowType type,
unsigned long mask );
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
660 static int timestampCompare(
unsigned long time1,
unsigned long time2 );
666 static int timestampDiff(
unsigned long time1_,
unsigned long time2_ );
671 #endif // __netwm_def_h
Simple icon class for NET classes.
int bottom
Bottom border of the strut.
int bottom_width
Bottom border of the strut, width and range.
Property2
Supported properties.
unsigned char * data
Image data for the icon.
int right
Right border of the strut.
NETStrut()
Constructor to initialize this struct to 0,0,0,0.
NETPoint()
Constructor to initialize this point to 0,0.
Partial strut class for NET classes.
int left
Left border of the strut.
Direction
Direction for WMMoveResize.
NETIcon()
Constructor to initialize this icon to 0x0 with data=0.
MappingState
Client window mapping state.
NETSize size
Size of the rectangle.
NETSize size
Size of the icon.
Property
Supported properties.
NETPoint pos
Position of the rectangle.
Simple point class for NET classes.
int top_width
Top border of the strut, width and range.
NETExtendedStrut()
Constructor to initialize this struct to 0,0,0,0.
Simple rectangle class for NET classes.
NETSize()
Constructor to initialize this size to 0x0.
int right_width
Right border of the strut, width and range.
Action
Actions that can be done with a window (_NET_WM_ALLOWED_ACTIONS).
int left_width
Left border of the strut, width and range.
WindowTypeMask
Values for WindowType when they should be OR'ed together, e.g.
DesktopLayoutCorner
Starting corner for desktop layout.
int top
Top border of the strut.
RequestSource
Source of the request.
Simple size class for NET classes.