Commit Graph

19442 Commits

Author SHA1 Message Date
Mike Blumenkrantz c67e31f99b remove unnecessary EC_CHANGED from wl shell creation
new clients are always changed, this is redundant
2015-02-04 18:09:32 -05:00
Mike Blumenkrantz c196ce0c12 clamp wl popup coords to parent when possible 2015-02-04 18:09:00 -05:00
Mike Blumenkrantz ad41e45b84 set wl popups as overrides
not technically correct but will mimic expected behavior more accurately
2015-02-04 18:01:38 -05:00
Chris Michael f69dcf9181 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>
2015-02-04 12:33:04 -05:00
Chris Michael 931409c687 only send key events to focused clients
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-04 11:59:19 -05:00
Mike Blumenkrantz 7f2b83c8d9 remove unnecessary comp work in wl pixmap functionality
these are all basically no-ops anyway
2015-02-03 19:44:06 -05:00
Chris Michael 00b609ac12 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>
2015-02-03 15:37:11 -05:00
Chris Michael 0690b8debe 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>
2015-02-03 15:37:11 -05:00
Chris Michael 96dd7324f8 add a mod_changed field to compositor data so we can know when
modifiers change

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-03 15:37:11 -05:00
maxerba b238e501bd Updating serbian translation 2015-02-03 21:08:53 +01:00
Chris Michael 3be57f67ba quiet compiler warnings when building for wayland-only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-03 10:58:13 -05:00
Chris Michael c66f43593d de-e_comp_get()-ify e_utils
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-03 10:35:08 -05:00
Mike Blumenkrantz 256378577c Revert "ref/free client pixmaps during hide animations"
This reverts commit bbb04ecb32.

also fixed by deferred resource releasing
2015-02-02 17:40:11 -05:00
Mike Blumenkrantz bc59464f99 make wl clients use post render canvas cb to clear buffers 2015-02-02 16:45:18 -05:00
Mike Blumenkrantz 66e4c59764 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
2015-02-02 13:39:32 -05:00
Mike Blumenkrantz bbb04ecb32 ref/free client pixmaps during hide animations
replaces wl client crashing with a garbage frame
2015-02-02 13:38:48 -05:00
Mike Blumenkrantz 1f608490c8 make comp param in e_client_new unused 2015-02-02 12:42:43 -05:00
Mike Blumenkrantz 8d5ab29625 don't create wl clients as re_manage 2015-02-02 12:41:39 -05:00
Chris Michael b02439c14d Revert "reset keyboard modifiers when client is deleted"
This reverts commit b9f4b257d7.

Revert this quick fix as apparently it did not actually fix the problem.
2015-02-02 12:31:09 -05:00
Chris Michael b9f4b257d7 reset keyboard modifiers when client is deleted
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-02 12:27:40 -05:00
Mike Blumenkrantz 44229f20bd clean up comp object to not use deprecated comp functions 2015-02-02 12:12:12 -05:00
Chris Michael 1e77df57a8 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>
2015-02-02 12:01:53 -05:00
Carsten Haitzler 1c222e0329 e randr config - fid selecting of screen to populate correctly 2015-02-02 14:13:58 +09:00
Mike Blumenkrantz d9fec13343 don't hide client before delete in win del trap 2015-02-01 19:05:21 -05:00
Mike Blumenkrantz ae7976bdc8 delete all clients in wl delete request cb
this was doing weird stuff for some reason when it should just be deleting all clients
2015-02-01 19:05:21 -05:00
Marcel Hollerbach 4b6a473d74 enlightenment_remote: Added a Note that not all features are available
If module msgbus is not loaded.
2015-01-31 18:16:11 +01:00
Mike Blumenkrantz 4d6a978481 change module version name to force module rebuild
probably will prevent crashes from people who are using older modules with git
2015-01-30 15:58:13 -05:00
Mike Blumenkrantz 566591581b don't crash in stupid e_module dialog hack 2015-01-30 15:49:15 -05:00
Mike Blumenkrantz 4aa4c64508 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.
2015-01-29 16:01:25 -05:00
Mike Blumenkrantz fbde0824d1 Revert "Do not add /usr/share twice for XDG_DATA_DIRS"
This reverts commit e3eda1d690.

hardcoding directory paths is not a solution that I want to see used for this issue.
2015-01-29 12:43:20 -05:00
Mike Blumenkrantz 9f36dc1b43 Revert "Include /usr/local too in the no-duplication of XDG_DATA_DIRS"
This reverts commit ae3410a0ba.
2015-01-29 12:43:14 -05:00
Chris Michael 323f41122e pass the proper window to ecore_wl functions
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-29 10:15:36 -05:00
Chris Michael 6f2f7c0e94 fix copy/paste errors
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-29 10:12:08 -05:00
Chris Michael a889f55c34 start making e_grabinput work for wayland (nb: not finished yet)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-29 09:54:43 -05:00
Chris Michael b42e70c73a fix e_pointer using incorrect comp variable
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-29 09:28:28 -05:00
Thanatermesis ae3410a0ba Include /usr/local too in the no-duplication of XDG_DATA_DIRS
@fix and improves the previous fix

(cherry picked from commit e0dcab584b)
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2015-01-29 08:30:14 -04:00
Thanatermesis e3eda1d690 Do not add /usr/share twice for XDG_DATA_DIRS
This commit @fix a duplicated entry in XDG_DATA_DIRS which is also
added prematurely, if eina_prefix_get is already /usr (most of the
times) we dont want to add it here

(cherry picked from commit f42f5f1cfe)
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2015-01-29 08:30:04 -04:00
Mike Blumenkrantz 1680de7ff2 use new pixmap id for internal wl wins 2015-01-28 17:34:05 -05:00
Mike Blumenkrantz 7a0ea605e6 move wl pixmap creation back to comp
after further consideration, this seems much simpler
2015-01-28 17:31:40 -05:00
Mike Blumenkrantz 2a51535fc0 Revert "move wl pixmap creation into shell, fix pixmap id usage"
This reverts commit c1a93d893e.
2015-01-28 17:29:17 -05:00
Mike Blumenkrantz c1a93d893e move wl pixmap creation into shell, fix pixmap id usage
using raw surface id here guarantees overlap between surfaces for different apps. instead, shift and add app pid to ensure uniqueness

 #barrel
2015-01-28 17:04:59 -05:00
Mike Blumenkrantz 36e4eff943 clarify wl shell errors when failing to create clients 2015-01-28 17:01:16 -05:00
Stefan Schmidt a3a0778b69 po: Change file name to adapt for randr_conf changes.
While the old file is still around it is no longer listed in SOURCES and
thus not packaged up in the tarball which leads to a fail on jenkins.
2015-01-28 09:28:06 +01:00
Chris Michael 4b992e38fd de-e_comp_get()-ify e_randr2
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 14:35:45 -05:00
Chris Michael dea5981c2f de-e_comp_get()-ify e_zone
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 14:35:19 -05:00
Chris Michael 2cdd022b1b de-e_comp_get()-ify widget_bgpreview
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 14:34:39 -05:00
Chris Michael efd406edab make e_scale get the dpi for wayland also
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 12:53:12 -05:00
Chris Michael 9e2d4c85c3 de-e_comp_get()-ify e_scale
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 12:52:13 -05:00
Chris Michael cdebd483ef de-e_comp_get()-ify e_pointer
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 12:51:35 -05:00
Chris Michael 4773f4cd12 de-e_comp_get()-ify e_gadcon_popup
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-27 12:49:28 -05:00