Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
xfwm4_changes [2007/05/28 02:54]
vandry created
xfwm4_changes [2010/10/02 17:26] (current)
Line 26: Line 26:
  
 The extra pixmaps I have created for the B5 theme are available as [[http://​www.tzone.org/​~vandry/​Xfce/​xfwm4-top_resize-theme_additions.B5.tar.gz|an archive]] or as [[http://​ww.tzone.org/​~vandry/​Xfce/​B5/​xfwm4/​|indidivual files]]. Add these files to your theme directory (all existing files should be untouched). The extra pixmaps I have created for the B5 theme are available as [[http://​www.tzone.org/​~vandry/​Xfce/​xfwm4-top_resize-theme_additions.B5.tar.gz|an archive]] or as [[http://​ww.tzone.org/​~vandry/​Xfce/​B5/​xfwm4/​|indidivual files]]. Add these files to your theme directory (all existing files should be untouched).
 +
 +--vandry (2007-05-28)
 +
 +===== Button actions patch =====
 +
 +In **xfwm4**, the actions associated with the mouse buttons are:
 +
 +  * Button 1 on title: Raise the client. Move the window if dragged. Special action if double clicked.
 +  * Button 1 on edge: Raise and resize.
 +  * Button 2 on title: Lower the window.
 +  * Button 2 on edge: Move the window if dragged. Lower the window if clicked.
 +  * Button 3 on title: Move the window if dragged. Otherwise pop up the menu //but only when the button is released//!
 +  * Button 3 on edge: Resize the window.
 +
 +I found these conventions to be quite confusing and inconsistent. For example: to move the window you have to use button 3 if you drag the title but button 2 instead if you drag another edge -- or you can use button 1 but then the window will be unavoidably raised as a side effect. And the popup menu has just plain incorrect behaviour: it finally appears //after// you release the mouse button.
 +
 +Unfortunately the mapping is not configurable,​ but I thought the following would be much better:
 +
 +  * Button 1: [[http://​en.wikipedia.org/​wiki/​DWIM|DWIM]] (execute the most likely action)
 +    * If you drag the title bar: move
 +    * If you drag another part of the frame: resize
 +    * If you click only: raise window
 +  * Button 2 click: raise, or lower if already raised.
 +  * Button 2 drag: Move Window
 +  * Button 3 press: Popup menu (this is, after all, what Button 3 is used for in just about every application).
 +
 +My proposed bindings will certainly not satisfy everyone any more than the default bindings suited me (in particular, I think many people do not care for the ability to easily move windows without raising them). That is why I would like to make the mouse bindings configurable. But for the moment I only wrote a [[http://​www.tzone.org/​~vandry/​Xfce/​xfwm4-4.4.1-button_actions.patch|patch]] to implement these bindings so I could comfortably use Xfce.
 +
 +--vandry (2007-05-28)