aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-08-11 13:17:56 (GMT)
committerfluxgen <fluxgen>2004-08-11 13:17:56 (GMT)
commit4b159871a0d1baae0bf74a8d7e721814f3b57357 (patch)
tree8f98ee37dad77f052ce869dfb6f3d21320d7fd2f /src/FbWinFrame.cc
parent7ca95258d0fad6402539ba7966c8503bab406c73 (diff)
downloadfluxbox-4b159871a0d1baae0bf74a8d7e721814f3b57357.zip
fluxbox-4b159871a0d1baae0bf74a8d7e721814f3b57357.tar.bz2
minor cleaning
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r--src/FbWinFrame.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc
index 8d93184..d01b5cf 100644
--- a/src/FbWinFrame.cc
+++ b/src/FbWinFrame.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: FbWinFrame.cc,v 1.77 2004/03/21 09:00:24 rathnor Exp $ 22// $Id: FbWinFrame.cc,v 1.78 2004/08/11 13:17:56 fluxgen Exp $
23 23
24#include "FbWinFrame.hh" 24#include "FbWinFrame.hh"
25 25
@@ -533,7 +533,6 @@ void FbWinFrame::buttonPressEvent(XButtonEvent &event) {
533 if (event.window == m_grip_right.window() || 533 if (event.window == m_grip_right.window() ||
534 event.window == m_grip_left.window() || 534 event.window == m_grip_left.window() ||
535 event.window == m_clientarea.window() || 535 event.window == m_clientarea.window() ||
536 event.window == m_handle.window() ||
537 event.window == m_window.window()) 536 event.window == m_window.window())
538 return; 537 return;
539 // we handle only buttons 0 to 5 538 // we handle only buttons 0 to 5
@@ -1374,6 +1373,6 @@ void FbWinFrame::gravityTranslate(int &x, int &y, int win_gravity, bool move_fra
1374 y += y_offset; 1373 y += y_offset;
1375 1374
1376 if (move_frame && (x_offset != 0 || y_offset != 0)) { 1375 if (move_frame && (x_offset != 0 || y_offset != 0)) {
1377 move(x,y); 1376 move(x, y);
1378 } 1377 }
1379} 1378}