aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc14
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
2333template<>
2334void 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