minor stuff
This commit is contained in:
parent
5f84132c19
commit
0fba4bfafe
1 changed files with 2 additions and 17 deletions
|
@ -22,7 +22,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// $Id: Window.cc,v 1.288 2004/06/07 11:46:04 rathnor Exp $
|
// $Id: Window.cc,v 1.289 2004/06/07 21:48:14 fluxgen Exp $
|
||||||
|
|
||||||
#include "Window.hh"
|
#include "Window.hh"
|
||||||
|
|
||||||
|
@ -560,27 +560,13 @@ void FluxboxWindow::init() {
|
||||||
|
|
||||||
setState(m_current_state);
|
setState(m_current_state);
|
||||||
|
|
||||||
// add extra menus
|
|
||||||
/* addExtraMenu("Send To...", new SendToMenu(*this));
|
|
||||||
addExtraMenu("Layer...",
|
|
||||||
new LayerMenu<FluxboxWindow>(screen().menuTheme(),
|
|
||||||
screen().imageControl(),
|
|
||||||
*screen().layerManager().getLayer(Fluxbox::instance()->getMenuLayer()),
|
|
||||||
this,
|
|
||||||
false));
|
|
||||||
*/
|
|
||||||
// the layermenu will get deleted as an extra menu
|
|
||||||
// don't call setupWindow here as the addExtraMenu call should
|
|
||||||
|
|
||||||
sendConfigureNotify();
|
sendConfigureNotify();
|
||||||
// no focus default
|
// no focus default
|
||||||
setFocusFlag(false);
|
setFocusFlag(false);
|
||||||
|
|
||||||
if (m_shaped)
|
if (m_shaped)
|
||||||
shape();
|
shape();
|
||||||
|
FbTk::App::instance()->sync(false);
|
||||||
FbTk::App::instance()->sync(false);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// apply shape to this window
|
/// apply shape to this window
|
||||||
|
@ -2573,7 +2559,6 @@ void FluxboxWindow::motionNotifyEvent(XMotionEvent &me) {
|
||||||
grabPointer(me.window, False, ButtonMotionMask |
|
grabPointer(me.window, False, ButtonMotionMask |
|
||||||
ButtonReleaseMask, GrabModeAsync, GrabModeAsync,
|
ButtonReleaseMask, GrabModeAsync, GrabModeAsync,
|
||||||
None, frame(). theme().moveCursor(), CurrentTime);
|
None, frame(). theme().moveCursor(), CurrentTime);
|
||||||
int borderw = active_button.borderWidth();
|
|
||||||
// relative position on button
|
// relative position on button
|
||||||
m_button_grab_x = me.x;
|
m_button_grab_x = me.x;
|
||||||
m_button_grab_y = me.y;
|
m_button_grab_y = me.y;
|
||||||
|
|
Loading…
Reference in a new issue