Bug 14016 - Compiz Scale plugin should select window if none currently selected
Summary: Compiz Scale plugin should select window if none currently selected
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: App/compiz (show other bugs)
Version: 7.2 (2007.02)
Hardware: All All
: medium minor
Assignee: David Reveman
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-10 15:45 UTC by dmenest-alliztdf
Modified: 2008-02-23 08:28 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Sample 1-2 line patch to solve the problem (584 bytes, patch)
2008-01-10 15:49 UTC, dmenest-alliztdf
no flags Details | Splinter Review

Description dmenest-alliztdf 2008-01-10 15:45:33 UTC
The Scale Window Title Filter plugin from Compiz Fusion interacts with the Scale plugin by updating the Scale plugin's CompMatch and then telling it to relayout the slots (via the scaleRelayoutSlots function).  If the new CompMatch filters out the currently selected window, then no new window is selected, and the user must move the mouse or press an arrow key to select a window.  The Scale plugin should ensure that some window remains selected after a relayout.
Comment 1 dmenest-alliztdf 2008-01-10 15:49:37 UTC
Created attachment 13655 [details] [review]
Sample 1-2 line patch to solve the problem

This is how I solved the problem myself.  I called scaleMoveFocusWindow (s, 0, 0) in scaleRelayoutSlots.  This ought to update the selected window if none is currently displayed.

I'm not too familiar with the code base, but this is as simple as I could make the patch.
Comment 2 m.wissenbach 2008-02-18 12:44:25 UTC
Just want to say that I am also interested in this being solved!
Comment 3 Danny Baumann 2008-02-23 08:28:12 UTC
Fixed in git head of compiz and scalefilter.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.