diff options
Diffstat (limited to 'src/Gnome.cc')
-rw-r--r-- | src/Gnome.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Gnome.cc b/src/Gnome.cc index 11cce0d..6e4a8b7 100644 --- a/src/Gnome.cc +++ b/src/Gnome.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: Gnome.cc,v 1.20 2003/05/10 22:57:37 fluxgen Exp $ | 22 | // $Id: Gnome.cc,v 1.21 2003/05/11 13:36:10 fluxgen Exp $ |
23 | 23 | ||
24 | #include "Gnome.hh" | 24 | #include "Gnome.hh" |
25 | 25 | ||
@@ -118,7 +118,7 @@ void Gnome::setupWindow(FluxboxWindow &win) { | |||
118 | (unsigned char **) &data) == Success && data) { | 118 | (unsigned char **) &data) == Success && data) { |
119 | unsigned int workspace_num = *data; | 119 | unsigned int workspace_num = *data; |
120 | if (win.getWorkspaceNumber() != workspace_num) | 120 | if (win.getWorkspaceNumber() != workspace_num) |
121 | win.getScreen().reassociateWindow(&win, workspace_num, false); | 121 | win.screen().reassociateWindow(&win, workspace_num, false); |
122 | XFree (data); | 122 | XFree (data); |
123 | } | 123 | } |
124 | 124 | ||
@@ -269,8 +269,8 @@ bool Gnome::checkClientMessage(const XClientMessageEvent &ce, BScreen * screen, | |||
269 | #endif//!DEBUG | 269 | #endif//!DEBUG |
270 | if ( win !=0 && // the message sent to client window? | 270 | if ( win !=0 && // the message sent to client window? |
271 | ce.data.l[0] >= 0 && | 271 | ce.data.l[0] >= 0 && |
272 | ce.data.l[0] < (signed)win->getScreen().getCount()) { | 272 | ce.data.l[0] < (signed)win->screen().getCount()) { |
273 | win->getScreen().changeWorkspaceID(ce.data.l[0]); | 273 | win->screen().changeWorkspaceID(ce.data.l[0]); |
274 | 274 | ||
275 | } else if (screen!=0 && //the message sent to root window? | 275 | } else if (screen!=0 && //the message sent to root window? |
276 | ce.data.l[0] >= 0 && | 276 | ce.data.l[0] >= 0 && |