Commit Graph

19106 Commits

Author SHA1 Message Date
Mike Blumenkrantz 62da0f32bf do not apply x11 focus grabs to internal clients if efl version > 1.14
due to recent changes in ecore-input-evas, mouse events are propagated
differently; specifically, there are now "more" events than there previously were.
as a result, grabs on internal wins are no longer necessary, though they probably
never were necessary after the elm conversion

see 5cb6cdbc5e1a13ea0262e155983b494e6519abde in efl
2015-07-02 12:35:21 -04:00
Mike Blumenkrantz 632bdd84a7 fix build break from last commit 2015-07-02 12:34:55 -04:00
Mike Blumenkrantz 0c518414e1 reject x11 replay clicks when event window != client window 2015-07-01 18:02:26 -04:00
Mike Blumenkrantz 26c291c02d only ungrab x11 windows when appropriate focus options are set 2015-07-01 16:50:01 -04:00
Mike Blumenkrantz b0df36d595 ensure x11 focus grabs are applied on client init when needed 2015-07-01 15:57:39 -04:00
Chris Michael 099861c55a enlightenment: Make E build again with EFL from git
sed -i 's/EAPI/E_API/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-01 15:56:20 -04:00
Mike Blumenkrantz 00904480d5 straggler ungrab of x11 parent window from previous commit 2015-07-01 15:33:34 -04:00
Mike Blumenkrantz f1fdb26d20 redo all x11 client mouse grabbing for focus
I did an audit of this and it seemed that it no longer served the purpose
for which it was originally intended. specifically, this is for enforcing
click: raise/focus options, and so grabs must be in play on client windows
only when they are not focused to ensure that we get mouse events and can
then focus them. the grabs must then be removed once the window has focus
to avoid spurious mouse eventing
2015-07-01 15:32:06 -04:00
Mike Blumenkrantz 87f4a69612 use client window for x11 button ungrabbing
ref afb62b4989
2015-06-30 18:49:26 -04:00
Carsten Haitzler d7f384f092 e passive window grabs - fix side-effect leave/enter events on clients
when you have click to focus we have a passive grab set up. somewhere
that window changed to the parent window instead of the client. this
leads to a side effect of a leave and enter event on clients for every
click. generally clients are ok with this, but some seem to have buggy
event handling. these enter/leave events are a side effect of the
passive grab even though we allow/replay the event.

this fixes that by placing passive grabs on the client window itself
instead of the parent.

@fix
2015-06-30 18:46:07 -04:00
Mike Blumenkrantz 5182693d8d enforce pstate's extremely-confusing no_turbo option in cpufreq
fix T2411
2015-06-29 16:39:06 -04:00
Mike Blumenkrantz cf332e874c trigger client mouse-in on x11 mouse movement for non-action clients
this should fix the case of mouse-based focus policies trying to reapply
focus after another client has stolen it away without the pointer leaving
the window
2015-06-29 16:08:47 -04:00
Mike Blumenkrantz 9e5c227689 trigger fake mouse-out on clients when unsetting focus
this will allow a more reasonable determination of pointer location
when attempting to apply mouse-based focus policies
2015-06-29 16:08:47 -04:00
Mike Blumenkrantz d9b6e25075 add E_Client->mouse.in for determining mouse-in status 2015-06-29 16:08:47 -04:00
Mike Blumenkrantz c8cedae301 unset changes.visible when forcing visibility during no-effect desk flip
this is set for new clients and creates visibility issues on startup
2015-06-29 16:04:43 -04:00
Mike Blumenkrantz a491a3fa9e fix focus FIXME regarding focus-setting on clients from other desks
fix T2259
2015-06-29 16:04:38 -04:00
Mike Blumenkrantz a416f96c12 check for possible parent window on x11 mouse button events
in the case of different window <-> event_window, window is a child window
of event_window, and thus checking event_window here is valid (and necessary)
2015-06-29 16:04:33 -04:00
Mike Blumenkrantz 84ba19d576 stop rejecting possibly-valid x11 focus events
fixes case where window assumes focus without wm interaction
2015-06-29 16:04:26 -04:00
Mike Blumenkrantz 0829f90eb3 only apply deskmirror client visibility logic for non-deleted clients 2015-06-19 14:13:17 -04:00
Mike Blumenkrantz 1e5eea91ee return an accurate value for override clients in e_comp_object_util_zone_get() 2015-06-17 15:59:23 -04:00
Mike Blumenkrantz 0060387189 allow layer-blocked clients in deskmirror to restack 2015-06-16 15:52:02 -04:00
Mike Blumenkrantz cb8f26ad87 fix eo errors for ilist icon select state 2015-06-08 15:01:28 -04:00
Mike Blumenkrantz 3813d00653 fix shelf visibility state signals
previous behavior resulted in hide being sent when animations began
instead of at end
2015-06-08 15:01:28 -04:00
Mike Blumenkrantz 3fc585efa3 fix focusing client on mouse events which trigger actions (with exceptions)
block focus events only if focus has changed to another client or the current
client's layer-actual has been lowered

regression from 719b2baeba
2015-05-21 12:32:40 -04:00
Mike Blumenkrantz 88cb4541bd allow new fullscreening clients to replace current nocomp where applicable 2015-05-18 13:22:53 -04:00
Mike Blumenkrantz faf4ec630c force xwindow stacking to obey nocomp policy and stack below current nocomp
fix T2277
2015-05-18 13:22:26 -04:00
Mike Blumenkrantz 2b1b6def72 reject client fullscreening based on config and desk visibility 2015-05-18 13:21:45 -04:00
Mike Blumenkrantz 40fc1c0496 19.5 NEWS updates 2015-05-04 12:28:46 -04:00
Mike Blumenkrantz 32011517d1 19.5 release 2015-05-04 12:27:25 -04:00
Jean Guyomarc'h 35bba6b6c0 e_ipc: fix creation of IPC server when $DISPLAY is a path
Summary:
Some implementations of the X server (e.g. Xquartz) define their $DISPLAY
as a path. Since ecore_ipc_server_add() does not create non-existant
directories, and since it may not worth to hide the socket in a complex
path, this patch aims at reducing the $DISPLAY by only keeping its basename.

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2465
2015-05-02 10:05:30 -04:00
Mike Blumenkrantz aede452083 fix infinite loop when changing ibar sources
fix T1951
2015-04-30 17:08:17 -04:00
Mike Blumenkrantz f28eec002a prune module config list when loading a module
it's somehow possible to get multiple instances of a module in the config.
since I don't know whether this is a current or past problem, prune the list
on every module load to remove subsequent instances of the module

fix T2181
2015-04-30 17:07:55 -04:00
Mike Blumenkrantz 6530a73db8 fix notification text to conform to spec and libnotify implementation
fix T2053
fix T2187
2015-04-30 14:16:50 -04:00
Mike Blumenkrantz 829ecc3cc0 try hicolor icon theme as fallback for fdo icon setting if user's theme fails
fix T2142
2015-04-30 14:16:48 -04:00
Mike Blumenkrantz bdd2fa905f change default icon theme to hicolor
ref T2142
2015-04-30 14:16:48 -04:00
Mike Blumenkrantz 21536ffa96 force visibility on clients before attempting to hide them
this ensures that edje visibility states get reset in the event of toggling
visibility extremely quickly

probably fixes T2260
2015-04-29 22:08:34 -04:00
Mike Blumenkrantz 7a028f37f3 only apply mouse down focus events if a binding did not run on the same event
fixes the case of enabling "raise on click" and also having a mouse binding
for "lower on click" active

fix T2364
2015-04-29 22:08:26 -04:00
Mike Blumenkrantz aa71cd734c freeze evas events on clients during keyboard move/resize actions
fix T2112
2015-04-29 22:08:22 -04:00
Mike Blumenkrantz 19c652e069 rename client menu move/resize items to indicate real function
ref T2112
2015-04-29 22:08:18 -04:00
Carsten Haitzler cbe533c848 e client - desk wait - ref it properly and clean up delfn
delfn's on desks being referred to as profile.wait_desk were never
cleared when client was freed. als the desk itself never got an obj
reference - fix that and ref/unref it.
2015-04-28 12:29:54 -04:00
Carsten Haitzler cd04374949 e - xsettings - calloc buffer since we leave 3 of 4 bytes unset
the first 4 bytes is a msb/lsb thing for xsetttings - we ignore 3 of
the 4 bytes. thus we should just calloc the whole buffer to ensure its 0
2015-04-28 12:29:49 -04:00
Mike Blumenkrantz 187608ba7a use client geom for comp object centering functions if ec->new_client is set 2015-04-28 12:27:33 -04:00
Mike Blumenkrantz 85e9c985b0 ensure client max w/h props are set before applying them to client geom 2015-04-28 12:24:19 -04:00
Carsten Haitzler 7c868b5be1 e_shelf - check visiblity with zone and desk FIRST not later
es->cfg->desk_show_mode if false (default) implies a shelf is always
visible - true, as it's sticky (visible on all desktops). but this
didn't check zone. check zone first THEN this.
2015-04-28 12:23:14 -04:00
Mike Blumenkrantz 3807b38b72 fix submenu visibility during scroll
sometimes while quickly moving the cursor through menu items with submenus
the visibility flag would toggle more quickly than the menu object's visibility.
this is no longer the case
2015-04-20 18:09:36 -04:00
Mike Blumenkrantz 2710acb0fd attempt to decode notification image uris with efreet before showing them
fix T1939
2015-04-20 17:25:56 -04:00
Mike Blumenkrantz 081c1d2b7d remove eina_streq usage
efl required version did not implement this function
2015-04-20 17:19:08 -04:00
Mike Blumenkrantz f5273475eb clear app menu cache any time a desktop is edited internally
ref T2271
2015-04-20 16:06:21 -04:00
Mike Blumenkrantz a312cc2429 add function for clearing app menu cache
ref T2271
2015-04-20 16:06:20 -04:00
Mike Blumenkrantz b01df0c92d remove contact module
this is dead. dead code does not belong in master.

see devs/discomfitor/e_module-contact.git
2015-04-20 15:43:12 -04:00