On Sun, Sep 14, 2008 at 2:07 AM, Gustavo Sverzut Barbieri
<[EMAIL PROTECTED]> wrote:
> On Sun, Sep 14, 2008 at 1:53 AM, Gustavo Sverzut Barbieri
> <[EMAIL PROTECTED]> wrote:
>> Guys,
>>
>> I really miss a feature from other window managers, at least KWin and
>> WindowMaker, that is the option to move and resize windows using just
>> the keyboard. Basically you activate a shortcut to enter the "action
>> mode", in which you use the keyboard arrows to move or resize the
>> window and then you hit "Enter" to confirm or "Escape" to rollback, if
>> you wait some seconds it will also confirm, since it's not a dangerous
>> option, it is more intuitive (you don't even need to know you need to
>> confirm)... if you say "Oh, sh*t" then you usually hit Escape and
>> you'll learn it will rollback.
>>
>> This is implemented in the attached patch. It's very rough and needs
>> some review, but it works nicely, except:
>>  - we'll have 2 items in the bindings for each action: "Move" and
>> "Move with keyboard", etc.
>>  - offsets are not configurable, they're fixed in 5px in each
>> direction for each operation;
>>  - timeout is not configurable, it's 5s;
>>  - no geometry window while moving or resizing windows.
>>
>> The first point is really easy to remove, but then I guess it would
>> impact the mouse bindings, anyone with more experience in that can
>> confirm?
>>
>> The second and third are easy to add, but maybe it's too much. I'll
>> add if required, but I want to avoid too much useless options going
>> in.
>>
>> The last point I haven't looked at it, but I guess i can learn it from
>> existing code. hints are welcome, of course.
>
> Ok, 4th point done, also fixed the check for locks (was using stack
> due copy&paste) and added that check on the api entrance as well.
>
> PS: funny that in less than 15min after mailing this at least 2 guys
> replied to me on IRC saying they liked the idea! Awesome :-)

Ok, found one issue but no clue on how to fix it: on the first
move/resize the first move/resize popup is at a wrong position...
e_{move,resize}_begin() is correct, the values are correct, just the
position of the popup is off.


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: [EMAIL PROTECTED]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to