Commit Graph

143 Commits

Author SHA1 Message Date
Mike Blumenkrantz 4c0665dd61 fix winlist uniconify/unshade
fix T1244
2014-05-12 04:37:49 -04:00
Mike Blumenkrantz 73574e3d44 bugfix: fix obviously-wrong winlist animator deletion
fix T1215
2014-05-08 17:00:15 -04:00
Mike Blumenkrantz fe18fbeffd fix winlist alignment
fix T1215
2014-05-07 21:06:06 -04:00
Mike Blumenkrantz cbf8d4b915 trivial winlist creation changes 2014-05-07 21:05:04 -04:00
Mike Blumenkrantz 09aefdeb89 remove winlist dead code
CID 1039873
2014-04-04 15:04:28 -04:00
Mike Blumenkrantz 6e72796544 check key events for both key and keyname bindings
fix T1119
2014-03-27 16:47:19 -04:00
Mike Blumenkrantz daa98e867d fix lots of edje emits on non-edje objects 2014-03-27 16:47:18 -04:00
Chris Michael 75d25f8c47 Fix the "Fix more wayland crashes" commit so that we can build for
wayland-only again

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-19 07:47:20 +00:00
Mike Blumenkrantz c81e649992 fix more wayland crashes 2014-03-18 18:15:24 -04:00
Chris Michael 915f8f0613 @bugfix: Fix building for WAYLAND_ONLY by using the proper define
sed -i 's/WAYLAND_ONLY/HAVE_WAYLAND_ONLY/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18 07:43:04 +00:00
Mike Blumenkrantz 4b58fa9a4e replace ev->keyname with ev->key
see efl 5ae4cfd1923e502731f4d8fc2bf67b1f536a9216
2014-03-13 13:03:34 -04:00
Mike Blumenkrantz ef520ba331 set winlist input window as child of root, not comp overlay win
T1019
2014-02-26 11:46:31 -05:00
Carsten Haitzler 0313a54da4 e-object-check - this has been turned off since 2007 - back on
this is crazy. all the E_OBJECT_CHECK macros have been off since 2007.
this is just nuts. either remove them, or have them on by default, but
not off. so this turns them back on and fixes code to actually compile
again with them on, as this broke over the years. a lot of code
expects/assumes thatthese willcheck types and null ptrs, but they
don't because they are off by default.
2014-02-26 04:28:12 +09:00
Mike Blumenkrantz 8d71213839 e_client_name_get() -> e_client_util_name_get()
this should be inlined
2014-02-05 10:55:50 -05:00
Mike Blumenkrantz 52bb6e38e3 unify and improve winlist directional focusing 2014-01-20 16:58:29 -05:00
Mike Blumenkrantz 8f060a22d5 force adding client to raise stack on winlist select 2014-01-17 17:53:05 -05:00
Mike Blumenkrantz a9627e84f5 remove a bunch of unnecessary ecore-x calls from modules 2014-01-14 20:28:57 -05:00
Mike Blumenkrantz 86656e4df9 compositor rewrite / charlie-foxtrot situation
huge fustercluck commit because there wasn't really a way to separate out the changes. better to just rip it all out at once.

* compositor and window management completely rewritten. this was the goal for E19, but it pretty much required everything existing to be scrapped since it wasn't optimized, streamlined, or sensible. now instead of having the compositor strapped to the window manager like an outboard motor, it's housed more like an automobile engine.

** various comp structs have been merged into other places (eg. E_Comp_Zone is now just part of E_Zone where applicable), leading to a large deduplication of attributes

** awful E_Comp_Win is totally dead, having been replaced with e_comp_object smart objects which work just like normal canvas objects

** protocol-specific window management and compositor functionality is now kept exclusively in backend files

** e_pixmap api provides generic client finding and rendering api

** screen/xinerama screens are now provided directly by compositor on startup and re-set on change

** e_comp_render_update finally replaced with eina_tiler

** wayland compositor no longer creates X windows

** compositor e_layout removed entirely

* e_container is gone. this was made unnecessary in E18, but I kept it to avoid having too much code churn in one release. its sole purpose was to catch some events and handle window stacking, both of which are now just done by the compositor infra

* e_manager is just for screensaver and keybind stuff now, possibly remove later?

* e_border is gone along with a lot of its api. e_client has replaced it, and e_client has been rewritten completely; some parts may be similar, but the design now relies upon having a functional compositor

** window configuration/focus functions are all removed. all windows are now managed solely with evas_object_X functions on the "frame" member of a client, just as any other canvas object can be managed.

*** do NOT set interceptors on a client's comp_object. seriously.

* startup order rewritten: compositor now starts much earlier, other things just use attrs and members of the compositor

* ecore_x_pointer_xy_get usage replaced with ecore_evas_pointer_xy_get

* e_popup is totally gone, existing usage replaced by e_comp_object_util_add where applicable, otherwise just placed normally on the canvas

* deskmirror is (more) broken for now

* illume is totally fucked

* Ecore_X_Window replaced with Ecore_Window in most cases

* edge binding XWindows replaced with regular canvas objects

* some E_Win functionality has changed such that delete callbacks are now correctly called in ALL cases. various dialogs have been updated to not crash as a result

comp files and descriptions:

e_comp.c - overall compositor functions, rendering/update loop, shape cutting

e_comp_x.c - X window management and compositor functionality

e_comp_wl.c - Wayland surface management and compositor functionality

e_comp_canvas.c - general compositor canvas functions and utilities

e_comp_object.c - E_Client->frame member for managing clients as Evas_Objects, utility functions for adding objects to the compositor rendering systems

additional authors: ivan.briano@intel.com

feature: new compositor

removal: e_border, e_container, e_popup
2014-01-14 20:22:02 -05:00
Mike Blumenkrantz 5e8171d686 fix winlist first selection check
I added this a long time ago but forgot to do the right comparison
2013-11-29 12:18:55 -05:00
Mike Blumenkrantz b14d484ad1 uniconify+unshade selected window on winlist hide 2013-08-22 14:55:57 +01:00
maxerba 26303bbe1f Fixed sorting in desktop files 2013-07-05 19:02:53 +02:00
Mike Blumenkrantz f85afc0646 fix focus setting when winlisting 2013-06-12 08:43:46 +01:00
Mike Blumenkrantz 7d064ece86 remove focus unset from winlist activate...this seems like extra work for nothing 2013-06-12 08:43:18 +01:00
maxerba 5deed35ac2 adding catalan translation and sorting lines alphabetically 2013-06-05 00:16:38 +02:00
Mike Blumenkrantz 9a615c1438 new user-requested option for moving the winlist-selected window to the current desk 2013-05-30 14:23:13 +01:00
maxerba 8d7c40c622 updating serbian translation 2013-05-04 20:40:16 +02:00
maxerba 99b361871e updating italian translation 2013-05-04 19:54:52 +02:00
Mike Blumenkrantz 505cec1d91 giant comp rejiggering commit #5:
* border frame/object now drawn directly on compositor canvas

* border shadows now in border theme with edje hint, non-updated themes still receive comp object shadows FOR NOW

* e_border MOVE/RESIZE pointer mode defines are now e_pointer.h enums

* added BD_CHANGED() util macro for setting bd->changed and printing a debug line to assist in finding places where this all-important flag is wrongly set

* bd->bg_win removed entirely

* bd->pointer objects moved to compositor object; now only one pointer object exists for each compositor

* resizing windows now shows a new and totally-intended scaling effect for window contents

* some additional retooling of border deletion/free callbacks

* fixed lurking potential bug where window could recieve focus from autoraise timer after border had been deleted

* more comp shape improvements/rewrites

* desk transitions are now BROKEN(ish)

* various modules updated to not be totally broken with these changes
2013-04-15 08:39:16 +01:00
Mike Blumenkrantz bf9933a336 E_FN_DEL macro renamed to E_FREE_FUNC with param order swapped for consistency 2013-02-22 13:18:30 +00:00
Mike Blumenkrantz 7d37ce5cbc fix tons of now-incorrect popup and object usage in winlist
SVN revision: 84099
2013-02-19 09:55:00 +00:00
Mike Blumenkrantz f36ecd9d3d giant comp rejiggering commit #2: popups are now objects drawn directly onto the compositor canvas with no xwindows of their own
* added a number of new e_comp functions and macros

* options for disabling effects on objects: this option does not currently have any effect

* all modules which used gadcon popups have been adjusted

* all modules which used input windows to detect close events for gadcon popups have been adjusted to use new popup autoclose functionality

* shelves are now always drawn on the compositor canvas, meaning objects will never get clipped by the shelf (ticket #1810)

* shelves no longer have an event object

SVN revision: 84060
2013-02-18 13:43:47 +00:00
Mike Blumenkrantz 90de0907c2 unbreak winlist focus setting, as broken by princeamd's patch which I failed to adequately test across all focus models :(
SVN revision: 84045
2013-02-18 09:51:49 +00:00
Mike Blumenkrantz 51b3e7a4ee patch from Deon Thomas: this patch fix the bug with if you have multiple windows opened and you are Alt+Tabbing suppose the mouse is already over the window that e_border_focused_get (the last focused border) we go to the next one. currently it centres the mouse on the same focused window then if you do alt+tab it will go to the next.
SVN revision: 83946
2013-02-15 11:18:16 +00:00
Mike Blumenkrantz aa6a2d173d giant comp rejiggering commit because anything smaller would have broken something:
* remove xwin for container canvas: now drawn directly on the compositor canvas

* added SHAPE_DEBUG define for bored developers

* bindings now use new e struct for mouse/wheel events

* container+zone now get mouse events from smart callbacks instead of x events

* rename comp api namespace

* change comp underlay theme to have a swallow for the wallpaper

* add names to all zone/container/comp objects to make debugging much easier

* some minor related updates to go along with this

SVN revision: 83752
2013-02-07 13:20:07 +00:00
Mike Blumenkrantz bf0348f133 remove unused timer variable, reduce e_grabinput calls slightly with some reordering
SVN revision: 83733
2013-02-07 10:51:10 +00:00
Mike Blumenkrantz 053c841f52 unbreak winlist focus changing
SVN revision: 83731
2013-02-07 10:36:01 +00:00
Mike Blumenkrantz a072a15edd fix no-warp mode winlist usage
ticket #asdfuser


SVN revision: 83683
2013-02-06 13:55:38 +00:00
Mike Blumenkrantz 7c4da3e843 convert more winlist and focus dialog widgets to use new check disable api
SVN revision: 83666
2013-02-06 09:11:33 +00:00
Mike Blumenkrantz ab4d534d88 disable winlist pointer warp options when disable_all_pointer_warps is enabled
SVN revision: 83664
2013-02-06 08:57:58 +00:00
Mike Blumenkrantz 4e2880280f remove unnecessary callbacks from winlist config dialog
SVN revision: 83663
2013-02-06 08:51:34 +00:00
Mike Blumenkrantz 6773c911b6 unify all pointer warping code to rely on e_border_pointer_warp_to_center functions
SVN revision: 83636
2013-02-05 15:15:04 +00:00
Mike Blumenkrantz fcd92901fc winlist_warp_speed->pointer_warp_speed
pointer warp options consolidated into their own tab in focus settings


SVN revision: 83633
2013-02-05 14:22:54 +00:00
Mike Blumenkrantz ec87e69908 add yet another pointer warp option: disable all warps
ticket #asdfuser


SVN revision: 83629
2013-02-05 13:33:49 +00:00
Mike Blumenkrantz c48fd0b06d giant commit that wipes all bindi^W^W^Wsplits out binding configs into a separate config domain so they can be more easily copied and so they won't be wiped in the event that primary config is wiped
also splits all binding lists out of e_config: they are now conveniently located in the global "e_bindings" struct


SVN revision: 83544
2013-02-01 10:21:54 +00:00
Mike Blumenkrantz 31e2299a67 add config option for disabling pointer warp when performing directional focus change in winlist, patch by David H. Bronke
ticket #2098


SVN revision: 82409
2013-01-08 11:51:56 +00:00
Mike Blumenkrantz 602a9aabc5 winlist should no longer get stuck sometimes when activated by keybind
ticket #2007


SVN revision: 81449
2012-12-20 12:28:47 +00:00
Mike Blumenkrantz 01f4fd81db winlist now removes modifiers from its list as they are released
SVN revision: 81448
2012-12-20 12:26:19 +00:00
Mike Blumenkrantz 909c59080f disable winlist binding activation for edge/signal/acpi; this is totally broken
SVN revision: 81446
2012-12-20 11:58:56 +00:00
Mike Blumenkrantz a8990c74e9 winlist now behaves in a more expected manner when activated with a mouse binding
SVN revision: 81443
2012-12-20 11:16:09 +00:00
Mike Blumenkrantz cb34a3e7f5 unify winlist action code and set activation type
SVN revision: 81442
2012-12-20 10:58:21 +00:00