• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KDEUI

netwm.cpp File Reference

#include "netwm.h"
#include "netwm_p.h"
#include <QtGui/QWidget>
#include <QtGui/qx11info_x11.h>
#include <kwindowsystem.h>
#include <kxutils.h>
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <X11/Xmd.h>

Include dependency graph for netwm.cpp:

Go to the source code of this file.


Functions

static void create_netwm_atoms (Display *d)
static char * nstrdup (const char *s1)
static char * nstrndup (const char *s1, int l)
static Window * nwindup (const Window *w1, int n)
static void readIcon (Display *display, Window window, Atom property, NETRArray< NETIcon > &icons, int &icon_count)
static void refdec_nri (NETRootInfoPrivate *p)
static void refdec_nwi (NETWinInfoPrivate *p)
static int wcmp (const void *a, const void *b)

Variables

static Atom kde_net_wm_frame_strut = 0
static Atom kde_net_wm_temporary_rules = 0
static Atom kde_net_wm_window_type_override = 0
static Atom kde_net_wm_window_type_topmenu = 0
const long MAX_PROP_SIZE = 100000
static Atom net_active_window = 0
static Atom net_client_list = 0
static Atom net_client_list_stacking = 0
static Atom net_close_window = 0
static Atom net_current_desktop = 0
static Atom net_desktop_geometry = 0
static Atom net_desktop_layout = 0
static Atom net_desktop_names = 0
static Atom net_desktop_viewport = 0
static Atom net_frame_extents = 0
static Atom net_moveresize_window = 0
static Atom net_number_of_desktops = 0
static Atom net_restack_window = 0
static Atom net_showing_desktop = 0
static Atom net_startup_id = 0
static Atom net_supported = 0
static Atom net_supporting_wm_check = 0
static Atom net_virtual_roots = 0
static Atom net_wm_action_change_desk = 0
static Atom net_wm_action_close = 0
static Atom net_wm_action_fullscreen = 0
static Atom net_wm_action_max_horiz = 0
static Atom net_wm_action_max_vert = 0
static Atom net_wm_action_minimize = 0
static Atom net_wm_action_move = 0
static Atom net_wm_action_resize = 0
static Atom net_wm_action_shade = 0
static Atom net_wm_action_stick = 0
static Atom net_wm_allowed_actions = 0
static Atom net_wm_desktop = 0
static Atom net_wm_extended_strut = 0
static Atom net_wm_full_placement = 0
static Atom net_wm_fullscreen_monitors = 0
static Atom net_wm_handled_icons = 0
static Atom net_wm_icon = 0
static Atom net_wm_icon_geometry = 0
static Atom net_wm_icon_name = 0
static Atom net_wm_moveresize = 0
static Atom net_wm_name = 0
static Atom net_wm_pid = 0
static Atom net_wm_ping = 0
static Atom net_wm_state = 0
static Atom net_wm_state_above = 0
static Atom net_wm_state_below = 0
static Atom net_wm_state_demands_attention = 0
static Atom net_wm_state_fullscreen = 0
static Atom net_wm_state_hidden = 0
static Atom net_wm_state_max_horiz = 0
static Atom net_wm_state_max_vert = 0
static Atom net_wm_state_modal = 0
static Atom net_wm_state_shaded = 0
static Atom net_wm_state_skip_pager = 0
static Atom net_wm_state_skip_taskbar = 0
static Atom net_wm_state_stays_on_top = 0
static Atom net_wm_state_sticky = 0
static Atom net_wm_strut = 0
static Atom net_wm_take_activity = 0
static Atom net_wm_user_time = 0
static Atom net_wm_visible_icon_name = 0
static Atom net_wm_visible_name = 0
static Atom net_wm_window_opacity = 0
static Atom net_wm_window_type = 0
static Atom net_wm_window_type_combobox = 0
static Atom net_wm_window_type_desktop = 0
static Atom net_wm_window_type_dialog = 0
static Atom net_wm_window_type_dnd = 0
static Atom net_wm_window_type_dock = 0
static Atom net_wm_window_type_dropdown_menu = 0
static Atom net_wm_window_type_menu = 0
static Atom net_wm_window_type_normal = 0
static Atom net_wm_window_type_notification = 0
static Atom net_wm_window_type_popup_menu = 0
static Atom net_wm_window_type_splash = 0
static Atom net_wm_window_type_toolbar = 0
static Atom net_wm_window_type_tooltip = 0
static Atom net_wm_window_type_utility = 0
static Atom net_workarea = 0
static const int netAtomCount = 85
static Bool netwm_atoms_created = False
const unsigned long netwm_sendevent_mask
static Atom UTF8_STRING = 0
static Atom wm_protocols = 0
static Atom wm_window_role = 0
static Atom xa_wm_state = 0

Function Documentation

static void create_netwm_atoms ( Display *  d  )  [static]

Definition at line 246 of file netwm.cpp.

static char* nstrdup ( const char *  s1  )  [static]

Definition at line 162 of file netwm.cpp.

static char* nstrndup ( const char *  s1,
int  l 
) [static]

Definition at line 172 of file netwm.cpp.

static Window* nwindup ( const Window *  w1,
int  n 
) [static]

Definition at line 182 of file netwm.cpp.

static void readIcon ( Display *  display,
Window  window,
Atom  property,
NETRArray< NETIcon > &  icons,
int &  icon_count 
) [static]

Definition at line 457 of file netwm.cpp.

static void refdec_nri ( NETRootInfoPrivate *  p  )  [static]

Definition at line 191 of file netwm.cpp.

static void refdec_nwi ( NETWinInfoPrivate *  p  )  [static]

Definition at line 215 of file netwm.cpp.

static int wcmp ( const void *  a,
const void *  b 
) [static]

Definition at line 240 of file netwm.cpp.


Variable Documentation

Atom kde_net_wm_frame_strut = 0 [static]

Definition at line 91 of file netwm.cpp.

Atom kde_net_wm_temporary_rules = 0 [static]

Definition at line 97 of file netwm.cpp.

Atom kde_net_wm_window_type_override = 0 [static]

Definition at line 95 of file netwm.cpp.

Atom kde_net_wm_window_type_topmenu = 0 [static]

Definition at line 96 of file netwm.cpp.

const long MAX_PROP_SIZE = 100000

Definition at line 160 of file netwm.cpp.

Atom net_active_window = 0 [static]

Definition at line 58 of file netwm.cpp.

Atom net_client_list = 0 [static]

Definition at line 51 of file netwm.cpp.

Atom net_client_list_stacking = 0 [static]

Definition at line 52 of file netwm.cpp.

Atom net_close_window = 0 [static]

Definition at line 66 of file netwm.cpp.

Atom net_current_desktop = 0 [static]

Definition at line 55 of file netwm.cpp.

Atom net_desktop_geometry = 0 [static]

Definition at line 53 of file netwm.cpp.

Atom net_desktop_layout = 0 [static]

Definition at line 63 of file netwm.cpp.

Atom net_desktop_names = 0 [static]

Definition at line 56 of file netwm.cpp.

Atom net_desktop_viewport = 0 [static]

Definition at line 54 of file netwm.cpp.

Atom net_frame_extents = 0 [static]

Definition at line 89 of file netwm.cpp.

Atom net_moveresize_window = 0 [static]

Definition at line 69 of file netwm.cpp.

Atom net_number_of_desktops = 0 [static]

Definition at line 57 of file netwm.cpp.

Atom net_restack_window = 0 [static]

Definition at line 67 of file netwm.cpp.

Atom net_showing_desktop = 0 [static]

Definition at line 62 of file netwm.cpp.

Atom net_startup_id = 0 [static]

Definition at line 86 of file netwm.cpp.

Atom net_supported = 0 [static]

Definition at line 50 of file netwm.cpp.

Atom net_supporting_wm_check = 0 [static]

Definition at line 60 of file netwm.cpp.

Atom net_virtual_roots = 0 [static]

Definition at line 61 of file netwm.cpp.

Atom net_wm_action_change_desk = 0 [static]

Definition at line 143 of file netwm.cpp.

Atom net_wm_action_close = 0 [static]

Definition at line 144 of file netwm.cpp.

Atom net_wm_action_fullscreen = 0 [static]

Definition at line 142 of file netwm.cpp.

Atom net_wm_action_max_horiz = 0 [static]

Definition at line 141 of file netwm.cpp.

Atom net_wm_action_max_vert = 0 [static]

Definition at line 140 of file netwm.cpp.

Atom net_wm_action_minimize = 0 [static]

Definition at line 137 of file netwm.cpp.

Atom net_wm_action_move = 0 [static]

Definition at line 135 of file netwm.cpp.

Atom net_wm_action_resize = 0 [static]

Definition at line 136 of file netwm.cpp.

Atom net_wm_action_shade = 0 [static]

Definition at line 138 of file netwm.cpp.

Atom net_wm_action_stick = 0 [static]

Definition at line 139 of file netwm.cpp.

Atom net_wm_allowed_actions = 0 [static]

Definition at line 87 of file netwm.cpp.

Atom net_wm_desktop = 0 [static]

Definition at line 76 of file netwm.cpp.

Atom net_wm_extended_strut = 0 [static]

Definition at line 80 of file netwm.cpp.

Atom net_wm_full_placement = 0 [static]

Definition at line 153 of file netwm.cpp.

Atom net_wm_fullscreen_monitors = 0 [static]

Definition at line 92 of file netwm.cpp.

Atom net_wm_handled_icons = 0 [static]

Definition at line 85 of file netwm.cpp.

Atom net_wm_icon = 0 [static]

Definition at line 82 of file netwm.cpp.

Atom net_wm_icon_geometry = 0 [static]

Definition at line 81 of file netwm.cpp.

Atom net_wm_icon_name = 0 [static]

Definition at line 74 of file netwm.cpp.

Atom net_wm_moveresize = 0 [static]

Definition at line 68 of file netwm.cpp.

Atom net_wm_name = 0 [static]

Definition at line 72 of file netwm.cpp.

Atom net_wm_pid = 0 [static]

Definition at line 83 of file netwm.cpp.

Atom net_wm_ping = 0 [static]

Definition at line 101 of file netwm.cpp.

Atom net_wm_state = 0 [static]

Definition at line 78 of file netwm.cpp.

Atom net_wm_state_above = 0 [static]

Definition at line 130 of file netwm.cpp.

Atom net_wm_state_below = 0 [static]

Definition at line 131 of file netwm.cpp.

Atom net_wm_state_demands_attention = 0 [static]

Definition at line 132 of file netwm.cpp.

Atom net_wm_state_fullscreen = 0 [static]

Definition at line 129 of file netwm.cpp.

Atom net_wm_state_hidden = 0 [static]

Definition at line 128 of file netwm.cpp.

Atom net_wm_state_max_horiz = 0 [static]

Definition at line 124 of file netwm.cpp.

Atom net_wm_state_max_vert = 0 [static]

Definition at line 123 of file netwm.cpp.

Atom net_wm_state_modal = 0 [static]

Definition at line 121 of file netwm.cpp.

Atom net_wm_state_shaded = 0 [static]

Definition at line 125 of file netwm.cpp.

Atom net_wm_state_skip_pager = 0 [static]

Definition at line 127 of file netwm.cpp.

Atom net_wm_state_skip_taskbar = 0 [static]

Definition at line 126 of file netwm.cpp.

Atom net_wm_state_stays_on_top = 0 [static]

Definition at line 147 of file netwm.cpp.

Atom net_wm_state_sticky = 0 [static]

Definition at line 122 of file netwm.cpp.

Atom net_wm_strut = 0 [static]

Definition at line 79 of file netwm.cpp.

Atom net_wm_take_activity = 0 [static]

Definition at line 102 of file netwm.cpp.

Atom net_wm_user_time = 0 [static]

Definition at line 84 of file netwm.cpp.

Atom net_wm_visible_icon_name = 0 [static]

Definition at line 75 of file netwm.cpp.

Atom net_wm_visible_name = 0 [static]

Definition at line 73 of file netwm.cpp.

Atom net_wm_window_opacity = 0 [static]

Definition at line 90 of file netwm.cpp.

Atom net_wm_window_type = 0 [static]

Definition at line 77 of file netwm.cpp.

Atom net_wm_window_type_combobox = 0 [static]

Definition at line 117 of file netwm.cpp.

Atom net_wm_window_type_desktop = 0 [static]

Definition at line 106 of file netwm.cpp.

Atom net_wm_window_type_dialog = 0 [static]

Definition at line 110 of file netwm.cpp.

Atom net_wm_window_type_dnd = 0 [static]

Definition at line 118 of file netwm.cpp.

Atom net_wm_window_type_dock = 0 [static]

Definition at line 107 of file netwm.cpp.

Atom net_wm_window_type_dropdown_menu = 0 [static]

Definition at line 113 of file netwm.cpp.

Atom net_wm_window_type_menu = 0 [static]

Definition at line 109 of file netwm.cpp.

Atom net_wm_window_type_normal = 0 [static]

Definition at line 105 of file netwm.cpp.

Atom net_wm_window_type_notification = 0 [static]

Definition at line 116 of file netwm.cpp.

Atom net_wm_window_type_popup_menu = 0 [static]

Definition at line 114 of file netwm.cpp.

Atom net_wm_window_type_splash = 0 [static]

Definition at line 112 of file netwm.cpp.

Atom net_wm_window_type_toolbar = 0 [static]

Definition at line 108 of file netwm.cpp.

Atom net_wm_window_type_tooltip = 0 [static]

Definition at line 115 of file netwm.cpp.

Atom net_wm_window_type_utility = 0 [static]

Definition at line 111 of file netwm.cpp.

Atom net_workarea = 0 [static]

Definition at line 59 of file netwm.cpp.

const int netAtomCount = 85 [static]

Definition at line 245 of file netwm.cpp.

Bool netwm_atoms_created = False [static]

Definition at line 155 of file netwm.cpp.

const unsigned long netwm_sendevent_mask

Initial value:

 (SubstructureRedirectMask|
                         SubstructureNotifyMask)

Definition at line 156 of file netwm.cpp.

Atom UTF8_STRING = 0 [static]

Definition at line 47 of file netwm.cpp.

Atom wm_protocols = 0 [static]

Definition at line 100 of file netwm.cpp.

Atom wm_window_role = 0 [static]

Definition at line 88 of file netwm.cpp.

Atom xa_wm_state = 0 [static]

Definition at line 150 of file netwm.cpp.

KDEUI

Skip menu "KDEUI"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal