Mike Blumenkrantz [Fri, 13 Feb 2015 20:46:52 +0000 (15:46 -0500)]
add first YOLO: e_client_focus_stack_set()
to quote ecore docs:
DO NOT use this function unless you are the person God comes to ask for
advice when He has trouble managing the Universe.
Mike Blumenkrantz [Fri, 13 Feb 2015 20:46:04 +0000 (15:46 -0500)]
add YOLO define to throw a compile warning for Extremely Dangerous Functions
a deprecated warning isn't ideal, but at least maybe someone will look at why there's a warning
Mike Blumenkrantz [Fri, 13 Feb 2015 20:45:03 +0000 (15:45 -0500)]
allow focus on normal wl clients again
Mike Blumenkrantz [Fri, 13 Feb 2015 20:41:58 +0000 (15:41 -0500)]
remove unneeded client attr setting in wl shell
these are always set by the wl new client hook
Mike Blumenkrantz [Fri, 13 Feb 2015 20:24:24 +0000 (15:24 -0500)]
set wl popups to appropriate layer in shell module
Mike Blumenkrantz [Fri, 13 Feb 2015 20:17:48 +0000 (15:17 -0500)]
remove some futile attempts at variable setting in wl client new hook
none of these attrs are available at this point so the client attrs can't be set
Mike Blumenkrantz [Fri, 13 Feb 2015 20:11:43 +0000 (15:11 -0500)]
prevent client cursor clients from receiving focus
Mike Blumenkrantz [Fri, 13 Feb 2015 20:11:33 +0000 (15:11 -0500)]
remove unused var
Derek Foreman [Fri, 13 Feb 2015 16:46:10 +0000 (10:46 -0600)]
Conditionally ignore wayland cursor set events
Wayland cursor set events should be ignored if the client sending them
doesn't own the surface the pointer is currently in.
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Chris Michael [Fri, 13 Feb 2015 14:37:16 +0000 (09:37 -0500)]
fix typo in wayland readme file
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Carsten Haitzler (Rasterman) [Fri, 13 Feb 2015 10:23:04 +0000 (19:23 +0900)]
e - randr - handle missing relative display and use priority for zone
this makes highest priority screen the lowest (0) zone. this also
handles missing screesn that you are relative "of". missing clones are
not working atm. also zone reconfigure moves windows now too
Mike Blumenkrantz [Fri, 13 Feb 2015 04:31:36 +0000 (23:31 -0500)]
add note about logind to wl readme
Mike Blumenkrantz [Fri, 13 Feb 2015 04:17:00 +0000 (23:17 -0500)]
update wl readme
Mike Blumenkrantz [Fri, 13 Feb 2015 04:12:23 +0000 (23:12 -0500)]
fix dbus unit installation with DESTDIR
Mike Blumenkrantz [Fri, 13 Feb 2015 01:07:35 +0000 (20:07 -0500)]
manage client pointer client hidden states when changing pointer cursor objects
fixes sticky cursors
Mike Blumenkrantz [Fri, 13 Feb 2015 00:30:21 +0000 (19:30 -0500)]
don't clear wl surface input tiler during commit
this broke input regions for successive frames
Mike Blumenkrantz [Thu, 12 Feb 2015 21:18:46 +0000 (16:18 -0500)]
add E_Client->mouse.in for determining mouse-in status
Mike Blumenkrantz [Thu, 12 Feb 2015 21:17:50 +0000 (16:17 -0500)]
remove unused E_Client->input_object
this is a relic from E18
Mike Blumenkrantz [Wed, 11 Feb 2015 22:57:43 +0000 (17:57 -0500)]
unset wl client placed value on first commit to force placement
many clients still have not had a first commit prior to running new_client placement,
so this will force a second run of that algo to prevent placing as though a client's
size = 1x1
Mike Blumenkrantz [Wed, 11 Feb 2015 22:22:55 +0000 (17:22 -0500)]
don't add wl evas callbacks multiple times
#sigh
Mike Blumenkrantz [Wed, 11 Feb 2015 22:20:03 +0000 (17:20 -0500)]
don't use garbage values for new_client wl surface configures
Mike Blumenkrantz [Wed, 11 Feb 2015 22:15:31 +0000 (17:15 -0500)]
don't set geometry during wl client surface mapping
this happens automatically in other places, calling it here breaks client placement
#barrel
Mike Blumenkrantz [Wed, 11 Feb 2015 22:14:28 +0000 (17:14 -0500)]
reapply accurate ec->placed value for wl clients during surface commit configure
fixes client placement when client has not been placed prior to first commit
Mike Blumenkrantz [Wed, 11 Feb 2015 22:08:06 +0000 (17:08 -0500)]
use pixmap size for wl subsurface commit configure
Mike Blumenkrantz [Wed, 11 Feb 2015 22:02:01 +0000 (17:02 -0500)]
move map before configure for wl clients during commit
this ensures visibility is set correctly before attempting to set geometry
Mike Blumenkrantz [Wed, 11 Feb 2015 22:00:59 +0000 (17:00 -0500)]
reenable new_client for wl clients, but force moveresize actions to succeed
Mike Blumenkrantz [Wed, 11 Feb 2015 22:00:28 +0000 (17:00 -0500)]
use accurate xy coords for wl surface configures
Mike Blumenkrantz [Wed, 11 Feb 2015 21:23:07 +0000 (16:23 -0500)]
remove nonsensical wl client finding code
if the pixmap has no client set, no client exists for the pixmap
Mike Blumenkrantz [Wed, 11 Feb 2015 16:50:06 +0000 (11:50 -0500)]
set wl client keyboard focus on evas focus and commit
ensure that focus is applied even if there is no new frame
Carsten Haitzler (Rasterman) [Wed, 11 Feb 2015 12:45:39 +0000 (21:45 +0900)]
e - remove earns from randr2
for wahetever reason i dont get warnings from gcc:
-Wno-shadow -Wno-unused-but-set-parameter -Wno-clobbered -W -Wall -Wextra
are the warning flags i get and i simplt dont get a tonne like using
uninitialized var. don't know why.
Carsten Haitzler (Rasterman) [Wed, 11 Feb 2015 03:28:29 +0000 (12:28 +0900)]
shut up shadow warnings
Carsten Haitzler (Rasterman) [Wed, 11 Feb 2015 01:47:02 +0000 (10:47 +0900)]
e - fix build. build break!
Mike Blumenkrantz [Wed, 11 Feb 2015 00:17:50 +0000 (19:17 -0500)]
send wl keyboard enter during commit
in some cases this was happening before the kbd resource was available; this guarantees that it will be
Mike Blumenkrantz [Wed, 11 Feb 2015 00:17:11 +0000 (19:17 -0500)]
setup evas callbacks for wl clients during commit
this was happening way too late and breaking some clients
Mike Blumenkrantz [Wed, 11 Feb 2015 00:15:53 +0000 (19:15 -0500)]
unset wl client cursor when no surface resource is passed
this is probably not correct, but #barrel
Mike Blumenkrantz [Wed, 11 Feb 2015 00:15:22 +0000 (19:15 -0500)]
set take_focus more appropriately for wl clients
Mike Blumenkrantz [Tue, 10 Feb 2015 23:08:39 +0000 (18:08 -0500)]
apply client focus glow based on opaque region
Mike Blumenkrantz [Tue, 10 Feb 2015 23:07:41 +0000 (18:07 -0500)]
redo pixmap image border to take xywh instead of lrtb
client size is not set by the time opacity is set so it's necessary to store the full rect
Mike Blumenkrantz [Tue, 10 Feb 2015 22:30:05 +0000 (17:30 -0500)]
don't add rect for entire screen on wl region create
Mike Blumenkrantz [Tue, 10 Feb 2015 21:40:12 +0000 (16:40 -0500)]
set client image borders even when 0
opaque region can be reset to nonexistent
Mike Blumenkrantz [Tue, 10 Feb 2015 20:51:16 +0000 (15:51 -0500)]
unset new_client flag for wayland clients
this is only applicable for X clients
Chris Michael [Tue, 10 Feb 2015 17:41:27 +0000 (12:41 -0500)]
fix e_pixmap compile for non-wayland usecase
pixmap->border is only defined if we have some wayland support. Not
used in X11.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Tue, 10 Feb 2015 02:25:08 +0000 (21:25 -0500)]
remove wl opaque tilers, just set border in opaque callback
Mike Blumenkrantz [Tue, 10 Feb 2015 02:15:50 +0000 (21:15 -0500)]
set pixmap image borders for wayland clients
Mike Blumenkrantz [Tue, 10 Feb 2015 01:56:45 +0000 (20:56 -0500)]
handle image borders during client rendering
Mike Blumenkrantz [Tue, 10 Feb 2015 01:44:59 +0000 (20:44 -0500)]
fix wl input region setting
Mike Blumenkrantz [Tue, 10 Feb 2015 01:43:30 +0000 (20:43 -0500)]
don't set client shape rects based on wl opaque regions
Mike Blumenkrantz [Tue, 10 Feb 2015 01:38:00 +0000 (20:38 -0500)]
add pixmap image border functions
Mike Blumenkrantz [Tue, 10 Feb 2015 01:27:18 +0000 (20:27 -0500)]
correctly set/update wl opaque regions
Mike Blumenkrantz [Mon, 9 Feb 2015 19:35:11 +0000 (14:35 -0500)]
force wl client cursor clients to hide when unset from pointer
Mike Blumenkrantz [Mon, 9 Feb 2015 19:17:44 +0000 (14:17 -0500)]
use unixtime instead of loop time for wl frame callback done
Mike Blumenkrantz [Mon, 9 Feb 2015 17:24:31 +0000 (12:24 -0500)]
replace all occurrences of cursor setting with calls to pointer util function
Mike Blumenkrantz [Mon, 9 Feb 2015 17:23:59 +0000 (12:23 -0500)]
add pointer util function for changing cursor object without deleting it
Carsten Haitzler (Rasterman) [Mon, 9 Feb 2015 08:43:17 +0000 (17:43 +0900)]
e - randr - laptop lids - handle plug/unplug and well as lid open/close
this fixes some issues in the new randr2 code that made it not work
right with plug/unplug and lid close/open. now it does work right and
plugging/unplugging displays is seamless (if your driver does not give
plug/unplug events bind a key to update screen config acvtion and e
will figure it out when you hit the key).
Chris Michael [Sun, 8 Feb 2015 16:53:45 +0000 (11:53 -0500)]
enlightenment: Don't crash if fwin app dialog has no exec_cmd
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Sat, 7 Feb 2015 16:18:45 +0000 (11:18 -0500)]
enlightenment: Fix 'type' may be used uninitialized message
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Carsten Haitzler (Rasterman) [Sat, 7 Feb 2015 04:23:34 +0000 (13:23 +0900)]
elm accel pref config - fix to use correct api to set accel pref
Carsten Haitzler (Rasterman) [Sat, 7 Feb 2015 03:30:19 +0000 (12:30 +0900)]
e - fix build when wayland not enabled
Mike Blumenkrantz [Fri, 6 Feb 2015 23:28:11 +0000 (18:28 -0500)]
implement wl client cursor support...as clients
<zmike> super funny idea: for client cursors, what if we just implement them as an override client with no animations and then hide the canvas cursor while the client is visible?
this started as a joke and it worked mostly fine so I improved it and now it's shipping and whatdoidowithallthesebugs.jpg
Mike Blumenkrantz [Fri, 6 Feb 2015 23:27:01 +0000 (18:27 -0500)]
configure/show/hide surfaces which lack shells automatically
Mike Blumenkrantz [Fri, 6 Feb 2015 23:26:17 +0000 (18:26 -0500)]
use pixmap size for resizes in wl commit
the client size should be this anyway, but we just refreshed the pixmap above so this is guaranteed to be accurate
Mike Blumenkrantz [Fri, 6 Feb 2015 21:01:02 +0000 (16:01 -0500)]
add wl util function for calculating pixmap id
Carsten Haitzler (Rasterman) [Fri, 6 Feb 2015 08:58:08 +0000 (17:58 +0900)]
e - client list update after adding to client list - fix netwm bug
this fixes T2029
Carsten Haitzler (Rasterman) [Fri, 6 Feb 2015 02:37:52 +0000 (11:37 +0900)]
adapt to new win center trap in 1.13 efl
also require 1.13 now as we want he win trap h/v info
Mike Blumenkrantz [Thu, 5 Feb 2015 22:13:44 +0000 (17:13 -0500)]
remove pixmap resource delete cb
this was a stupid idea and I'm stupid for having such a stupid iea
Mike Blumenkrantz [Thu, 5 Feb 2015 21:31:47 +0000 (16:31 -0500)]
clear wl pixmap cache on client free instead of leaking
Mike Blumenkrantz [Thu, 5 Feb 2015 21:31:18 +0000 (16:31 -0500)]
move wl pixmap stuff to use pixmap functions in compositor instead of in pixmap
Carsten Haitzler (Rasterman) [Thu, 5 Feb 2015 05:41:12 +0000 (14:41 +0900)]
maximization bug affecting libreoffice and others - fix
the problem is something changes window gravity... what i don't know,
but hey - just forcibly move window to 0,0 which is where we expect it
anyway when resizing.
@fix
Carsten Haitzler (Rasterman) [Thu, 5 Feb 2015 02:31:01 +0000 (11:31 +0900)]
xinerama note for multiscreen handling
Carsten Haitzler (Rasterman) [Wed, 4 Feb 2015 12:02:17 +0000 (21:02 +0900)]
e - randr2 - handle lid close/open as screen unplug/plug
when your laptop lid opens/closes even if we dont get a randr event
with a disconnect, the screen as logically been unplugged (you can't
see it anymore) so we should treat it as if the screen is not
connected. this fixes that.
Carsten Haitzler (Rasterman) [Wed, 4 Feb 2015 10:05:44 +0000 (19:05 +0900)]
update po
Mike Blumenkrantz [Wed, 4 Feb 2015 23:09:32 +0000 (18:09 -0500)]
remove unnecessary EC_CHANGED from wl shell creation
new clients are always changed, this is redundant
Mike Blumenkrantz [Wed, 4 Feb 2015 23:04:58 +0000 (18:04 -0500)]
clamp wl popup coords to parent when possible
Mike Blumenkrantz [Wed, 4 Feb 2015 22:44:41 +0000 (17:44 -0500)]
set wl popups as overrides
not technically correct but will mimic expected behavior more accurately
Chris Michael [Wed, 4 Feb 2015 17:33:04 +0000 (12:33 -0500)]
call e_manager_new with the proper root window so that keybindings on
the desktop work
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 4 Feb 2015 16:59:19 +0000 (11:59 -0500)]
only send key events to focused clients
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Wed, 4 Feb 2015 00:43:26 +0000 (19:43 -0500)]
remove unnecessary comp work in wl pixmap functionality
these are all basically no-ops anyway
Chris Michael [Tue, 3 Feb 2015 20:35:19 +0000 (15:35 -0500)]
cleanup xkb state modifiers and only update state_mask if necessary
NB: *These 2 commits fix Mike's modifier issue
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 3 Feb 2015 20:34:09 +0000 (15:34 -0500)]
change keyboard input listeners to Not depend on a client but rather
use ecore_event_handlers for key events.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 3 Feb 2015 20:31:39 +0000 (15:31 -0500)]
add a mod_changed field to compositor data so we can know when
modifiers change
Signed-off-by: Chris Michael <cp.michael@samsung.com>
maxerba [Tue, 3 Feb 2015 20:08:53 +0000 (21:08 +0100)]
Updating serbian translation
Chris Michael [Tue, 3 Feb 2015 15:58:13 +0000 (10:58 -0500)]
quiet compiler warnings when building for wayland-only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 3 Feb 2015 15:35:08 +0000 (10:35 -0500)]
de-e_comp_get()-ify e_utils
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Mon, 2 Feb 2015 22:40:11 +0000 (17:40 -0500)]
Revert "ref/free client pixmaps during hide animations"
This reverts commit
bbb04ecb32736cc2ed781b1ac29dd7fbcf7dcb42.
also fixed by deferred resource releasing
Mike Blumenkrantz [Mon, 2 Feb 2015 21:45:18 +0000 (16:45 -0500)]
make wl clients use post render canvas cb to clear buffers
Mike Blumenkrantz [Mon, 2 Feb 2015 18:39:32 +0000 (13:39 -0500)]
hide wl clients on surface delete
surface callbacks may not trigger xdg/shell unmap callbacks before this is called, so this ensures a hide animation
Mike Blumenkrantz [Mon, 2 Feb 2015 18:38:48 +0000 (13:38 -0500)]
ref/free client pixmaps during hide animations
replaces wl client crashing with a garbage frame
Mike Blumenkrantz [Mon, 2 Feb 2015 17:42:43 +0000 (12:42 -0500)]
make comp param in e_client_new unused
Mike Blumenkrantz [Mon, 2 Feb 2015 17:41:18 +0000 (12:41 -0500)]
don't create wl clients as re_manage
Chris Michael [Mon, 2 Feb 2015 17:31:09 +0000 (12:31 -0500)]
Revert "reset keyboard modifiers when client is deleted"
This reverts commit
b9f4b257d713b52c5702b115bf3972f12c865cdc.
Revert this quick fix as apparently it did not actually fix the problem.
Chris Michael [Mon, 2 Feb 2015 17:27:06 +0000 (12:27 -0500)]
reset keyboard modifiers when client is deleted
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Mon, 2 Feb 2015 17:11:51 +0000 (12:11 -0500)]
clean up comp object to not use deprecated comp functions
Chris Michael [Mon, 2 Feb 2015 17:00:38 +0000 (12:00 -0500)]
cleanup keymap properly on shutdown(fixes E restart issue).
nb: this also adds checking for setting of fd flags when we get the
keymap fd.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Carsten Haitzler (Rasterman) [Mon, 2 Feb 2015 05:13:58 +0000 (14:13 +0900)]
e randr config - fid selecting of screen to populate correctly
Mike Blumenkrantz [Mon, 2 Feb 2015 00:04:53 +0000 (19:04 -0500)]
don't hide client before delete in win del trap
Mike Blumenkrantz [Mon, 2 Feb 2015 00:01:57 +0000 (19:01 -0500)]
delete all clients in wl delete request cb
this was doing weird stuff for some reason when it should just be deleting all clients
Marcel Hollerbach [Sat, 17 Jan 2015 11:05:21 +0000 (12:05 +0100)]
enlightenment_remote: Added a Note that not all features are available
If module msgbus is not loaded.
Mike Blumenkrantz [Fri, 30 Jan 2015 20:58:13 +0000 (15:58 -0500)]
change module version name to force module rebuild
probably will prevent crashes from people who are using older modules with git
Mike Blumenkrantz [Fri, 30 Jan 2015 20:49:15 +0000 (15:49 -0500)]
don't crash in stupid e_module dialog hack
Mike Blumenkrantz [Thu, 29 Jan 2015 21:01:25 +0000 (16:01 -0500)]
ensure no duplicate XDG paths are prepended during startup
the previous patch(es) had a number of issues which made them unsuitable for general use:
* only checking "/usr" and "/usr/local" paths, despite this only being accurate if e was installed into /usr or /usr/local
* only checking if the paths were at the beginning of the string, when it's possible that they could be anywhere
* failure to also check XDG_CONFIG_DIRS
* improper formatting: this is a bit of a nitpick, but there are no correct instances of 'strcmp(a, b) == 0' in the e codebase.