Re: E (cvs) and gnome





On Tue, 7 Sep 1999, Jason A. Pfeil wrote:

> I just recently compiled E from CVS and was disturbed by the fact that it
> traps all of the mouse clicks on the root window that used to be passed
> through to gnome (and gmc in particular).  I read from Raster a while back
> that he didn't think that gmc should capture clicks in the root window.
> Does anyone know a configuration (compile- or run-time) option that will
> allow you to let certain mouse clicks on the root window be captured by an
> external program?
> 
> Thanks.


All you have to do is comment out some sections in keybindings.cfg and E
works like it should.

A fragment of mine (this is only the first part, don't copy it over your
existing keybindings.cfg!!!):

Cheers,
	Dirk-Jan.


-----------------


#include <definitions>

__E_CFG_VERSION 0

/*
 * Global button bindings... specially named actionclass that applies to
 * all client windows - so you can bind "alt - left click" to move the
 * window, raise it or something.... 
 */

__ACLASS __BGN
  __NAME BUTTONBINDINGS
  __TYPE __TYPE_NORMAL
  __EVENT __MOUSE_PRESS
  __BUTTON 1
  __MODIFIER_KEY __ALT
  __ACTION __A_MOVE
  __NEXT_ACTION
  __EVENT __DOUBLE_CLICK
  __BUTTON 1
  __MODIFIER_KEY __ALT
  __ACTION __A_SHADE
  __NEXT_ACTION
  __EVENT __MOUSE_PRESS
  __BUTTON 2
  __MODIFIER_KEY __ALT
  __ACTION __A_RESIZE
  __NEXT_ACTION
  __EVENT __DOUBLE_CLICK
  __BUTTON 2
  __MODIFIER_KEY __ALT
  __ACTION __A_MAX_HEIGHT available
  __NEXT_ACTION
  __EVENT __MOUSE_PRESS
  __BUTTON 3
  __MODIFIER_KEY __ALT
  __ACTION __A_SHOW_MENU "named WINOPS_MENU"
__END

/* what mouse presses do on the desktop background .... */
__ACLASS __BGN
  __NAME DESKBINDINGS
  __TYPE __TYPE_NORMAL

   /* DJCB: use button 1 for  rubberbanding GNOME */
  /*__EVENT __MOUSE_PRESS
  __BUTTON 1
  __MODIFIER_KEY __NONE
  __ACTION __A_SHOW_MENU "named APPS_SUBMENU"
  __NEXT_ACTION */

  __EVENT __MOUSE_PRESS
  __BUTTON 2
  __MODIFIER_KEY __NONE
  __ACTION __A_SHOW_MENU "named ROOT_2"
  __NEXT_ACTION
  __EVENT __MOUSE_PRESS
  __BUTTON 2
  __MODIFIER_KEY __ALT
  __ACTION __A_SHOW_MENU "taskmenu"
  __NEXT_ACTION
  __EVENT __MOUSE_PRESS
  __BUTTON 2
  __MODIFIER_KEY __CTRL
  __ACTION __A_SHOW_MENU "deskmenu"
  __NEXT_ACTION
  
/* DJCB: use button 3 voor GNOME */
/*__EVENT __MOUSE_PRESS
  __BUTTON 3
  __ALLOW_ANY_MODIFIER_KEYS __ON
  __ACTION __A_SHOW_MENU "named CONFIG_SUBMENU"
  __NEXT_ACTION */






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]