Commit Graph

698 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri be4f4af8a9 Do not evaluate deleted borders.
This bug was showing when fast toggling between advanced<->basic in
config dialogs.

Note, however, that there are a remaining alien bug with fast
toggling. It's aborting due adding evas object as member of another
from other canvas, which is not allowed. I tried to debug it and it's
REALLY weird, the advanced or basic create_widgets() are being called
twice, from inside the same function, like if the create_widgets() was
calling itself, but the code do not do that, I traced some that would
happen from e_widget_button_add()!!! Like if we had threads of were
being preempted from nowhere, really strange... seems like a stack
corruption :-(


SVN revision: 41038
2009-06-15 01:33:41 +00:00
Gustavo Sverzut Barbieri 7120b06df7 proper alignment when there is non-autohide shelves.
SVN revision: 40384
2009-04-25 18:49:39 +00:00
Gustavo Sverzut Barbieri be6a6ba639 improvements to e_border positioning.
* e_border_center() will center window in a better way, accounting
   the shelves/panels instead of just centering on the screen. This is
   better and most noticeable if screens are small and a big shelf on
   just one edge.

 * e_border_move_without_border(), e_border_resize_without_border()
   and e_border_move_resize_without_border() will assume the given
   values do not acount border/decorations (client_inset) and will do
   automatically. As stated in documentation, this is specially useful
   when it is a new client and thus have no decorations when it is
   positioned, when decorations are added window would be placed at
   wrong position. One can try this by adding efwin window overflowing
   the bottom-right corner, closing it and when reopen fileman would
   try to make it inside the screen, this would not work well with
   part of the window still being outside.

 * e_win_move(), e_win_resize() and e_win_move_resize() will now use
   new e_border functions.



SVN revision: 40307
2009-04-23 02:24:59 +00:00
Vincent Torri 0e6ad24c60 remove useless subwindow code
SVN revision: 39975
2009-04-11 08:33:44 +00:00
Vincent Torri 7506655ca9 ecore_x_window_del -> ecore_x_window_free
SVN revision: 39924
2009-04-10 09:57:57 +00:00
Carsten Haitzler 634485d2bc and properly hide windows that ask to be iconified on start!
SVN revision: 39853
2009-04-04 07:18:55 +00:00
Carsten Haitzler 834952304f ghost windows-- ?
SVN revision: 39655
2009-03-23 13:39:24 +00:00
Hannes Janetzek 4598a292ed use ECORE_EVENT_MODIFIER
SVN revision: 39538
2009-03-17 21:55:33 +00:00
Cedric BAIL 46e8efcd8c Let me introduce you to Ecore_Input. The idea is to share as much as possible event
between all ecore graphic engine to ease porting of application and reduce the amount of
specific code per engine. This patch does just that.
	All your application should continu to work has previously, if it's not the case
please report any new behaviour regarding mouse and keyboard.


SVN revision: 39505
2009-03-16 16:24:43 +00:00
Davide Andreoli eb2d1db1dc Icon rename finished. Now we have a fully compliant icon theme :)
now I'm going to fix E-MODULE-EXTRA...


SVN revision: 39495
2009-03-15 17:41:46 +00:00
Viktor Kojouharov 4d1fea4705 add fullscreen state remember
SVN revision: 39414
2009-03-08 10:35:05 +00:00
Davide Andreoli f64a04ec46 Make a new function:
e_util_icon_theme_set(Evas_Object *obj, const char *icon)
to use in place of e_util_edje_icon_set.
The new function (as it works for menu) search the icon in E theme and FDO themes
according to the config option.

SVN revision: 39371
2009-03-04 22:29:23 +00:00
Viktor Kojouharov 2a1c4aaa9c reduce the count on del
SVN revision: 39317
2009-03-01 21:32:09 +00:00
Viktor Kojouharov 82404b049e option to restrict mouse desktop flipping if there are fullscreen windows
SVN revision: 39271
2009-02-27 18:36:08 +00:00
Carsten Haitzler 32f6b5c391 this apparently fixes some fullscreen maximising issues
SVN revision: 38461
2009-01-05 13:07:19 +00:00
Cedric BAIL 773d102291 This commit is huge. I did test it a lot on my computer, and it run fine here.
But is so big i fear i could have broken some piece of code. So report any wrong
behaviour to me (cedric on #edevelop).

So moving e17 and efreet to eina_hash. With a little efreet API break so they
must come together.


SVN revision: 38185
2008-12-17 15:33:43 +00:00
Carsten Haitzler f4afa96251 gtk and qt have bizarrely wrong logic. for every configure request they
EXPECT a configurenotify to match. this is wrong. wm's are free to ignore
configurerequests if they liek - and dont have to thus send
configurenotifies...



SVN revision: 37922
2008-12-04 10:07:16 +00:00
Carsten Haitzler a76420657d patches - see mail.
SVN revision: 37618
2008-11-14 10:22:57 +00:00
Carsten Haitzler e9b740c27d use the loop_time - better synced anim timepoints and less overhead on
gettimeofday :)



SVN revision: 37393
2008-11-02 02:36:10 +00:00
Sebastian Dransfeld 98d487c8df Clean up drag on border del.
SVN revision: 37245
2008-10-27 14:14:42 +00:00
Sebastian Dransfeld 45f4519087 Create global drag object for border so we can manipulate it.
SVN revision: 37241
2008-10-27 13:32:08 +00:00
Sebastian Dransfeld 92ff3dab37 Fix callback for list sorting.
SVN revision: 37202
2008-10-27 07:33:21 +00:00
Sebastian Dransfeld 6dc64c5559 Correct callback for eina_hash_foreach.
SVN revision: 37169
2008-10-26 20:48:44 +00:00
Gustavo Sverzut Barbieri acd223581c Enforce step limit while resizing windows with keyboard.
Patch by Ivan.


SVN revision: 37108
2008-10-26 02:04:47 +00:00
Jaime Thomas ae3fde694a Keyboard resizing should still respect max/min size.
SVN revision: 37005
2008-10-22 23:15:32 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
Cedric BAIL 3d6749983b Switch to eina_stringshare.
This could also change the usage of string share in E17.



SVN revision: 36679
2008-10-15 15:12:56 +00:00
Carsten Haitzler 1d3533c12a add option to disable cursor and diasble the idle cursor anim.
SVN revision: 36313
2008-09-29 14:01:30 +00:00
Gustavo Sverzut Barbieri cd2f6c6d44 keyboard move/resize no accept modifiers.
* Control: value * 2
 * Alt: value / 2



SVN revision: 36302
2008-09-28 23:29:21 +00:00
Gustavo Sverzut Barbieri 77e8ea0a36 Keyboard move/resize: show popup when action begins and hide it on timeout.
* Popup is now displayed when the action begins instead of the first move.
 * Popup is hidden when timeout expires.



SVN revision: 36301
2008-09-28 23:06:14 +00:00
Carsten Haitzler b370f8315f remove/comment out printfs and remove fixme (to be removed) fake mouse up funcs
SVN revision: 36229
2008-09-25 01:34:39 +00:00
Carsten Haitzler 0b625413e9 fix remember to actually rememebr skip* stuff and save it
SVN revision: 36227
2008-09-25 01:01:07 +00:00
Gustavo Sverzut Barbieri 51cefe3402 e/border: make keyboard move and resize actions configurable.
No GUI for that yet, but it's already exported in e_config so one can
write such in future.



SVN revision: 36134
2008-09-20 15:53:28 +00:00
Carsten Haitzler 0b0dfa93a7 and - that vlc fullscreen bug. found. fixed. but vlc's x11 code is really
nasty. does some utterly evil things. should i send off some suggestions to
them? (like 1. dont reparent the window in xcommon.c line 217, dont play with
wm focus policies in xcommon.c line 2269 - just dont send the
_NET_ACTIVE_WINDOW, you shouldnt' need to (wm should make the focus be
correct itself and wm's that don't should get a freindly reminder from users
when they dont remain consistent with focus policy), and then... xcommon.c
2317 remove the do {} while loop - i can think of many reasons the wm may
choose not to map your client window (yet - or ever), so this will never work
"reliably" always. just put in an XSync(p_vout->p_sys->p_display, False);
instead to force the x pipe to flush and do everything you asked before
returning control to the code and thus avoiding any badaccess stuff from x).



SVN revision: 36093
2008-09-19 09:44:07 +00:00
Gustavo Sverzut Barbieri ba3e4fc00d Move and Resize using keyboard.
These new shortcuts will trigger move and resize modes that are
interactive using keyboard. Use arrows to move or resize (left/top =
shrink, right/bottom = enlarge), presse Escape to abort, Return or
mouse click or timeout to confirm.

This should work like WindowMaker or Kwin.

TODO:
 - add customizable thresholds.
 - figure out what to do with the old action "Move" and "Resize",
   they're really useless for keyboard, just works with mouse.




SVN revision: 36010
2008-09-16 00:11:26 +00:00
Gustavo Sverzut Barbieri 35b67bef0b e_border_resize() now updates the popup.
SVN revision: 35986
2008-09-14 20:31:03 +00:00
Carsten Haitzler bfc017e352 fix focus set loop.
SVN revision: 35928
2008-09-10 12:42:39 +00:00
Carsten Haitzler bf9ed932f9 some debugging printfs - also avoid feeding focus back to the last focused
window if its one of a set of types.



SVN revision: 35726
2008-08-29 03:30:45 +00:00
Carsten Haitzler dbaf8091ff emove debug printf's
SVN revision: 35676
2008-08-26 04:12:41 +00:00
Carsten Haitzler 6c0718f75f add soem debugging.
SVN revision: 35675
2008-08-26 03:04:07 +00:00
Carsten Haitzler bec9b880b0 1. set focuse on activate in illume
2. fix focus set when not visible



SVN revision: 35673
2008-08-26 02:21:51 +00:00
Carsten Haitzler b6089acc00 fix self-feeding grab + event and in/out loop!
SVN revision: 35652
2008-08-25 08:35:41 +00:00
Carsten Haitzler 286b140ea1 and only put border on latest focused once it actually is focused.
SVN revision: 35650
2008-08-25 04:34:19 +00:00
Sebastian Dransfeld 3199439ed8 fix against efreet API breakage
SVN revision: 35492
2008-08-14 20:49:37 +00:00
Carsten Haitzler 99fc29f7aa and respect focus lock out flag more
SVN revision: 35431
2008-08-11 01:22:33 +00:00
Carsten Haitzler 0fb524dc8c remove debugging! works!
SVN revision: 35375
2008-08-07 07:08:16 +00:00
Carsten Haitzler 235d4f9810 oops. missed case.
SVN revision: 35374
2008-08-07 06:45:02 +00:00
Carsten Haitzler bd78344930 try this...
SVN revision: 35373
2008-08-07 06:16:35 +00:00
Carsten Haitzler d9a47f051c add debugging... nasty focus issue to find...
SVN revision: 35372
2008-08-07 06:00:09 +00:00
Carsten Haitzler e465ff1575 more testing...
SVN revision: 35371
2008-08-07 05:11:45 +00:00