summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* xwayland: Don't leak memory on dnd read failuredevs/derekf/clipboardDerek Foreman2016-03-311-0/+1
|
* remove clamping for wl xdg popup configuresMike Blumenkrantz2016-03-311-8/+2
| | | | I don't remember why I added it but it's wrong and so was I
* wayland: Stop E from consuming all CPU as soon as a selection is madeDerek Foreman2016-03-311-3/+3
| | | | | | | | Clipboard fds from clients are regular files, which shouldn't be passed to fd_handler_add. Using the wrong add function causes epoll to return immediately and we end up running idle handlers and burning cpu. Reviewed-by: Mike Blumenkrantz <zmike@osg.samsung.com>
* wayland: Don't leak a clipboard source if adding fd handler failsDerek Foreman2016-03-311-1/+6
| | | | Reviewed-by: Mike Blumenkrantz <zmike@osg.samsung.com>
* don't set wl xdg popups to POPUP layer, set popups as placed on creationMike Blumenkrantz2016-03-311-2/+1
| | | | resolves random popup placements
* enforce wl xdg popup stacking relative to parent stackingMike Blumenkrantz2016-03-312-0/+8
|
* set destructor for xdg popups when setting implementationMike Blumenkrantz2016-03-311-1/+1
| | | | popups never get deleted without this
* do not reset previously-set ec->placed state when attempting early client movesMike Blumenkrantz2016-03-311-1/+2
|
* apply compositor keybinds if an action client that is not focus existsMike Blumenkrantz2016-03-311-0/+1
|
* only attempt to rescue offscreen clients if they are completely offscreenMike Blumenkrantz2016-03-311-1/+1
|
* allow some client zone/desk move actions to occur on action clientMike Blumenkrantz2016-03-311-0/+6
|
* remove wl xdg popup new_client stuff from get_popup methodMike Blumenkrantz2016-03-311-4/+0
| | | | ref d7f7eb9448dc804f0d0d8d09837ad395abb579a8
* optimize case where an x11 client is focused/unfocused in same loop iterationMike Blumenkrantz2016-03-311-0/+10
|
* explicitly manage client focus when setting/unsetting input grabsMike Blumenkrantz2016-03-311-1/+13
| | | | | | | clients cannot retain focus during a compositor grab, so ensure that they do not think they have focus in such cases fix T3338
* block wl keyboard modifier updating during input grabsMike Blumenkrantz2016-03-311-1/+1
|
* force keyboard modifier update on wl client focus-inMike Blumenkrantz2016-03-311-0/+1
| | | | ensure that clients always receive up-to-date modifiers when they get focus
* don't show some x11-specific compositor settings under waylandMike Blumenkrantz2016-03-301-45/+28
|
* remove old compositor reset codeMike Blumenkrantz2016-03-302-10/+0
|
* reshuffle notifications on replaceMike Blumenkrantz2016-03-301-0/+1
|
* track offline/presentation mode notification ids and replace on toggleMike Blumenkrantz2016-03-301-5/+16
|
* move notification text escaping into dbus notify method callbackMike Blumenkrantz2016-03-302-160/+160
| | | | | | | this ensures that notification text reaching the module can be considered "usable" without forcing multiple escape passes onto the same notification fix T2757
* selectively reject comp object signal emissions based on action_client stateMike Blumenkrantz2016-03-301-2/+9
| | | | | | | | | | | | | | in the case where a mouse binding is active and a signal binding is triggered by the same mouse-up event which also ends the mouse binding, the deferred nature of edje emissions will result in the signal being received by the corresponding callback some time after the mouse-up event has been handled by the client and the mouse binding has ended to accurately handle these cases, signal bindings triggered in the same event loop in which a mouse binding has ended after a mouse-up must be rejected in order to enforce the compositor's mouse grab fix T3347
* feed mouse out to internal clients upon activating a mouse bindingMike Blumenkrantz2016-03-301-0/+1
| | | | | | | this prevents internal windows from effectively processing pending mouse-up events ref T3347
* add even more systray/dbusmenu hacksMike Blumenkrantz2016-03-281-41/+70
| | | | | | | mrw Qt systray devs take working (4.X) and then break it in 5.X to be worse than steam: http://gfycat.com/CloudyPinkEmperorshrimp fix T3139
* ignore x11 ConfigureRequest events when maximize_override is setMike Blumenkrantz2016-03-281-2/+2
|
* use canvas pointer coords in systray mouse cbMike Blumenkrantz2016-03-281-1/+1
|
* remove deleted clients from tasks client list during repopMike Blumenkrantz2016-03-281-0/+2
| | | | fix T3369
* do not add deleted clients to tasks gadgetsMike Blumenkrantz2016-03-281-2/+2
|
* redo wayland client unignore mechanismMike Blumenkrantz2016-03-242-22/+13
| | | | | | | | | | | wayland clients were previously set as ignored until they obtained a shell surface in order to avoid early execution of things like placement. this had no effect. the ignore must last until the first commit, at which point surfaces have been sized and can be placed accurately without needing to move the surface around a lot of times due to resize/frame adjust/birthdays
* do not set initial changed state for new clients if they are ignoredMike Blumenkrantz2016-03-241-3/+4
| | | | this loops the client idler for no reason
* e_xkb: init before e_comp_wl initMarcel Hollerbach2016-03-245-18/+20
| | | | | | | | | | | | for the case e_xkb gets initialized, we need to init it before ecore_drm is called, otherwise ecore_drm will create his own context and keymap, which will be overriden a few moment later when e_xkb is initializied. So by calling e_comp_wl_input_keymap_set before ecore_drm_init the correct context and keymap is set and no useless elements are created. The mainproblem is that the comp_type is set when the compositor is already running, so we have to pass the type at the init to the e_xkb to tell for which kind of compositor we are running.
* e_comp_wl: let keymaps be set when compositor is not runningMarcel Hollerbach2016-03-241-19/+42
| | | | | | if someone tries to set a new file to the wl compositor and it is not running the values are cached now and setted when the compositor is running.
* e_comp_wl: remove useless params from keymap_setMarcel Hollerbach2016-03-243-27/+18
|
* wl: remove useless calls to e_comp_wl_input_keymap_setMarcel Hollerbach2016-03-244-133/+0
| | | | | those calls are not needed anymore since they will be overriden by e_xkb init which takes place a few calls later
* e_xkb: configure model and a list of layouts variants and options to useMarcel Hollerbach2016-03-241-3/+65
| | | | | the e_comp_wl function takes a list of layouts variants and options which should be generated from the configured.
* e_comp_wl: allow variants and options for keyboard settingsMarcel Hollerbach2016-03-245-22/+28
| | | | | | Also set options and variants to the rule names struct. There is no need to use strdup here the values are just freed in the end.
* e_xkb: refactor command creation codeMarcel Hollerbach2016-03-241-7/+1
| | | | | -model was set to default if e_config->xkb.default_model was default. Fix this and always set e_config->xkb.default_model.
* feed mouse-up events for all buttons on internal wins when activating a bindingMike Blumenkrantz2016-03-241-0/+13
| | | | | | | bindings enforce compositor grabs, which will result in stuck canvas buttons and break internal windows which have already received button presses fix T3347
* add #else to #if 0'd block in order to avoid compiler warning aboutChris Michael2016-03-241-0/+3
| | | | | | unused variable. Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
* Reverting this commit to handle a better wayChris Michael2016-03-241-1/+1
| | | | | | Revert "add EINA_UNUSED for unused function parameter" This reverts commit 59c0e7f5865064acf2339649f939de1c2a84ff23.
* add EINA_UNUSED for unused function parameterChris Michael2016-03-241-1/+1
| | | | | | | As the block which uses this parameter is #if 0'd out, we end up not using this param, which generates a compiler warning Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
* e mod: cpufreq - handle the case where cpu has zero freqs - dont crashCarsten Haitzler (Rasterman)2016-03-241-15/+21
| | | | | | | it can be that if you remove setuid bits on cpufreq binary we can end up with zero freqs on bsd. this causes a crash. @fix
* Add functionality for setting left handed mode in drmJengHyun Kang2016-03-231-1/+15
| | | | | | | | | | | | | | | | | | | Summary: - Change mouse button mapping for left handed mode - Change a mouse_hand config and save Currently e_mouse had e_mouse_update() API for support left_handed mode. But that API only for Xorg not support wayland and only for update mapping not change mapping. So I added new support for change mouse mapping for left handed mode and support wayland backend system. Test Plan: After set left handed mode, mouse button mapping is changed for left handed people. Reviewers: raster, devilhorns, zmike Subscribers: ohduna, input.hacker, cedric Differential Revision: https://phab.enlightenment.org/D3433
* send resize edges to wl clients on resize start and endMike Blumenkrantz2016-03-231-0/+7
|
* optimize compositor canvas updating when zone geometry is marked dirtyMike Blumenkrantz2016-03-233-37/+40
| | | | | | | | | | | in many cases where a zone's useful geometry is marked dirty, the resulting recalc ends up having the same useful geometry as before: this is the case for things like tasks gadgets, which continually expand and contract along a single axis and thus will never affect useful geometry while still forcing a recalc by ignoring these cases, a huge amount of compositor thrashing is avoided and a number of related bugs can also be fixed
* remove lots of impossible null checks from pager move callbackMike Blumenkrantz2016-03-221-20/+9
| | | | CID 1237302
* use snprintf for string handling in batgetMike Blumenkrantz2016-03-221-2/+1
| | | | CID 1039801
* rework systray theme applying codeMike Blumenkrantz2016-03-221-50/+8
| | | | | | potentially the most overoptimized string handling code I've ever seen. CID 1039843
* use snprintf for string handling in batgetMike Blumenkrantz2016-03-221-2/+1
| | | | CID 1039801
* use eina_streq for e_util_binding_match() comparisonsMike Blumenkrantz2016-03-221-1/+1
| | | | | | | optimizes what is likely a stringshare comparison as well as avoiding null derefs CID 1191998