KWin
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
KWin::RootInfo Class Reference

#include <netinfo.h>

Inheritance diagram for KWin::RootInfo:

Public Member Functions

 RootInfo (xcb_window_t w, const char *name, NET::Properties properties, NET::WindowTypes types, NET::States states, NET::Properties2 properties2, NET::Actions actions, int scr=-1)
 
void setActiveClient (Window *client)
 

Static Public Member Functions

static RootInfocreate ()
 
static void destroy ()
 

Protected Member Functions

void changeNumberOfDesktops (int n) override
 
void changeCurrentDesktop (int d) override
 
void changeActiveWindow (xcb_window_t w, NET::RequestSource src, xcb_timestamp_t timestamp, xcb_window_t active_window) override
 
void closeWindow (xcb_window_t w) override
 
void moveResize (xcb_window_t w, int x_root, int y_root, unsigned long direction, xcb_button_t button, RequestSource source) override
 
void moveResizeWindow (xcb_window_t w, int flags, int x, int y, int width, int height) override
 
void showWindowMenu (xcb_window_t w, int device_id, int x_root, int y_root) override
 
void gotPing (xcb_window_t w, xcb_timestamp_t timestamp) override
 
void restackWindow (xcb_window_t w, RequestSource source, xcb_window_t above, int detail, xcb_timestamp_t timestamp) override
 
void changeShowingDesktop (bool showing) override
 

Friends

RootInforootInfo ()
 

Detailed Description

NET WM Protocol handler class

Definition at line 29 of file netinfo.h.

Constructor & Destructor Documentation

◆ RootInfo()

KWin::RootInfo::RootInfo ( xcb_window_t w,
const char * name,
NET::Properties properties,
NET::WindowTypes types,
NET::States states,
NET::Properties2 properties2,
NET::Actions actions,
int scr = -1 )

Definition at line 132 of file netinfo.cpp.

Member Function Documentation

◆ changeActiveWindow()

void KWin::RootInfo::changeActiveWindow ( xcb_window_t w,
NET::RequestSource src,
xcb_timestamp_t timestamp,
xcb_window_t active_window )
overrideprotected

Definition at line 150 of file netinfo.cpp.

◆ changeCurrentDesktop()

void KWin::RootInfo::changeCurrentDesktop ( int d)
overrideprotected

Definition at line 145 of file netinfo.cpp.

◆ changeNumberOfDesktops()

void KWin::RootInfo::changeNumberOfDesktops ( int n)
overrideprotected

Definition at line 140 of file netinfo.cpp.

◆ changeShowingDesktop()

void KWin::RootInfo::changeShowingDesktop ( bool showing)
overrideprotected

Definition at line 232 of file netinfo.cpp.

◆ closeWindow()

void KWin::RootInfo::closeWindow ( xcb_window_t w)
overrideprotected

Definition at line 193 of file netinfo.cpp.

◆ create()

RootInfo * KWin::RootInfo::create ( )
static

Definition at line 26 of file netinfo.cpp.

◆ destroy()

void KWin::RootInfo::destroy ( )
static

Definition at line 122 of file netinfo.cpp.

◆ gotPing()

void KWin::RootInfo::gotPing ( xcb_window_t w,
xcb_timestamp_t timestamp )
overrideprotected

Definition at line 225 of file netinfo.cpp.

◆ moveResize()

void KWin::RootInfo::moveResize ( xcb_window_t w,
int x_root,
int y_root,
unsigned long direction,
xcb_button_t button,
RequestSource source )
overrideprotected

Definition at line 201 of file netinfo.cpp.

◆ moveResizeWindow()

void KWin::RootInfo::moveResizeWindow ( xcb_window_t w,
int flags,
int x,
int y,
int width,
int height )
overrideprotected

Definition at line 210 of file netinfo.cpp.

◆ restackWindow()

void KWin::RootInfo::restackWindow ( xcb_window_t w,
RequestSource source,
xcb_window_t above,
int detail,
xcb_timestamp_t timestamp )
overrideprotected

Definition at line 180 of file netinfo.cpp.

◆ setActiveClient()

void KWin::RootInfo::setActiveClient ( Window * client)

Definition at line 237 of file netinfo.cpp.

◆ showWindowMenu()

void KWin::RootInfo::showWindowMenu ( xcb_window_t w,
int device_id,
int x_root,
int y_root )
overrideprotected

Definition at line 218 of file netinfo.cpp.

Friends And Related Symbol Documentation

◆ rootInfo

RootInfo * rootInfo ( )
friend

Definition at line 59 of file netinfo.h.


The documentation for this class was generated from the following files: