Fixed a wierd bug when resizing a shaded window
authorScott Moynes <smoynes@nexus.carleton.ca>
Mon, 3 Feb 2003 01:31:46 +0000 (01:31 +0000)
committerScott Moynes <smoynes@nexus.carleton.ca>
Mon, 3 Feb 2003 01:31:46 +0000 (01:31 +0000)
src/Window.cc

index 50431428c1d1b3e84a229b3366d179941713c0ea..e567ac93632a53d03e2c73ff878b772c0f8842f7 100644 (file)
@@ -3899,6 +3899,7 @@ void BlackboxWindow::motionNotifyEvent(const XMotionEvent *me) {
   if (flags.moving) {
     doMove(me->x_root, me->y_root);
   } else if (flags.resizing) {
+    if (flags.shaded) shade(); //unshade
     doResize(me->x_root, me->y_root);
   } else {
     if ((functions & Func_Move) &&