all repos — fluxbox @ 1d49072a767b6c3525906135330d1d715616574c

custom fork of the fluxbox windowmanager

fixed cursor for grips
fluxgen fluxgen
commit

1d49072a767b6c3525906135330d1d715616574c

parent

dc3455a72e4562b54b4c9cad12f5162a75f4fb4d

1 files changed, 9 insertions(+), 7 deletions(-)

jump to
M src/Window.ccsrc/Window.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.cc,v 1.178 2003/05/15 23:30:07 fluxgen Exp $ +// $Id: Window.cc,v 1.179 2003/05/17 11:08:06 fluxgen Exp $ #include "Window.hh"

@@ -361,7 +361,11 @@ m_client->window()<<", frame = "<<frame().window().window()<<dec<<")"<<endl;

#endif // DEBUG + Fluxbox &fluxbox = *Fluxbox::instance(); + // setup cursors for resize grips + frame().gripLeft().setCursor(fluxbox.getLowerLeftAngleCursor()); + frame().gripRight().setCursor(fluxbox.getLowerRightAngleCursor()); frame().resize(m_client->width(), m_client->height()); TextButton *btn = new TextButton(frame().label(),

@@ -439,11 +443,9 @@ // save old border width so we can restore it later

m_client->old_bw = wattrib.border_width; m_client->x = wattrib.x; m_client->y = wattrib.y; - Fluxbox *fluxbox = Fluxbox::instance(); - - fluxbox->saveWindowSearch(frame().window().window(), this); + fluxbox.saveWindowSearch(frame().window().window(), this); - m_timer.setTimeout(fluxbox->getAutoRaiseDelay()); + m_timer.setTimeout(fluxbox.getAutoRaiseDelay()); m_timer.fireOnce(true); if (m_client->initial_state == WithdrawnState) {

@@ -473,11 +475,11 @@

upsize(); bool place_window = true; - if (fluxbox->isStartup() || m_client->isTransient() || + if (fluxbox.isStartup() || m_client->isTransient() || m_client->normal_hint_flags & (PPosition|USPosition)) { setGravityOffsets(); - if (! fluxbox->isStartup()) { + if (! fluxbox.isStartup()) { int real_x = frame().x(); int real_y = frame().y();