Commit Graph

766 Commits

Author SHA1 Message Date
Christopher Michael 1d59137b0e Add __UNUSED__ where needed.
Fix __UNUSED__ to be after the variable.
Remove unused variables.



SVN revision: 51301
2010-08-18 17:26:44 +00:00
Leif Middelschulte 935774e161 From: Leif Middelschulte <leif.middelschulte@gmail.com>
patch for ecore-x xrandr 1.3 support - breaks previous api. final api
change (i know about) before we go alpha. in to svn we go.



SVN revision: 51109
2010-08-14 10:21:03 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Carsten Haitzler 81963af8d8 respect hidden comp state in border infra.
SVN revision: 50806
2010-08-04 06:24:06 +00:00
Carsten Haitzler 33eb15abc8 be like other compositors. work around the unmap thing and never unmap
if we have a compositor. just "mark" as unmapped and leave there.
pretend we are unmapped. disable events and stuff on the border to get
the behaviro right too so stacking or positioning is never affected.



SVN revision: 50761
2010-08-03 09:03:58 +00:00
Christopher Michael 5a7b450c04 Patch from rubenbb to fix ticket #562 (dpms being turned off by
fullscreen windows).

I modified this patch slightly. Removed some unused handlers. limits.h
is already included in e.h, so no need to reinclude it. Fixed formatting.



SVN revision: 50356
2010-07-18 19:06:00 +00:00
Andreas Volz 31663d7051 temoporary limited maximize algorithm
SVN revision: 50207
2010-07-12 22:12:02 +00:00
Andreas Volz c0a5d4e794 fix to prevent lost windows if resizing a window to offscreen coordinates
SVN revision: 50133
2010-07-08 21:05:34 +00:00
Andreas Volz 6e35928dea added two new configuration options for the geometry_manipulation conf plugin:
int         geometry_auto_move; // GUI
   int         geometry_auto_resize_limit; // GUI

This does influence the configure_request algorithm in the way that the user could disable the window 
geometry move and resize feature that is useful for e.g. Gnome fileselector or gnome-terminal tabs.
There was a use case on the list where this was not nice so I created an option to disable it. If one thinks
a special e.src shouldn't activate this feature by default, please change it.

SVN revision: 50083
2010-07-06 19:49:48 +00:00
Andreas Volz c86c1144fe req_window_oversize:
If a window likes to open with bigger 
initial coordinates bigger than the screen 
(minus ignore zones like not overlap allowed shelfes) 
the window should be sized to the maximum allowed size.

SVN revision: 50028
2010-07-04 19:10:09 +00:00
Andreas Volz c153c4b86e req_maximize_ignore_zone:
If a window likes to maximize while it stays below a ignore zone (like not overlap allowed shelfes) it should be maximized only in the overlap allowed zone. At returning to normal state it should be placed in the original position.

SVN revision: 49942
2010-06-29 21:04:34 +00:00
Andreas Volz bb3501c1c8 req_window_resize_move:
If a window resizes itself without border interaction it's moved to the next available coordinates which aren't covered by ignore zones like not overlap allowed shelfes.


SVN revision: 49910
2010-06-27 20:48:43 +00:00
Andreas Volz ce88316472 req_window_offscreen:
If a window likes to open with initial offscreen coordinates E should move it to the nearest onscreen coordinates.

req_window_ignore_zone:
If a window likes to open with initial coordinates in a window ignore zone (like not overlap allowed shelfes) if should be moved to the next allowed coordinates.



SVN revision: 49909
2010-06-27 20:41:52 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Andreas Volz cb1d2785fa temporary comment my latest change here.
while working with it I got some strange window placements. I need to analyze these situations before I release it to the public...


SVN revision: 49673
2010-06-14 19:44:56 +00:00
Andreas Volz 8610b9eaa9 Based on an IRC discussion I changed the smart placing mechanism to hit also if icccm.request_pos is true. Many Gnome based application try to start with coordinates below the shelfes and E allows it. This smoothly moves this windows away is smart placement is active. It's not as aggressive as Metacity, but now usable with vertical shelfes. If you don't like this change hit me and discuss it again on the list.
SVN revision: 49654
2010-06-12 12:54:18 +00:00
Gustavo Sverzut Barbieri 1c3afc74b2 Emit events when windows become or leave fullscreen.
SVN revision: 49258
2010-05-28 21:37:42 +00:00
Gustavo Sverzut Barbieri 5e42f12ffb if fullscreen border was moved between desks, update desk fullscreen count.
just happened to notice this possible error, no idea if paths could
really trigger it, but was simple enough to fix.



SVN revision: 49249
2010-05-28 18:54:25 +00:00
Jaime Thomas 202a06c9f6 Stop windows from jumping to (0,0) location when resizing using keybindings.
SVN revision: 48316
2010-04-25 18:50:14 +00:00
Christopher Michael 80c91b8d19 As per k-s, remove fix from e_config_dialog and instead, call e_border_show
inside uniconify.



SVN revision: 48138
2010-04-19 17:27:45 +00:00
Sebastian Dransfeld fadcb01bcb efreet: better naming
SVN revision: 48034
2010-04-15 19:21:03 +00:00
Sebastian Dransfeld 7c9c49eabc Make sure we free desktop before getting new
SVN revision: 47518
2010-03-27 20:53:41 +00:00
Sebastian Dransfeld fed2a494e1 Listen to cache update event
SVN revision: 47476
2010-03-26 05:34:10 +00:00
Sebastian Dransfeld 2277270e9c free desktop on border removal
SVN revision: 47474
2010-03-26 05:33:48 +00:00
Sebastian Dransfeld 346707729c Use efreet_desktop_get
We want to get a cached version which submits events for bd->desktop

SVN revision: 46845
2010-03-03 22:10:34 +00:00
Carsten Haitzler 07c6e7788d oooold patch from manio! in!
SVN revision: 46807
2010-03-03 00:32:39 +00:00
Carsten Haitzler fd7e0c09df hmmm something screwed with init done events.. remove 1 undone.
SVN revision: 46784
2010-03-02 12:31:20 +00:00
Sebastian Dransfeld cdd86db6ac Eet cache for efreet desktop
SVN revision: 46726
2010-03-01 18:16:32 +00:00
Christopher Michael 98e95cc950 Comment whole section as we never make use of it anyway.
SVN revision: 46674
2010-03-01 01:33:44 +00:00
Christopher Michael 3bc257bf8d Fix up formatting.
SVN revision: 46625
2010-02-27 22:51:19 +00:00
Carsten Haitzler 4513a24797 no more round trips! bad bad bad!
SVN revision: 46459
2010-02-25 12:26:10 +00:00
Christopher Michael 4461057e7a Add illume quickpanel zone fetch to border structure.
SVN revision: 46293
2010-02-19 03:21:30 +00:00
Christopher Michael 30b60b5bd3 No point in running find_by_client_window here as we do nothing with it
anyway.



SVN revision: 46104
2010-02-11 22:05:14 +00:00
Sebastian Dransfeld f098d9df85 Only create edge windows which have bindings
Previously all windows always existed, and edge bindings showed/hided
windows as needed. And e_zone_flip_win_disable/ e_zone_flip_win_restore
f**k'ed this up.

Will fix bug #483 soon.

SVN revision: 45366
2010-01-20 21:30:17 +00:00
Sebastian Dransfeld e64e721ff2 Make sure that we always resize on keypress
When using alt on a window which resizes in steps, we could get 0
movement. Fixes bug #338.

SVN revision: 45339
2010-01-19 19:46:09 +00:00
Sebastian Dransfeld b7f399d159 make clang happy
SVN revision: 45153
2010-01-14 23:48:59 +00:00
Sebastian Dransfeld 6136509b9f make clang happy
x and y are used later and might be garbage

SVN revision: 45150
2010-01-14 23:48:26 +00:00
Christopher Michael df9e501b10 No point in running find_by_client_window here, we don't use the border
anyway.



SVN revision: 45057
2010-01-12 03:33:34 +00:00
Carsten Haitzler 4ed5747b83 dont show ecore-evas of internal windows b4efore border evals! do it there!
SVN revision: 44995
2010-01-08 23:08:07 +00:00
Christopher Michael f435c770e4 Add illume atoms to e_border struct.
Add code to fetch illume atoms on border map & property changes (if needed).
    - This avoids a lot of round-trip calls to X when running illume2.
Remove whitespace & fix some formatting.
Use PATH_MAX instead of 4096.
Update illume2 code to use new border atoms and avoid round-trip X calls.



SVN revision: 44879
2010-01-04 18:15:56 +00:00
Christopher Michael 69581f2d37 A poller is not a timer. Use proper variable type, and proper delete function.
SVN revision: 44689
2009-12-23 14:04:22 +00:00
Christopher Michael 0007331545 Check that zone exists first before trying to use it.
No need to set border zone twice here.



SVN revision: 44640
2009-12-21 20:54:09 +00:00
Sebastian Dransfeld bda24a1f0d Make clang happy
SVN revision: 44230
2009-12-06 19:42:41 +00:00
Christopher Michael fc7e636c1f just some formatting I noticed while reading code.
SVN revision: 44205
2009-12-05 23:36:42 +00:00
Hannes Janetzek ad1669b3ec keep windows in current zone when it requests to be outside an existing zone
SVN revision: 43271
2009-10-25 15:58:19 +00:00
Hannes Janetzek 984c884fd6 fix pending_mode_resize
SVN revision: 42882
2009-10-05 03:05:10 +00:00
Hannes Janetzek cf7cfc3b58 cleanups and updated comment on sync.wait
SVN revision: 42837
2009-10-01 10:22:27 +00:00
Carsten Haitzler 09c4596276 from jeffdameth: fix sync protocol handling - re-enable it.
SVN revision: 42834
2009-10-01 08:45:24 +00:00
Hannes Janetzek 46c1c6000b fix unmaximize in smart and fill mode.
- move policy handling of move/resize to the externally accessible functions


SVN revision: 42751
2009-09-28 01:48:26 +00:00
Hannes Janetzek 0033fecdef reduce continous debug output for deleted borders
SVN revision: 42746
2009-09-27 22:22:39 +00:00