Commit Graph

694 Commits

Author SHA1 Message Date
Carsten Haitzler dc88eeb646 handle bizarre focus properties. ie take_focus - but a window that never
actually takes focus...


SVN revision: 35365
2008-08-06 22:57:37 +00:00
Carsten Haitzler 9410a6265c fix java app focus.
SVN revision: 35317
2008-08-03 21:54:49 +00:00
Carsten Haitzler 46675b10c1 use ecore_x vkbd wrappers now.
SVN revision: 35209
2008-07-25 02:09:28 +00:00
Carsten Haitzler a582ec3e78 fix propery event for windows.
SVN revision: 35198
2008-07-23 22:10:10 +00:00
Miculcy Brian 010994d27d Reenable pointer warp - the fixme config option to disable it is already there:
config panel->windows->window focus->advanced->"slide pointer to a new focused window"


SVN revision: 35175
2008-07-20 20:21:03 +00:00
Miculcy Brian 50ecadbb80 Fix bugzilla id 398 - Unmaximize problems with xinerama.
SVN revision: 35174
2008-07-19 21:52:44 +00:00
Carsten Haitzler 77e26d9daa add a way to force e to not remember a window of its own .
SVN revision: 35139
2008-07-17 14:01:36 +00:00
Carsten Haitzler 51c5110b2c vkbd hints...
SVN revision: 35127
2008-07-16 17:06:23 +00:00
Carsten Haitzler c5a6384cf5 handle forced resized in about dialogs
SVN revision: 35037
2008-07-08 19:41:42 +00:00
Carsten Haitzler 85bdd7b5b8 use the cancel and turn off fakes... leave code - just complain.
SVN revision: 34609
2008-05-19 04:15:47 +00:00
Carsten Haitzler 9a417fc4b4 focus stack broken in focus new window and click to focus. fix.
SVN revision: 34596
2008-05-18 14:17:39 +00:00
Sebastian Dransfeld d558710860 formatting
SVN revision: 34396
2008-04-28 16:10:05 +00:00
Carsten Haitzler b1c69d3f5f put in some place markers in efm for categories in a fm widget - nothing
there currently but the entry, and fix focus of iconified windows. broke it
before.


SVN revision: 34389
2008-04-28 10:50:36 +00:00
Carsten Haitzler 7f2c0926ca dont focus iconified windows! that's just silly!
SVN revision: 34372
2008-04-26 06:41:48 +00:00
Carsten Haitzler 1186949fbc cedrics for web
SVN revision: 33971
2008-03-09 16:43:58 +00:00
Carsten Haitzler 1cf57c6566 support qtopia hint flags and also multiple netwm types
SVN revision: 33952
2008-03-07 11:51:31 +00:00
Carsten Haitzler 5551c78397 revert patch. never tested by submiter.
SVN revision: 33950
2008-03-07 10:35:58 +00:00
Carsten Haitzler 7cc26d7eea focus - deny entirely in any visual and technical way, if asked.
SVN revision: 33943
2008-03-06 10:17:39 +00:00
Carsten Haitzler db4a8f8ba4 patch from petet can de werken with sticky signals and maximize
SVN revision: 33925
2008-03-05 02:54:30 +00:00
Miculcy Brian 0c3c93f9ad Fixed: Pointer sliding (focus) shouldn't happen when dragging in...
Bugzilla: 380


SVN revision: 33684
2008-02-06 00:03:23 +00:00
Carsten Haitzler 4c72ca99bd no need to strdup to "" for name and class and machne - NULL is acceptable.
SVN revision: 33590
2008-01-24 23:59:16 +00:00
Sebastian Dransfeld 44f1e31aa1 Clean up unmaximize.
SVN revision: 33471
2008-01-13 18:53:58 +00:00
Sebastian Dransfeld bcd8b9c322 Fix unmaximize (bug #176)
SVN revision: 33470
2008-01-13 18:27:33 +00:00
Carsten Haitzler b70f5a0ecc e:
1. configure/build changes to allow cross-compiling painlessly
2. pager module namespace changes - this was still dirty afdter the namespace
cleanup, so clean it up
3. add a powersave subsystem - doesnt have an "automatic" way to turn on and
off right now, this i think is best provided by modules (that do things like
monitor acpi status's (eg close lid of laptop), AC power status etc. etc.
this allows e to nicely defer "power" expensive actions to avoid disk
spinups etc.
4. move to use the new ecore poller system  - discussed long ago as part of
power management/saving issues. now it exists
5. add a canvas idle flush call that helsp cope with the new shm greedy
software x11 engine stuff
6. use the new powersave subsystem where appropriate
7. fix non-zeroed/initted memory access in e_fm_main
8. fix mem leak for e menus
9. remove ipc handlers for changed/removed config values
10. use animaotr not timer for menu scrolls - then menu scrolls obey the fps
config
11. fix up timer/poll happienss of cursor idle stuff
12. remove avoid damage from popups for now - causing problems
13. change battery and temp readouts to b e shorter so they fit
14. pager can emit signals on focus change for mini-windows now
15. temperature module now uses a slave process and uses stdin/out to talk to
it and get output - this makes e smoother as in my expereicne i found getting
the temp on my laptop actually took like 200ms so e "hang" for 200ms while
reading the acpi files - so now the subprocess does it and just writesa back
to e when it gets it.

ecore:
1. add ecore_pollers. see the documentation on them in doxygen comments :)
2. fix timers to only go off when they have to - bug there that made e's
select time out a LOT more than it needed to. defensive coding hid the
problem. now fixed. e should be much more power friendly now.
3. formatting/niceness in ecore_exe stuff
4. some comments on comments with SIGIO ideas vs. select
5. add call to be able to add an idle enterer at the start of the list of
them, not just the end (as has been the default)
6. fix ecore_evas to support auto evas idler calls after 0.5 secs of idle in
all canvases - and to do it right
7. if argb destination - set the shape EVENT shape (to mask out events in
transparent regions much like shape does withotu translucency)
8. in ecore_x add support for the event shape

evas:
1. fix cache to work properly and not just always fill up (as it seemed to
like to think cahce useage dropped below 0 when it didnt and thus just
over-fill)
2. software x11 engine now ONLY uses shm segments - no ximages over the
socket. this ximage hack was there to avoid the 2 round trips involved in
setting up an shm image - now i mitigated that wih an shm image cache pool.
it keeps shm images around and repurposes them for new update regions if
appropriate. this means many fewer shm creates (about 1/100th the number) and
since we recycle the memory less 0 memory page filling by the kernel - in the
end, i recorded about a 10-20% speedup over the old software x11 engine.
simple tests i have seen up to 120% speedups. idle flush now does something -
it frees all the cached shm segments. it has a hard-coded limit of 4mb worth
of shm segments (or 32 segments - whichever comes first) to keep around. once
can never complain much about speedups methinks :). also evas will defer sync
until the NEXT frame is written - this means evas can calculate the next
frame of data while x dma's/copies the images to the screen at the same time
(if you hve a dual core or multi-cpu machnike or your xserver is able to use
DMA to copy image data to the screen/video ram then this should see a decent
speedup).


SVN revision: 33448
2008-01-11 07:33:57 +00:00
Eric Schuele 636d2ecf29 Change name for consistency
SVN revision: 33271
2007-12-28 22:58:48 +00:00
Miculcy Brian 73672354b3 Allows to focus a specified window on start using the remember settings.
This is for the users who don't want to give new windows by default the focus.


SVN revision: 33268
2007-12-28 03:18:37 +00:00
Miculcy Brian 38bf25eceb When a window is closed, the focus was given to a window on the wrong desktop. Fixies.
SVN revision: 33267
2007-12-28 02:49:39 +00:00
Eric Schuele beac12a11a Make sure xrandr is present before using it to change the display resolution during a fullcreen operation.
SVN revision: 33262
2007-12-27 06:38:28 +00:00
Miculcy Brian 7bb7bb21dd Allow to disable mouse slide on newly focused windows. This is consistent with sloppy and mouse
focus but some users don't like it much, so here is the option...
Remember: It breaks the focus logic when you for example have sloppy focus mode, pointer over a
window but focus on another window!


SVN revision: 33202
2007-12-22 01:46:22 +00:00
Carsten Haitzler 4a2bc0e79c patches, caching fixes, zone dynamic creation/deletion handling, stuff.
SVN revision: 33127
2007-12-14 05:57:16 +00:00
Sebastian Dransfeld e9e513b86b Fix fullscreen on desktop change (patch by Hannes Janetzek).
SVN revision: 33066
2007-12-09 15:40:14 +00:00
Sebastian Dransfeld 2b60a23b28 formatting
SVN revision: 32948
2007-12-02 20:03:29 +00:00
Sebastian Dransfeld b2bd892200 Fix compile warnings.
SVN revision: 32947
2007-12-02 19:48:09 +00:00
Miculcy Brian 55760113f6 This patch fixes a few sloppy focus problems (mouse was over a window which doesn't have the focus,...). See bug #210.
Great work sECuRE!


SVN revision: 32892
2007-11-26 21:33:23 +00:00
Sebastian Dransfeld fa53aa99e0 Use convenience macro.
SVN revision: 32830
2007-11-22 20:38:35 +00:00
Carsten Haitzler d8b528ac8c send mroe signals.
SVN revision: 32404
2007-11-06 08:46:54 +00:00
Eric Schuele 3470430324 Fix issue with moving from unshaped borders to shaped borders (i.e. Fullscreen -> default).
SVN revision: 32174
2007-10-27 19:30:49 +00:00
Carsten Haitzler ec84855e6a use the shadowed window tree from ecore
SVN revision: 31977
2007-10-05 12:11:55 +00:00
Carsten Haitzler 8b7a332c73 this is ugly - but it reduces trails from dropshadow or desktop redraws on
slow boxes. i had to
1. use bg pixmaps
2. defer window moves until idle enterer that runs AFTER the rendering
3. simple resizes from top-left are handled, but if top-left of frame needs
to mvoe all bets are off and its not deferred anymore.


SVN revision: 31945
2007-10-03 07:13:02 +00:00
Christopher Michael 1f1db34ff6 Remove some efreet printfs.
SVN revision: 31894
2007-09-30 17:44:46 +00:00
Carsten Haitzler a6825b262b move init splash to its own process to make it smoother and able to be up
before the main loop.


SVN revision: 31795
2007-09-24 01:16:47 +00:00
Christopher Michael f211a9b33d Check that border has a "pointer" before trying to delete it. Working on
fixing bug #191.


SVN revision: 31614
2007-09-04 16:28:24 +00:00
Carsten Haitzler 8128302bd5 lok's xdnd work
SVN revision: 31378
2007-08-18 10:37:16 +00:00
Eric Schuele 549fc86562 I suspect this was intended.
SVN revision: 31375
2007-08-18 02:28:40 +00:00
Carsten Haitzler ea0b0dd7d8 winlist -> module!
SVN revision: 31178
2007-08-05 04:41:55 +00:00
Sebastian Dransfeld c0e8135c40 More desktop ref/free.
SVN revision: 30994
2007-07-26 12:38:18 +00:00
Sebastian Dransfeld 105936a464 More desktop ref/free.
SVN revision: 30993
2007-07-26 12:37:52 +00:00
Christopher Michael e0e2492e00 When using "fill available space", take into account if the border is on the
current desk or not. This fixes bug #113.

Fix minor formatting issue in e_border.c


SVN revision: 30915
2007-07-20 08:27:59 +00:00
Carsten Haitzler 2e875d3805 various patches from the devel mailing list in - and fixed where needed.
SVN revision: 30818
2007-07-15 08:28:11 +00:00
Carsten Haitzler 5af386933f add hook to borders to allow layout to b adjusted by modules
add a layout module - good proof of concept


SVN revision: 30517
2007-07-01 15:59:39 +00:00
Carsten Haitzler 34ce52f83c fix another bug - move started while resizienand vice-versa is bad. disallow.
SVN revision: 30296
2007-06-10 04:39:52 +00:00
Carsten Haitzler 1c05002461 fullscreen/maximuze UNmax/full to the current zone if the zone moved while
max/full.


SVN revision: 30294
2007-06-10 04:21:05 +00:00
Carsten Haitzler 1995d88b51 fwin windows have icon right now... :)
SVN revision: 30253
2007-06-05 13:58:05 +00:00
Carsten Haitzler ca9e193c8c load modules later.
SVN revision: 30135
2007-05-29 11:25:54 +00:00
Sebastian Dransfeld dca84398d8 No need to duplicate this function.
SVN revision: 29907
2007-05-07 18:01:43 +00:00
Eric Schuele b0e216db4e Setting max|=E_MAXIMIZE_BOTH after resizing it causes the hints to disagree with the geometry. This was causing max_vert or max_horz windows to come up max_both on a restart of E.
SVN revision: 29760
2007-04-29 03:24:16 +00:00
rephorm 0c0d0a5aff flag the border for updating when removing a .desktop
when a desktop is updated, check borders w/o matches to see if they now have a match. there is no need to update borders that have a match other than event->previous, since the one they have is good enough


SVN revision: 29560
2007-04-17 03:07:16 +00:00
rephorm 7c0d08d1f4 update all borders on efreet desktop update
SVN revision: 29490
2007-04-13 01:47:56 +00:00
Viktor Kojouharov 1157a68929 add an option to automatically re-maximize windows on shelf hide/show, and move away windows that are on top of the shelf away while the shelf is visible.
add more options to fine-tune the autohide in the shelf's config dialog. it needs some UI love though.


SVN revision: 29472
2007-04-11 15:37:04 +00:00
Sebastian Dransfeld 50e31e6ad8 No need to change the icon if we already have a desktop file.
SVN revision: 29423
2007-04-06 12:18:38 +00:00
Sebastian Dransfeld c08535a4c7 Listen for changes in .desktop files.
SVN revision: 29419
2007-04-06 11:09:03 +00:00
Sebastian Dransfeld 0696521bbd Match new efreet event name.
SVN revision: 29394
2007-04-05 20:58:07 +00:00
Sebastian Dransfeld 8e1c36d005 - nice config for thumbnailing. Needs config dialog.
- event for theme change.


SVN revision: 29381
2007-04-05 17:20:09 +00:00
Sebastian Dransfeld e8590e0357 - Add flag to indicate when main loop has ended.
- Don't allow (some) events during shutdown, as events wont be processed.
- Don't remove drop handlers on dnd shutdown, they should be removed by
  their creators.
- init/shutdown fwin
- Delete fwins on shutdown.
- Remove weird ipc wrapper function.
- Don't do additional shutdown functions on restart.


SVN revision: 29366
2007-04-05 06:59:02 +00:00
Sebastian Dransfeld fdabd62867 - Add return value.
- Remove unused function.


SVN revision: 29324
2007-04-03 19:08:27 +00:00
Sebastian Dransfeld 9d3b74c069 This is fixed now with the new efreet event.
SVN revision: 29320
2007-04-03 18:31:04 +00:00
Carsten Haitzler 062d5f9ee5 use efreets new event for desk list change
SVN revision: 29271
2007-03-31 01:59:42 +00:00
Sebastian Dransfeld 9bca1bc88e More efreet stuff. We need a .desktop file monitor.
SVN revision: 29133
2007-03-25 17:29:51 +00:00
Sebastian Dransfeld 47ad22217e Convert borders to efreet.
SVN revision: 29131
2007-03-25 17:23:49 +00:00
Sebastian Dransfeld 6e94e17dc8 Done
SVN revision: 29119
2007-03-25 13:49:29 +00:00
Sebastian Dransfeld d98b09b6ff internal_icons should always point to an icon, not to an e_app
SVN revision: 29012
2007-03-24 15:18:00 +00:00
Carsten Haitzler b2a0abb8eb a lot of patches - also my work on moving the IO stuff in e_fm to a slave
process to stop e from ever "locking up". this unfortunately breaks the other
source stuff and thus breaks the app editor config dialogs and anything using
fm2 for .desktop stuff from the e applications/all repo. i am doing this as i
expect this to go away with efreet anyway so not too much of an issue. not
all fm operatiosn work currently - note. so beware. it can view files though :)


SVN revision: 28528
2007-03-02 17:00:20 +00:00
Christopher Michael a1a0a7aaa5 Ravenlock's pin-cleanup and pin-action patches to address concerns about a
new border property versus reusing what exists. This now eliminates using a
new border property in favor of re-using the 3 properties that exist and
also adds a key/mouse binding.

Some formatting issues I found in e_border and e_action while
looking/testing this.


SVN revision: 28496
2007-02-27 16:16:03 +00:00
Sebastian Dransfeld 0e2eb2ec51 Add some else's so that only one placement rule is executed.
SVN revision: 28349
2007-02-14 02:43:34 +00:00
Sebastian Dransfeld cf0cf7ee2f Center dialogs without parent.
SVN revision: 28337
2007-02-13 02:34:09 +00:00
Sebastian Dransfeld 5ecd954206 No need for cast.
SVN revision: 27922
2007-01-12 13:14:54 +00:00
Carsten Haitzler 30c446194e fix segv in border - file prop work
SVN revision: 27894
2007-01-10 16:32:29 +00:00
Christopher Michael 4d11c880f3 Just some formatting cleanup, no functional changes.
SVN revision: 27864
2007-01-08 04:56:19 +00:00
Christopher Michael bd59455ec0 Add config option and implement "switch to desktop of new window (optional
too)" TODO item.


SVN revision: 27856
2007-01-07 23:45:35 +00:00
Sebastian Dransfeld c299f6aa14 Add a convert callback so that a drag can have several types.
Make it possible to drag pager windows to the ibar.


SVN revision: 27751
2007-01-03 06:14:04 +00:00
Sebastian Dransfeld 67352ce2f0 Don't need this info.
SVN revision: 27643
2006-12-29 15:53:49 +00:00
Sebastian Dransfeld 941564999b Fix border icon drag.
e_app_* functions should have E_App arg first.


SVN revision: 27593
2006-12-28 13:43:30 +00:00
Christopher Michael d3ae383e69 Fix recent winlist iconified commit (values were not added in the correct
place, and was not IFCFG'd for the version it was added in).

Add ability to turn on/off remembering E internal dialogs (only setable via
ipc for now)


SVN revision: 27480
2006-12-16 21:28:46 +00:00
Christopher Michael 01c7b5ebd5 Add missing check for border prop dialog.
SVN revision: 27311
2006-12-01 15:01:44 +00:00
Christopher Michael 3ef6ab6b4c Close the Window Properties dialog if the app closes.
SVN revision: 27289
2006-11-30 10:42:14 +00:00
metrics c7c69b4bd3 --BUG: xdaliclock now gets shaped borders if no user defined border is
set.


SVN revision: 26916
2006-11-03 06:11:56 +00:00
Carsten Haitzler 974650ba81 metrics remember patch - he's also allowed to have a new name.
SVN revision: 26816
2006-10-28 01:32:43 +00:00
Viktor Kojouharov d2515a119e the pager and iconbox now emit a signal when a border changes state from urgent
to normal and the other way around.

for the themers: the iconbox icon, the pager window and the pager desk, receive
 the signals e,state,urgent and e,state,not_urgent, so you can do something nice
 with those.


SVN revision: 26772
2006-10-24 14:32:22 +00:00
Carsten Haitzler 621a58de48 patches (see devel list) :)
SVN revision: 26725
2006-10-21 02:32:14 +00:00
Carsten Haitzler f780a2408e fix screen res dialog - "are you sure dialog" was a glitch with auto-remembers.
fixed. also the selection jumps back to the old res too now. fix res adjust
of windows to adjust right again.


SVN revision: 26675
2006-10-17 13:49:47 +00:00
Christopher Michael 59b78e6c25 Added border selection dialog (ie: winter square border) to allow selecting
default border from theme. Has fallback if border isn't present in new theme.

Removed old e_int_border_border files as this is all merged now into
e_int_config_borders.


SVN revision: 26596
2006-10-14 09:43:12 +00:00
Carsten Haitzler 5c6cade06d make it 64 adjust (fudge factor really)
SVN revision: 26450
2006-10-09 15:18:53 +00:00
Carsten Haitzler e372d9f636 catch oversized remembers for internals
SVN revision: 26449
2006-10-09 15:17:22 +00:00
Carsten Haitzler 5fe03d3452 fix rememebr resolution adjustment so it works - and make it more intelligent
difiding things into 3x3 zones and achoring in each zone for re-adjust


SVN revision: 26438
2006-10-09 05:33:09 +00:00
Carsten Haitzler 6359e28a0c another eap refernce nuked
SVN revision: 26426
2006-10-08 13:39:59 +00:00
David Walter Seikel 2b43816d36 Try to avoid returning a NULL icon.
SVN revision: 26357
2006-10-05 13:34:43 +00:00
Carsten Haitzler 899a2c009f 1. jose's premul patches for evas
2. fixes to patches to re-enable smooth scale again
3. fixes to make txtblock colors work
4. fixes to edje for premul + grad api changes
5. fixes to ecore to work in premul space
6. fixes to e17 for premul space
7. fixes to emotion for premul
8. rebuild of .edj files as premul requires themes to be rebuilt
9. removed unused fils from cvs (eap and old img files)


SVN revision: 26235
2006-09-30 10:16:24 +00:00
e-taro 8d148768cb 1) Maximizing in individual directions with <alt><f10> and <ctrl><f10> works now
2) Maximizing in both directions at once uses the "maximum volume" heuristic (seems to work well)


SVN revision: 26043
2006-09-23 08:39:41 +00:00
Carsten Haitzler a9757fa04b i'm cleaning up dnd. fixed leaks. made dnd more convenient - less work to do
(it returns x,y coords relative to the drop target geom, not the screen,
start putting in all the necessary stuff in fm2 - can dnd 2 file now (drop
has no effect though)...


SVN revision: 25950
2006-09-18 03:49:45 +00:00
David Walter Seikel 947396a983 raster gave this one the all clear.
SVN revision: 25902
2006-09-17 02:50:17 +00:00