Commit Graph

40 Commits

Author SHA1 Message Date
Chris Michael 01ae2a6287 fix compiler warning about comparison between signed and unsigned ints
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-01-20 15:10:36 -05:00
Marcel Hollerbach 8b2eb6fb8b e_xkb: emit changed event if ECORE_X_EVENT_XKB_STATE_NOTIFY is emitted 2016-01-18 22:14:45 +01:00
Marcel Hollerbach 7e74ad229c e_xkb: emit changed event if wayland keyboard has changed 2016-01-18 22:14:45 +01:00
Marcel Hollerbach 35ae02a524 e_xkb: implement keyboard setting on wayland.
this splits e_xkb_update into a update function for wayland and x. The
matching function to the compositor type is called.

@feature
2016-01-14 18:37:27 +01:00
Mike Blumenkrantz f1faab997f only init E_EVENT_XKB_CHANGED during xkb init if xkb init hasn't already occurred
allows xkb init to be called repeatedly
2015-09-22 14:16:20 -04:00
Mike Blumenkrantz 8b932b053e update xkb settings and send xkb update event when calling e_xkb_layout_set()
resolves issue where setting a specific kbd would fail to make settings permanent
as well as not propagating the kbd change to the rest of enlightenment

fix T1810
2015-09-22 13:44:18 -04:00
Chris Michael bf19cdf337 correctly fix check for x11 compositor in e_xkb
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-01 12:23:40 -04:00
Chris Michael e94a04eddc Don't call ecore_x_xkb_select_group if the compositor is not X11
This fixes T2533 where the startup wizard would crash when run under
DRM due to the change in build options (xwayland support).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-01 09:16:18 -04:00
Mike Blumenkrantz f832640f18 block xkb activation for non-X11 compositors 2015-06-25 20:11:54 -04:00
Chris Michael 0a94e8ba71 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-05-07 15:13:10 -04:00
Mike Blumenkrantz 05d09f7c51 null check xkb layout list
CID 1039869
2014-04-04 15:04:28 -04:00
Mike Blumenkrantz c04d754ac5 enabling drm output module should NOT require X-less build.
these defines all need to be changed from HAVE_WAYLAND_ONLY to something like WITH_X or we're going to have lots of problems with xwayland later on
2014-03-18 16:14:04 -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 893b867070 add option for disabling all keyboard layout changes
SVN revision: 83674
2013-02-06 10:51:54 +00:00
Mike Blumenkrantz 3fa4115633 same xkb typo in another place
SVN revision: 83540
2013-02-01 08:24:22 +00:00
Mike Blumenkrantz 9c847e9d7f fix xkb crash
SVN revision: 83539
2013-02-01 07:48:19 +00:00
Mike Blumenkrantz 57933c9d02 giant rollup commit fixing all xkb issues
tickets #1799, #2082


SVN revision: 83531
2013-01-31 17:50:45 +00:00
Mike Blumenkrantz a4d35ff86c fix flag reduce case for when name has no / character
SVN revision: 83530
2013-01-31 17:24:31 +00:00
Mike Blumenkrantz 98bb1620f7 make one of the xkb functions less stupid
SVN revision: 83526
2013-01-31 16:07:45 +00:00
Mike Blumenkrantz a5a068a358 fix xkb variant construction, patch from Tomas Cech
ticket #2119


SVN revision: 81849
2012-12-28 22:35:10 +00:00
Mike Blumenkrantz 68e80049c7 improve xkb init: don't call setxkbmap more than once, wait a short while on a timer before setting the layout group to (hopefully) ensure that setxkbmap has completed before trying to set the group number
SVN revision: 81430
2012-12-20 09:27:35 +00:00
Mike Blumenkrantz a8143270cd always re-set xmodmap after changing kbd layout group
SVN revision: 80761
2012-12-12 13:31:18 +00:00
Carsten Haitzler 6c466cd6f3 stderr for the run cmd so we can debug and stuff...
SVN revision: 79529
2012-11-22 01:27:03 +00:00
Mike Blumenkrantz 031624abd9 xkb no longer sets dummy default layouts and is smarter about applying configs without layouts
SVN revision: 79141
2012-11-12 09:49:07 +00:00
Mike Blumenkrantz e32b918e43 send xkb update event any time e_xkb_update() is called with a real value
SVN revision: 77728
2012-10-10 09:06:21 +00:00
Mike Blumenkrantz 0521c799fa next/prev xkb layout switch actions now properly set the current/selected kbd layout name
SVN revision: 77369
2012-10-03 13:46:11 +00:00
Mike Blumenkrantz b247496406 ton of xkb fixes:
* e will no longer lose your currently selected layout on restart
* desklock layout switching now works real güd
* new e_config values to determine current and current user-selected kbd layout
* wasted my entire morning doing this

ticket #1538



SVN revision: 77356
2012-10-03 09:00:12 +00:00
Mike Blumenkrantz 74909a465b formatting
SVN revision: 77313
2012-10-02 12:14:53 +00:00
Mike Blumenkrantz 42c7aa5975 avoid setting xkb variant as ',', just set as '' instead
SVN revision: 77311
2012-10-02 12:12:03 +00:00
Carsten Haitzler 28d0ae8d0e xkb lauout patch from jeremy! :)
SVN revision: 75543
2012-08-22 11:56:12 +00:00
Mike Blumenkrantz 2b43d66f9b fix type warning
SVN revision: 75450
2012-08-20 07:50:00 +00:00
Carsten Haitzler 887dfcf3d9 e17 xkb patch building on ecore new event api. patch from:
http://trac.enlightenment.org/e/ticket/1306

but modified formatting and no theme changes.



SVN revision: 75410
2012-08-18 11:41:23 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Mike Blumenkrantz f784bff213 replace e17 logging "system" with custom eina log domain
SVN revision: 72089
2012-06-13 15:17:23 +00:00
Carsten Haitzler 9027606122 enable xkb next/prev and set actions. :)
SVN revision: 70613
2012-05-02 07:37:09 +00:00
Carsten Haitzler b8d5b3f45b skip passing variant if its just basic. never provide , in the case
ity is provided - eg for dvorak.



SVN revision: 70606
2012-05-02 06:51:14 +00:00
Carsten Haitzler e43dc09abe ok try an alternative bug workaround. seems a LOT of layouts fail
without a , after "basic". my list being:

az in br bg ma ca ir jp ru lk tw ua uz kr nec_vndr/jp pk brai tz ke bw

all kbd layotus of basic variant work with a , at the end. dvorak
seems not to, so add , always if basic, and remove if not. thats the
workaround for now.



SVN revision: 70592
2012-05-02 03:20:19 +00:00
Carsten Haitzler 5082a158f2 try get xkb to work around bugs in x11.
SVN revision: 70591
2012-05-02 02:50:48 +00:00
Carsten Haitzler 012a857244 put debug back so we can look at what works/fails.
SVN revision: 70577
2012-05-01 11:53:37 +00:00
Carsten Haitzler 5a00507e2b xkb config put into core. xkb layout is set on startup now (last one
used). removed setting up and deletion of keybindings - now its in
normal keybindings config territory. set them up yourself. much more
solid now. happy.



SVN revision: 70552
2012-04-30 09:52:05 +00:00