Bug 6352 - New mousebind action that allow to define "activate only" click on the inactive window
Status: NEW
Alias: None
Product: Openbox
Classification: Unclassified
Component: general
Version: unspecified
Hardware: PC Linux
: P3 normal
Assignee: Dana Jansens
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2015-01-09 14:03 EST by Alexey Korop
Modified: 2015-01-09 14:03:52 EST
0 users

See Also:


Attachments
New "ClearClick" mousebind action (2.55 KB, patch)
2015-01-09 14:03 EST, Alexey Korop

Description Alexey Korop 2015-01-09 14:03:52 EST
Created attachment 3507 [details]
New "ClearClick" mousebind action

Some people don't like window autoraise by mouse hover and prefer to activate a window by a click.
  But sometimes the click is not safe - f.e. in a text editor a click drop the text selection and move the cursor.
  In KDE exist mode when the first click on the inactive window activate this window and NOT passed to the application. In the openbox I don't know how to make this.
  Proposed patch bring in new mousebind action "ClearClick". The mouse event not passed to the application if this action present in the action list.
  Using this new action "activate only" click may be defined as follow:

    <context name="Client">
      <mousebind action="Press" button="Left">
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="ClearClick"/>
      </mousebind>