aboutsummaryrefslogtreecommitdiff
path: root/src/Netizen.hh
diff options
context:
space:
mode:
authormarkt <markt>2007-10-13 21:51:37 (GMT)
committermarkt <markt>2007-10-13 21:51:37 (GMT)
commita59428d67a95a9df16554962f0a6257d6378328a (patch)
treef856ed9300c34f7a17d499f22d895610cfbc08e5 /src/Netizen.hh
parent41b5c6dadb1f474675660cef18b812d4c2338ed2 (diff)
downloadfluxbox-a59428d67a95a9df16554962f0a6257d6378328a.zip
fluxbox-a59428d67a95a9df16554962f0a6257d6378328a.tar.bz2
merged changes from pre-devel
Diffstat (limited to 'src/Netizen.hh')
-rw-r--r--src/Netizen.hh58
1 files changed, 0 insertions, 58 deletions
diff --git a/src/Netizen.hh b/src/Netizen.hh
deleted file mode 100644
index 334a065..0000000
--- a/src/Netizen.hh
+++ /dev/null
@@ -1,58 +0,0 @@
1// Netizen.hh for Fluxbox
2// Copyright (c) 2002-2003 Henrik Kinnunen (fluxgen at fluxbox dot org)
3//
4// Netizen.hh for Blackbox - An X11 Window Manager
5// Copyright (c) 1997 - 2000 Brad Hughes (bhughes@tcac.net)
6//
7// Permission is hereby granted, free of charge, to any person obtaining a
8// copy of this software and associated documentation files (the "Software"),
9// to deal in the Software without restriction, including without limitation
10// the rights to use, copy, modify, merge, publish, distribute, sublicense,
11// and/or sell copies of the Software, and to permit persons to whom the
12// Software is furnished to do so, subject to the following conditions:
13//
14// The above copyright notice and this permission notice shall be included in
15// all copies or substantial portions of the Software.
16//
17// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
20// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE.
24
25#ifndef NETIZEN_HH
26#define NETIZEN_HH
27
28#include <X11/Xlib.h>
29
30class BScreen;
31
32class Netizen {
33public:
34 Netizen(const BScreen &scr, Window w);
35
36 inline Window window() const { return m_window; }
37
38 void sendWorkspaceCount();
39 void sendCurrentWorkspace();
40
41 void sendWindowFocus(Window w);
42 void sendWindowAdd(Window w, unsigned long wkspc);
43 void sendWindowDel(Window w);
44 void sendWindowRaise(Window w);
45 void sendWindowLower(Window w);
46
47 void sendConfigNotify(XEvent &xe);
48private:
49 const BScreen &m_screen;
50 Display *m_display; ///< display connection
51 Window m_window;
52 XEvent event;
53
54};
55
56
57#endif // _NETIZEN_HH_
58