diff options
author | fluxgen <fluxgen> | 2003-05-15 11:17:29 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-05-15 11:17:29 (GMT) |
commit | cbce8634dde14fd7000fde92e86f4bd4bf3525c2 (patch) | |
tree | b3be6c129906ecb67114616d761184cf3375c891 /src/Ewmh.cc | |
parent | 93220b5f1abee3057b292abb958a437ebbc707b4 (diff) | |
download | fluxbox_pavel-cbce8634dde14fd7000fde92e86f4bd4bf3525c2.zip fluxbox_pavel-cbce8634dde14fd7000fde92e86f4bd4bf3525c2.tar.bz2 |
cleaning in FluxboxWindow interface
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r-- | src/Ewmh.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc index 654a27e..8ec768b 100644 --- a/src/Ewmh.cc +++ b/src/Ewmh.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: Ewmh.cc,v 1.23 2003/05/11 17:06:02 fluxgen Exp $ | 22 | // $Id: Ewmh.cc,v 1.24 2003/05/15 11:17:26 fluxgen Exp $ |
23 | 23 | ||
24 | #include "Ewmh.hh" | 24 | #include "Ewmh.hh" |
25 | 25 | ||
@@ -103,7 +103,7 @@ void Ewmh::setupWindow(FluxboxWindow &win) { | |||
103 | unsigned long nitems, bytes_after; | 103 | unsigned long nitems, bytes_after; |
104 | long *data = 0; | 104 | long *data = 0; |
105 | /* | 105 | /* |
106 | if (XGetWindowProperty(disp, win.getClientWindow(), | 106 | if (XGetWindowProperty(disp, win.clientWindow(), |
107 | m_net_wm_state, 0, 1, False, XA_CARDINAL, | 107 | m_net_wm_state, 0, 1, False, XA_CARDINAL, |
108 | &ret_type, &fmt, &nitems, &bytes_after, | 108 | &ret_type, &fmt, &nitems, &bytes_after, |
109 | (unsigned char **) &data) == Success && data) { | 109 | (unsigned char **) &data) == Success && data) { |
@@ -112,7 +112,7 @@ void Ewmh::setupWindow(FluxboxWindow &win) { | |||
112 | XFree(data); | 112 | XFree(data); |
113 | } | 113 | } |
114 | */ | 114 | */ |
115 | if (XGetWindowProperty(disp, win.getClientWindow(), | 115 | if (XGetWindowProperty(disp, win.clientWindow(), |
116 | m_net_wm_desktop, 0, 1, False, XA_CARDINAL, | 116 | m_net_wm_desktop, 0, 1, False, XA_CARDINAL, |
117 | &ret_type, &fmt, &nitems, &bytes_after, | 117 | &ret_type, &fmt, &nitems, &bytes_after, |
118 | (unsigned char **) &data) == Success && data) { | 118 | (unsigned char **) &data) == Success && data) { |
@@ -168,7 +168,7 @@ void Ewmh::updateClientList(BScreen &screen) { | |||
168 | (*workspace_it)->windowList().end(); | 168 | (*workspace_it)->windowList().end(); |
169 | for (; it != it_end; ++it) { | 169 | for (; it != it_end; ++it) { |
170 | if ((*it)->numClients() == 1) | 170 | if ((*it)->numClients() == 1) |
171 | wl[win++] = (*it)->getClientWindow(); | 171 | wl[win++] = (*it)->clientWindow(); |
172 | else { | 172 | else { |
173 | // add every client in fluxboxwindow to list window list | 173 | // add every client in fluxboxwindow to list window list |
174 | std::list<WinClient *>::iterator client_it = | 174 | std::list<WinClient *>::iterator client_it = |
@@ -251,7 +251,7 @@ void Ewmh::updateHints(FluxboxWindow &win) { | |||
251 | } | 251 | } |
252 | 252 | ||
253 | void Ewmh::updateWorkspace(FluxboxWindow &win) { | 253 | void Ewmh::updateWorkspace(FluxboxWindow &win) { |
254 | int workspace = win.getWorkspaceNumber(); | 254 | int workspace = win.workspaceNumber(); |
255 | if (win.isStuck()) | 255 | if (win.isStuck()) |
256 | workspace = 0xFFFFFFFF; // appear on all desktops/workspaces | 256 | workspace = 0xFFFFFFFF; // appear on all desktops/workspaces |
257 | 257 | ||