diff options
author | Dennis Kasprzyk <onestone@opencompositing.org> | 2008-08-06 23:50:48 +0200 |
---|---|---|
committer | Dennis Kasprzyk <onestone@opencompositing.org> | 2008-08-06 23:50:48 +0200 |
commit | 3f24e311b1a3b32293dabcf8c8efd33090e80217 (patch) | |
tree | d069efa5eb6abb283e81cc68a6da08818544f0fc /src/display.cpp | |
parent | 21756aab572e87c3682a60d68a8f903cb37ebf78 (diff) | |
download | zcomp-3f24e311b1a3b32293dabcf8c8efd33090e80217.tar.gz zcomp-3f24e311b1a3b32293dabcf8c8efd33090e80217.tar.bz2 |
Implement screen grabs as STL list.
Diffstat (limited to 'src/display.cpp')
-rw-r--r-- | src/display.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/display.cpp b/src/display.cpp index 7dcf9bf..b78c0e9 100644 --- a/src/display.cpp +++ b/src/display.cpp @@ -200,7 +200,7 @@ CompScreen::mainMenu (CompDisplay *d, time = getIntOptionNamed (option, nOption, "time", CurrentTime); s = d->findScreen (xid); - if (s && !s->priv->maxGrab) + if (s && s->priv->grabs.empty ()) s->toolkitAction (s->display ()->atoms().toolkitActionMainMenu, time, s->priv->root, 0, 0, 0); @@ -222,7 +222,7 @@ CompScreen::runDialog (CompDisplay *d, time = getIntOptionNamed (option, nOption, "time", CurrentTime); s = d->findScreen (xid); - if (s && !s->priv->maxGrab) + if (s && s->priv->grabs.empty ()) s->toolkitAction (s->display ()->atoms().toolkitActionRunDialog, time, s->priv->root , 0, 0, 0); @@ -513,7 +513,7 @@ CompScreen::windowMenu (CompDisplay *d, xid = getIntOptionNamed (option, nOption, "window", 0); w = d->findTopLevelWindow (xid); - if (w && !w->screen ()->priv->maxGrab) + if (w && w->screen ()->priv->grabs.empty ()) { int x, y, button; Time time; |