aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}