History log of /haiku-fatelf/src/servers/app/decorator/DefaultWindowBehaviour.cpp
Revision Date Author Comments
# 98b326dd 28-Jan-2013 Adrien Destugues <pulkomandy@gmail.com>

Revert Ctrl+Alt resizing/moving changes.
This removes the solution with no convincing replacement,
and breaks most basic window management tasks such as raising a window when clicking it.

Please come back when you get the issues fixed and a real alternative to the "ugly" border highlighting.

This reverts hrev45197-45202.


# 79fd9dac 25-Jan-2013 John Scipione <jscipione@gmail.com>

Check kAcceptKeyboardFocusFlag first.


# 70171c26 25-Jan-2013 John Scipione <jscipione@gmail.com>

A few changes to make this more robust.

I am able to get stuck in window management mode without ctrl+alt
held down somehow but it's not reproducable. These changes should
hopefully make this a bit more robust.


# ae883c5f 24-Jan-2013 John Scipione <jscipione@gmail.com>

Reset cursor if kAcceptKeyboardFocusFlag is set.

This basically affects menus which are not movable, and not
resizable but have that flag set because they take input anyway.
This change shows the regular cursor over menu windows even
in window management mode when ctrl+alt are held down.

Also rename _SetNowAllowedCursor to _SetNotAllowedCursor, typo.


# 5a0b5a5d 24-Jan-2013 John Scipione <jscipione@gmail.com>

Update the mouse cursor in a couple more cases


# 65b9235d 24-Jan-2013 John Scipione <jscipione@gmail.com>

Fix gcc4 build by adding parens


# feb6002c 24-Jan-2013 John Scipione <jscipione@gmail.com>

Look at resize flags when setting resize arrows


# 3071859c 16-Jan-2013 John Scipione <jscipione@gmail.com>

Update ctrl+alt window management functionality.

* Use double-headed resize arrows instead of single headed.
* Remove border highlighting, it is replaced by mouse cursor.
* Don't enter drag state if window is not movable.
* Make Ctrl+LMB resize window border like RMB.
* Define other 3 corners in default decorator and resize by them
as well
* Update mouse cursor to show arrows when over borders and control
is held.
* Set the move cursor on ctrl+alt if the window is movable.
* Set cursor to not allowed on ctrl+alt if window is not movable.
* Set the cursor to appropriate resize arrow on ctrl+alt+RMB.
* Set the cursor to not allowed on ctrl+alt+RMB if not resizable.
* Make window go to back when you right-click or ctrl+click
on the tab. It doesn't lose focus though unlike BeOS R5.


# f4f30311 24-Jul-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Cleanup app server directory a bit by creating a font and a decorator sub folder.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42483 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f4f30311aab9b2768d3ef7e590f85598298edfe0 24-Jul-2011 Clemens Zeidler <clemens.zeidler@googlemail.com>

Cleanup app server directory a bit by creating a font and a decorator sub folder.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42483 a95241bf-73f2-0310-859d-f6bbb57e9c96