diff options
author | markt <markt> | 2007-10-23 17:34:30 (GMT) |
---|---|---|
committer | markt <markt> | 2007-10-23 17:34:30 (GMT) |
commit | 1c05af4329e62b8bfaf3c0f032c52ace4eaa5975 (patch) | |
tree | af37aee8b1e6cde31050cd627fcbd56c55f9dc21 /src/Screen.cc | |
parent | c849d3c7ffc518d85a365664530f1faa102cf83f (diff) | |
download | fluxbox_pavel-1c05af4329e62b8bfaf3c0f032c52ace4eaa5975.zip fluxbox_pavel-1c05af4329e62b8bfaf3c0f032c52ace4eaa5975.tar.bz2 |
allow remembering minimized, maximized, and fullscreen state
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index e6681e6..0589d2f 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -2325,17 +2325,3 @@ pair<int,int> BScreen::clampToHead(int head, int x, int y, int w, int h) const { | |||
2325 | 2325 | ||
2326 | return make_pair(x,y); | 2326 | return make_pair(x,y); |
2327 | } | 2327 | } |
2328 | |||
2329 | // TODO: when toolbar gets its resources moved into Toolbar.hh/cc, then | ||
2330 | // this can be gone and a consistent interface for the two used | ||
2331 | // on the actual objects | ||
2332 | |||
2333 | template<> | ||
2334 | void BScreen::setOnHead<FluxboxWindow>(FluxboxWindow& win, int head) { | ||
2335 | if (head > 0 && head <= numHeads()) { | ||
2336 | int current_head = getHead(win.fbWindow()); | ||
2337 | win.move(getHeadX(head) + win.frame().x() - getHeadX(current_head), | ||
2338 | getHeadY(head) + win.frame().y() - getHeadY(current_head)); | ||
2339 | } | ||
2340 | } | ||
2341 | |||