Commit Graph

14479 Commits

Author SHA1 Message Date
Sebastian Dransfeld df4b3baf30 fm: Use string value directly 2013-11-21 13:57:58 +01:00
Sebastian Dransfeld 4bc81e47c0 fm: really strip out multiple slashes
Fixes T161, T328, T412
2013-11-21 13:56:59 +01:00
Sebastian Dransfeld d739ed0e2e handle desktop applications better
Fixes T201
2013-11-21 13:26:09 +01:00
Sebastian Dransfeld 7a6a87b955 desktop editor: Also set try exec when set exec 2013-11-21 11:52:20 +01:00
Sebastian Dransfeld 110fa27152 desktop editor: escape path to exec
Fixes T487
2013-11-21 11:50:10 +01:00
Sebastian Dransfeld c838eb74f6 menu: These ain't errors 2013-11-21 10:50:27 +01:00
Sebastian Dransfeld 089a79693b msgbus: No error if name already registered 2013-11-21 10:50:27 +01:00
Stefan Schmidt ab82c45a5d wl_screenshot: Fix eina_file_mkstemp usage.
In my previous commit I did not took into account that ein_file_mkstemp
does not alter the given filename. This is different from mkstemp and I
missed that.

We now ask for the new filename and use it instead.
2013-11-21 09:25:56 +01:00
Cedric Bail 46ee3c3226 e: fix generation of the wallpapper from a picture.
NOTE; eina_mkstemp doesn't alter it's parameter, you need to ask the
filename if you want it.
2013-11-21 16:52:48 +09:00
Mike Blumenkrantz bedf56c457 add back/forward mouse button support for efm when a toolbar is present
button numbers untested because I don't have a mouse, so if they're wrong someone should post the results of clicking those buttons from xev

T67
2013-11-20 15:32:31 -05:00
Mike Blumenkrantz cc2939b327 prepend new windows to focus stack during init
this fixes stacking after restarts since we manage and raise windows from the bottom up, meaning that we must also build our focus stack from back to front
2013-11-20 15:32:30 -05:00
Mike Blumenkrantz d17ab08019 block mouse down focus event focus setting on already-focused windows
fixes steam menus with click focus, which previously would close immediately after opening when they lost focus
2013-11-20 15:32:30 -05:00
Mike Blumenkrantz 12ce306457 accurately set menu radio item in client vdesk Move to... submenu
T478
2013-11-20 15:32:30 -05:00
Mike Blumenkrantz 7cc9e7db3b force render queue on nocomp window hide
without this, it was possible to break the compositor by enabling options which prevent unfullscreening a window on vdesk flip, which causes nocomp mode to remain permanently enabled, even after the window has closed
2013-11-20 15:32:30 -05:00
Mike Blumenkrantz 3cd71f149b disable resizing of buttons in window remember dialog
T381
2013-11-20 15:32:30 -05:00
Carsten Haitzler 816f6d2406 allow $XDG_DESKTOP_DIR in file link paths for intl xlation
this solves T29 and then some.
2013-11-20 09:11:30 +09:00
Stefan Schmidt 4ec3258ded docs: Fix bugtracker URL to point to phab and not trac. 2013-11-19 14:30:54 +01:00
Stefan Schmidt b64b67e24b e_alert: Use correct bugtracker URL.
If we have to show the white screen of death to a user we should at
least give her the correct URL to report it to.
2013-11-19 14:27:36 +01:00
Carsten Haitzler 89fdebb9bf e_exec - after an instance has its exe deleted - set exe to NULL 2013-11-18 23:35:12 +09:00
Sebastian Dransfeld b926ac2f51 gadman: Check for valid objects
Fixes T522
2013-11-17 23:45:56 +01:00
Carsten Haitzler 38bb5e09db file preview - increase preview text to 8192bytes 2013-11-18 06:08:17 +09:00
Carsten Haitzler a10d87a326 file preview text display - calculate minimum size so alignment is ok
this fixes T444 - the display of text is properly top-left aligned
with scrollbars now actually correct too for the text provided (note
that the preview doesnt put ALL text in there. just the first N bytes
which by default is 2048 but can be changed).
2013-11-18 06:05:24 +09:00
Michael Bouchaud 423f65d114 enlightenment: remove e_border_free
e_border_free isn't defined in c code.
2013-11-16 02:24:11 +01:00
Stefan Schmidt 0afd8e8910 Avoid umask problem with mkstemp by using eina_file_mkstemp
Instead of handling umask in every mkstemp case we can simply use
eina_file_mkstemp for this.

CID: 1039806
2013-11-15 16:34:55 +01:00
Stefan Schmidt 56fe7e4e5b conf_randr: Compare mode against correct smart data.
This copy and paste bug compared the sd mode against the parent sd mode.
Classical c&p bug when having two blocks of code so similar.

CID: 1039954
2013-11-15 15:55:45 +01:00
Stefan Schmidt 5d6960c2ce e_fm/udisk: Delete the correct storage handle.
Copy and paste bug introduced in the initial port to edbus.
This could be a cause of problems when using e_fm with removable media and udisk.

CID: 1039955
2013-11-15 15:47:54 +01:00
Chris Michael 31eda6e249 e_widget_data_get Can return NULL so we should check that else we
could potentially crash the entire window manager (for a potentially
bad module).

Fixes Phab Ticket T491

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-15 10:42:33 +00:00
Carsten Haitzler fdc9b52299 randr dialog - fix badly broken screen resizing logic. now it works reliably. 2013-11-14 15:10:36 +09:00
Carsten Haitzler 4b856da2db use just pixels in slider label (size is already in title) 2013-11-13 23:16:29 +09:00
Davide Andreoli 771c352281 music-control: do not request props if the service is not up.
This prevent music player that support the dbus activation system
to be launched at module startup. Instead of blindly request properties
first check if the name has an owner.

As a side effect now the module fully support the dbus activation system:
if your player is not running it will be launched when you click his
name or any of the controls in the popup.

Note: If your player does not provide the autorun feature you can just
create a .service file in dbus share folder with the following content:

[D-BUS Service]
Name=org.mpris.MediaPlayer2.quodlibet
Exec=/usr/bin/quodlibet

...of course you must change the name of your player ;)
2013-11-11 23:40:27 +01:00
Davide Andreoli 5920551f15 music-control: use efreet to decode uri
This fix the cover image display when spaces (and probably other special chars) are in the file name.
2013-11-11 21:53:16 +01:00
Davide Andreoli 2ef11b928e music-control: add Quod Libet in players list 2013-11-11 20:45:29 +01:00
Jean-Philippe Andre 9637b07ec7 e/cserve2: add restart code for cserve2
Summary: If cserve2 crashes, enlightenment_start will respawn it again.

Test Plan:
Start E18 (in Xephyr maybe) with E_CSERVE set.
Randomly kill evas_cserve2 and enlightenment, and log out from E.

I need review for this patch as I'm not sure about all the ptrace stuff
lying around.

Reviewers: cedric

CC: raster, zmike

Differential Revision: https://phab.enlightenment.org/D287

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-11-08 16:58:28 +09:00
Chris Michael 41b0eda0d7 When binding to data_device manager, if we cannot create the resource
then notify the client and get out.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-06 07:07:50 +00:00
Chris Michael 122a962cfa Check that creating a new data_device_interface resource does not
fail, and bail out gracefully if so.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-06 07:07:50 +00:00
Chris Michael 566b27d15e If we cannot create the data_offer resource, then cleanup and exit
nicely.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-06 07:07:50 +00:00
Bertrand Jacquin 19281cfd47 BUG/MINOR: avoid bashism in system() call
Other shell than >=bash-4 and dash does not support '&>' I/O redirection.

Introduce in commit v0.17.0-1871-g18cbd6f

 « While at it, I also fixed the piping of stdout and stderr to be nicer. »
2013-11-06 01:24:28 +01:00
Tom Hacohen 18cbd6f59a wsod: Fixed gdb hangs when generating backtraces.
After a long and hard battle with the gods of bugs I finally fixed
this stupid hang. I had to dig into the gdb source code, and gdb the
hell out of gdb, but it's now solved.

First of all, we should call gdb with -batch which exits automatically.
This however is not enough to fix it. The bug was that gdb was haning
while trying to set attributes on stdin because it was waiting for input.
This is obviously problematic when running in non-interactive mode, so
I had to pipe /dev/zero to stdin to fix it.
While at it, I also fixed the piping of stdout and stderr to be nicer.
2013-11-05 15:54:15 +00:00
Carsten Haitzler baadcee049 check e passes distckec and set up a 0.18 alpha1 2013-11-05 16:44:30 +09:00
Tom Hacohen add503b260 Enlightenment alert: Fix strings to refer to Git, not svn. 2013-11-04 14:34:04 +00:00
Daniel Zaoui 2cdead8184 e_exec: fix application closing process.
This is a fix to a bug that was happening on my laptop with libreoffice.
When this last one was closed, a segfault was occurring. This was due to
the use of a freed data structure. A pointer to this structure
(instance) was still stored as data of the Ecore_Exe structure.
Now, when the instance is freed, the data of the Ecore_Exe is set to
NULL.
2013-11-04 15:19:00 +02:00
Sebastian Dransfeld 51a7ff2847 e/randr: lower monitor on middle click
If monitors are stacked above each other it is diffiult to find the
monitor below.
2013-11-04 11:16:05 +01:00
Carsten Haitzler 1f5abd1886 note valgrind wrongness and reduce exe ecit event handling complexity 2013-11-03 21:04:13 +09:00
Davide Andreoli 2822d8e22b music-control: let the popup automatically delete the cover image.
This way the image of the cover is deleted after the popup-del animation.
2013-11-02 23:09:38 +01:00
Carsten Haitzler a1d1e40559 elm integration improvement - copy themes over, fix includes and null config
provide a config upgrade path to version 13 which nulls/frees out
theme config (save memory - but more housekeeping), and that also
copeis ofer all files in ~/.e/e/themes to ~/.elementary/themes so you
don't lose themes you personally have and deletes the old e theme dir
if this succeeds.

also remove all #includes of Elementary.h and Emotion.h from single c
files as they are requirements now and in e.h

also remove theme path vars and code as theme path is no longer used.
2013-11-01 15:53:05 +09:00
Carsten Haitzler 4b4a51d189 elm theme use - use elementary only for themes and remove e's own theme
now e only uses elementary's theme. this is to stop the bitrot and
forking of e's theme vs the unified elm theme that has everything for
e in it already. this obviously makes elm a requirement of e18 on, and
this also notes that emotion is always in efl these days, so its no
longer an option, and ecore-imf is no longer used as edje does the
entires now itself. in future it'll all be elm.

this is a major unification point for themes for elm and e. this will
need some testing, but everything seems to work day-to-day, but theme
selector is untested.

this also removes the theme selector for splash as that is now simply
unified with the same theme as everything else.
2013-10-31 23:36:22 +09:00
Carsten Haitzler 6eca480e76 make emotion as well as elm requirements, ecore-imf is not used anymore. 2013-10-31 17:12:32 +09:00
Carsten Haitzler 7f78ae9e53 module version sanity check -> make sure module versions match EXACTLY.
if compile time headers (module version) does not match e's version
then modules likely may fail; to work right - so make sure they match
exactly (for release purposes)
2013-10-30 18:19:52 +09:00
Davide Andreoli 410c2a398d music_control: add metadata (title, artist and album) and the cover image to the popup
Reviewers: zmike, zehortigoza

Reviewed By: zehortigoza

CC: cedric

Differential Revision: https://phab.enlightenment.org/D272
2013-10-28 22:55:10 +01:00
Mike Blumenkrantz c2e0679c3d unbreak temp module exe event handlers
returning 0/DONE breaks successive handlers, and that's really bad if you're breaking handlers for exes that you don't own.
2013-10-28 13:22:28 +00:00
discomfitor b67381916e unfocus focused+disabled widget always, not just when focus jump fails
pretty sure this doesn't affect anything in e18, but it does break things in a really hard to reproduce setting involving clicking/disabling/focusing widgets simultaneously
2013-10-26 09:53:15 +01:00
discomfitor b11305652d sanitize widget disabled_set flag, only jump focus when disabling focused widget 2013-10-26 09:52:43 +01:00
Carsten Haitzler 221631ef19 suspend/resume handler in clock - fix and use handler that doesnt need eio ev 2013-10-23 10:03:56 +01:00
Carsten Haitzler ab3930c66a remove not connect. tnks gustavo 2013-10-22 15:55:00 +01:00
Carsten Haitzler 1c5aa36ee9 backlight - fix dimming if normal level less than dim level
if dim level is set to 20% but normal level has been moved to 10%...
when we dim dont RAISE bl level to 20% - do nothing if dim > normal.
2013-10-22 11:26:59 +01:00
Carsten Haitzler 5f60606ffe connman - tenatively add remove api - needs hooking into ui for "forget" 2013-10-22 07:56:28 +01:00
Carsten Haitzler fdbb4525a2 clock - use system timerfd change event in ecore and fix eio monitor of tz
this now uses the system ecore timedate change event instead of a
local timerfd. centralized implementation now.

also it fixes yhe eio monitor to ALSO monitor /etc as well to detect
changes to timzesone and filter down to the files needed.
2013-10-22 07:56:01 +01:00
discomfitor 481258b07b use livethumb instead of preview for tw popups to make transparency look less horrendous 2013-10-20 13:40:41 +01:00
Carsten Haitzler a4b70e791a fix unsafe list removal while walking it 2013-10-18 21:39:53 +09:00
Carsten Haitzler 19da294e8d gfix focus display in click-to-focus with keyboard triggered menus 2013-10-18 19:49:05 +09:00
Chris Michael ee0a87773c Fix rare bug where getting refresh rate may cause a crash if
mode->name is NULL by checking mode id instead of name.

Also if we are disabling a monitor, set current mode to 0.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-10-17 18:07:22 +01:00
Chris Michael 87dd451353 Fix Phab Ticket T433 for Glima where you could not disable a laptop panel
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-10-17 18:05:29 +01:00
Mike Blumenkrantz 5a519616c6 prevent layout children from being resized to 0x0 2013-10-17 09:54:42 +01:00
discomfitor d5675fd705 don't try applying randr settings when there's no outputs, this doesn't do anything 2013-10-17 08:35:27 +01:00
discomfitor 2eeb5fe129 get root window BEFORE using it to restore randr config :/ 2013-10-17 08:35:14 +01:00
Lucas De Marchi a1cb1e4671 build: Fix distcheck due to subdir sources
enlightenment_fm needs some files that are not in its subdirectory, but
rather are shared with enlightenment.

Possible solutions:

1) Use a non-recursive build for enlightenment_fm.
2) Factor out a convenience library containing necessary files
3) Copy over or link the files to build tree directory during build

For simplicity (3) is implemented here. Some files were not necessary
(e_prefix.c and e_sha1.c) and the others are now linked during build to
it's original location.
2013-10-16 01:20:40 -03:00
Lucas De Marchi c8a624cc85 build: Enable subdir-objects option in e_fm
Sadly we can't globally enable subdir-objects due to gettext choking on
it so enable at least where it's necessary. Remove the following
warning from build:

    src/bin/e_fm/Makefile.am:40: warning: source file '../e_prefix.c' is in a subdirectory,
    src/bin/e_fm/Makefile.am:40: but option 'subdir-objects' is disabled
    automake: warning: possible forward-incompatibility.
    automake: At least a source file is in a subdirectory, but the 'subdir-objects'
    automake: automake option hasn't been enabled.  For now, the corresponding output
    automake: object file(s) will be placed in the top-level directory.  However,
    automake: this behaviour will change in future Automake versions: they will
    automake: unconditionally cause object files to be placed in the same subdirectory
    automake: of the corresponding sources.
    automake: You are advised to start using 'subdir-objects' option throughout your
    automake: project, to avoid future incompatibilities.
    src/bin/e_fm/Makefile.am:43: warning: source file '../e_fm_shared_codec.c' is in a subdirectory,
    src/bin/e_fm/Makefile.am:43: but option 'subdir-objects' is disabled
    src/bin/e_fm/Makefile.am:43: warning: source file '../e_fm_shared_device.c' is in a subdirectory,
    src/bin/e_fm/Makefile.am:43: but option 'subdir-objects' is disabled
    src/bin/e_fm/Makefile.am:43: warning: source file '../e_user.c' is in a subdirectory,
    src/bin/e_fm/Makefile.am:43: but option 'subdir-objects' is disabled
    src/bin/e_fm/Makefile.am:43: warning: source file '../e_sha1.c' is in a subdirectory,
    src/bin/e_fm/Makefile.am:43: but option 'subdir-objects' is disabled
2013-10-15 11:10:50 -03:00
Mike Blumenkrantz 54b71428ca fix crash when activating e restart from start menu 2013-10-15 11:45:31 +01:00
Chris Michael 0d03652c84 Improve monitor resize/mouse interaction (hopefully).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-15 10:18:20 +01:00
Chris Michael a0e993f59b Finally fix odd TV resolution cloning
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-14 13:35:28 +01:00
Chris Michael 07fa7e4a13 Another attempt at odd TV resolution fix.
Mike, try this one "live" please

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-14 12:25:48 +01:00
Chris Michael 4df53f06e3 Revert "Fix bug when hotplugging a TV where resolution does not match the"
This reverts commit a9e09bc26d.

Breaks build, and does not fix real issue. Revert
2013-10-14 11:07:24 +01:00
Chris Michael a9e09bc26d Fix bug when hotplugging a TV where resolution does not match the
parent because a TV uses a non-standard 1360 resolution

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-14 10:53:04 +01:00
Chris Michael 886a5c4808 Fix randr cloning support with odd monitor sizes
Now, if a clone cannot be set to the same resolution as the parent,
then we will go through all the parent modes and try to find one that
Both support.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-14 09:07:26 +01:00
Chris Michael 0d28595b66 Fix issue where randr dialog would crash when trying to close after
cloning.

Don't free the mode_info returned from mode find as this mode info is
still part of the monitors collection of modes.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-14 08:30:22 +01:00
Mike Blumenkrantz cee520ff75 clip efm icon event rect
this should fix all the weird fileselector behavior that people were getting
2013-10-14 06:11:17 +01:00
Mike Blumenkrantz 408dbec23d set pager_popup name on pager popups 2013-10-14 05:04:01 +01:00
Mike Blumenkrantz e60f5261fe individial desk bgpreviews are now just icons that track the current bg image; handlers and edje are only applied when this is part of a full vdesk preview 2013-10-10 13:09:57 +01:00
discomfitor 9226b89c41 fix basic click focus settings apply
forgot to update them after removing focus-raise
2013-10-10 06:54:44 +01:00
Yossi Kantor 437114651d efm selection cleanups
1) efm fix: last_selection resets when icons are freed

2) When no icon is selected select first on Right/Down press or last on Left/Up keypress

3) Maintain order in range selection from first to last.
2013-10-09 13:28:19 +01:00
Mike Blumenkrantz f9ce4a88e0 fix click focus wizard defaults 2013-10-08 08:21:32 +01:00
q66 8e860facf4 music control: add Clementine 2013-10-07 18:16:42 +02:00
Mike Blumenkrantz 8a28ad9bb9 don't create border menu when border menu already exists
fixes crash from activating multiple bindings simultaneously which result in border menu being triggered
2013-10-07 10:12:54 +01:00
Mike Blumenkrantz f1a65ee922 remove "border_raise_on_focus" config option
buckle up. for the first time in history, a config option is getting removed instead of added.

the reasons for this removal are many, but let's go way back to the beginning and see why it was added:
oh wait, we can't because the commit message (from 2006) is

>>    patches that i said were in - commit. (see my reply emails)

>>    also finish off a TODO item or 2

reading through the TODO items which were also crossed off in that commit, I'm assuming that this was the "option to NOT raise on focus in click to focus" item.

== REASON 1 ==

the problem here is that there's another, BETTER option called "click raises window" (always_click_to_raise) which does the same thing, except it doesn't totally fuck you when you get a random X focus event, which happens more often than you might think.

this means that, to avoid broken behavior which might cause your windows to spastically raise for a few frames in common cases (using winlist...) with click-to-focus, you have to know that this is the default-enabled option that's fucking you, and you have to remember to manually disable it every time. if you DON'T know that this is the option that's fucking you, and you just see windows randomly raising on their own, you'll probably either ignore it or file a bug, when this is supposed to be a "feature" that actually worked in reverse, since it was intended only for disabling.

== REASON 2 ==

there's also auto-raise, which can be set to 0.0s, which is effectively the same thing since it also triggers on focus but can be configured not to fuck your window stack

== REASON 3 ==

aaand finally, this option makes any sort of pointer focus model impossible to use, since your windows will constantly be raising all over as you move the mouse

tl;dr: I'm removing it, e-dealwithit.gif
2013-10-07 06:49:33 +01:00
Mike Blumenkrantz 3c343db349 fix annoying gadman crash when plugging screens 2013-10-07 04:18:26 +01:00
Mike Blumenkrantz 8956de3359 cosmetic variable declaration movement 2013-10-07 04:16:24 +01:00
Mike Blumenkrantz 4446442163 remove gadcons from custom populate job during deletion
this showed up on my valgrind radar while xrandring, so it's safety time
2013-10-07 04:15:18 +01:00
Mike Blumenkrantz 54055e4125 default clock gadget config is now digital with seconds display disabled
I've never seen anyone use the analog clock, so this should save people some time when adding new clocks on their screen

next step: make the clock able to do timezones...
2013-10-07 04:01:29 +01:00
Mike Blumenkrantz c2b8ec2e03 wl_desktop_shell -> whitelisted 2013-10-07 03:54:24 +01:00
Mike Blumenkrantz 5fb09a0249 add minor optimization for e_manager_current_get for most common case
there's only more than one manager when we're running true multi-head, which is pretty rare/non-existent with compositing, so we can avoid an X call here by just returning the only possible manager
2013-10-07 03:52:09 +01:00
maxerba 0b463d2d1a Removing blank entries from desktop files 2013-10-05 14:32:17 +02:00
Carsten Haitzler 1c92e22eb2 check if class string is valid first, then make sure buffer is 0 terminated
i got a segv in an strncpy... but the bt missed telling me anything
other than it was in _e_border_eval(). gdb wouldn't help.

Thread 1 (Thread 0xb7859780 (LWP 1377)):
No symbol table info available.
No locals.
No symbol table info available.
No locals.
    at /usr/include/i386-linux-gnu/bits/string3.h:121
    buf = '\000' <repeats 4095 times>
    s = <optimized out>
    event = <optimized out>
    pnd = <optimized out>
    rem_change = 1
    send_event = 1

since this is the only strncpy, i can only conclude that something is
fishy about the src or dest buffer, and i can only guess that the
strncpy is directly in e_border.c (though it could have come from an
inline func or macro form eina etc.)... but it's the best guess i have.

the strncpy will have problems if bd->client.icccm.class > 4096 in
size. buf will not be nul terminated then:

       The strncpy() function is similar, except that at most n bytes of  src
       are  copied.  Warning: If there is no null byte among the first n bytes
       of src, the string placed in dest will not be null-terminated.

as per manpage. so there was a lurking bug with a non 0 terminated
buffer.  also added check for bd->client.icccm.class as it could be
null...
2013-10-04 16:48:21 +09:00
Mike Blumenkrantz fd18b63879 search for desktops by lowercased icccm class if it's different from uppercase
fixes finding firefox and some others
2013-10-03 11:22:32 +01:00
Mike Blumenkrantz 9210b83e5f move phony e_exec creation for borders to after the desktop is located to ensure that we actually have a chance of finding a correct instance 2013-10-03 11:21:00 +01:00
Mike Blumenkrantz 7dee42020e find efm's .desktop file for efm windows 2013-10-03 11:20:36 +01:00
Mike Blumenkrantz a2d85fc0ab don't delete just-set desktop/icon objects for borders during new_client run 2013-10-03 11:20:15 +01:00
Mike Blumenkrantz 247f45f26f don't check startup_id for internal windows
this is guaranteed to be wrong and trigger confusion in e_exec
2013-10-03 11:19:21 +01:00
Mike Blumenkrantz 9ad177dd60 bugfix: add handler for xwindow hiding in dnd
this fixes the case where a drag is occurring on a window and the window is closed/hidden before the dnd leave event occurs. previously this would break things to a moderate degree and cause further dnd operations to fail, but now we bravely soldier onward
2013-10-03 10:12:44 +01:00
Mike Blumenkrantz fbe015de2e bugfix: fileman spring window closing on desktop when dnd ends 2013-10-03 09:45:26 +01:00
Iván Briano d739c009d3 Fix shelf autohide config 2013-10-02 23:19:59 -03:00
Yossi Kantor 1ac50f65b5 e_fm custom moode (Desktop) icon navigation improved and simplified 2013-10-01 13:19:55 +01:00
Mike Blumenkrantz 15663e51f4 add test for fullscreen overrides
current status: FAIL
2013-10-01 10:34:20 +01:00
Yossi Kantor 38e3969e72 e_fm custom and regular mode icon selection 2013-09-30 14:54:49 +01:00
discomfitor 8b596394d6 use more accurate heuristics when calculating ConfigureRequest move coords:
1) invalidate moves resulting from stupid clients trying to re-set their current position (SUP WINE. YEAH, I'M TALKIN TO YOU, BUDDY. WHY YOU GOTTA BE MESSIN WITH MY WINDOW COORDS?)

2) clamp coords when screen limit policy is set to prevent clients from being outside the screen at all

3) all things are allowed, nothing is prohibited
2013-09-27 06:20:17 +01:00
discomfitor f5aa2779b1 ignore netwm activate messages during startup to avoid annoying desk flips 2013-09-27 06:20:17 +01:00
discomfitor 6b41a6dba9 never apply window placement policy on ConfigureRequest
geometry_auto_move is an option which should only be applied to "new" clients. we were erroneously applying it during client move/resize requests, which likely was causing unintended behavior. if this becomes an issue, the correct solution is to create (groan) another option to enforce window placement policy either [at all times] or [for client geometry requests]
2013-09-27 06:20:17 +01:00
Chris Michael 8404e3c180 Fix uninitialized variable warning.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-09-26 20:07:01 +01:00
Jérémy Zurcher 1a2865abec mixer: gadget conf set card name when none 2013-09-26 16:50:54 +02:00
Chris Michael 2b4a0e675b Fix RandR dailog issues.
- Detect when cloning is changed and update monitor "changes"
- When cloning, we cannot necessarily match parent's Mode, so find a
mode which matches on Size.
- Fix mouse pointer change issue where pointer was not being unset.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-26 12:15:34 +01:00
Chris Michael 04da4c6406 Bump e_randr config version so everyone starts with a clean, fresh
working configuration...now that the dialog issues are sorted ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-26 12:15:34 +01:00
Chris Michael 7a2bfc7907 Add Clone Change to Changes Enum
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-26 12:15:34 +01:00
Chris Michael 8b28549aea RandR: Fix issues discovered here during testing
- Add some more debugging printouts
- When we initially plug in a monitor, set to Clone by default
- During initial clone, we cannot assume the plugged-in device
supports the same Mode so try to find a mode based on size.
- On output changes, test that an output has a crtc assigned.
- If a detached output Was the primary monitor, reset primary in config
to a valid existing monitor.
- Improve output_crtc_find code for better detection of where we can
place a new output.
- Fix "preferred mode" detection error.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-26 12:15:34 +01:00
Mike Blumenkrantz 1eb26ec077 add special happy fun time note for e_pointer_mode function usage 2013-09-26 10:56:57 +01:00
Mike Blumenkrantz 00362b2e64 greatly improve window positioning after ConfigureRequest 2013-09-26 10:53:01 +01:00
Mike Blumenkrantz 1f442e8d96 always raise with click-to-raise. seriously this time. ALWAYS. 2013-09-25 08:25:24 +01:00
Carsten Haitzler d77faef91b fix pager segv... set active_pd to null if we are emptying pd's! 2013-09-25 12:59:17 +09:00
Chris Michael 58131a4274 Update shell for recent upstream wayland/weston changes.
- Update shell to support multiple resources on the client side

 NB: Fixes zmike wayland client crash issue ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-24 15:22:12 +01:00
Chris Michael 39816c17bc Update pointer, keyboard, and touch structures for recent upstream wayland/weston changes.
- Remove singular focus resource references
 - Use list of focus resources

 NB: Fixes zmike wayland client crash issue ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-24 15:21:29 +01:00
Chris Michael ccf2aa8d15 Update pointer, keyboard, and touch structures for recent upstream
wayland/weston changes.
 - Remove focus_resource and focus_listener
 - Use a list of resources instead of singular resource

NB: Fixes zmike wayland client crash issue ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-24 15:20:39 +01:00
Chris Michael fa91255049 Use new wl_resource_for_each to send updated seat capabilities
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-24 11:41:35 +01:00
Mike Blumenkrantz 9f652a6a86 Revert "File manager file selection improved to fit the standart"
This reverts commit c0d2c08e90.

note to self: check and make sure test patches are not committed when pushing
2013-09-24 10:13:28 +01:00
Yossi Kantor c0d2c08e90 File manager file selection improved to fit the standart 2013-09-23 03:07:29 +01:00
discomfitor 041b148631 rrrrr use right client inset offsets for calculating ConfigureRequests
T288
2013-09-20 22:21:28 +01:00
discomfitor e23879f08f don't fade backlight instantly at all times 2013-09-20 17:52:39 +01:00
discomfitor 648a748cac reorder some backlight setting to make instant changes actually instant
backlight fading on logout is no longer permanent
2013-09-20 17:18:36 +01:00
discomfitor 4697be012d move backlight shutdown after comp shutdown since we do backlight fading in comp 2013-09-20 17:17:49 +01:00
discomfitor 2e1864879d factor in client_inset when calculating ConfigureRequest xy coords
T288
2013-09-20 17:02:25 +01:00
discomfitor 3694ec8a4c force autoscroll on ibar when allowing random apps to dock
T379
2013-09-20 15:35:01 +01:00
discomfitor f7e8dee23c when clicking an ibar icon for a non-order icon that has only one window, activate the window
T375
2013-09-20 15:08:06 +01:00
discomfitor bb1f5f9fdb don't show comp win animation during a forced hide
fixes unwanted fade in when desk flip animations are disabled
2013-09-19 22:16:18 +01:00
discomfitor 373c32a83f unused warn-- 2013-09-19 20:09:41 +01:00
discomfitor a59b134e49 block signal binds on deleted borders
probably fixes pointer getting stuck on move/resize from internal windows
2013-09-19 20:09:41 +01:00
discomfitor b75f10b68b block ibar client adds for .desktops without icons
T388 probably
2013-09-19 20:09:40 +01:00
discomfitor 9aea17a978 improvement: clicking filemanager during rename cancels rename 2013-09-19 20:09:40 +01:00
discomfitor 3fb3b3520b bugfix: efm now allows repeated creation of new files from menus 2013-09-19 20:09:40 +01:00
Chris Michael 09768f143c Fix zmike issue w/ surface losing focus when we move/resize.
- Check if surface is still focused by the pointer on focus_out events
   NB: Needed due to spurious focus_out events we receive from evas/edje
 - On spurious mouse_out event, check if pointer is actually still
inside the surface.
 - Cleanup Move and Resize Grab code (don't need a binding event
struct here).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-12 15:02:59 +01:00
Chris Michael 599d98e3f3 Fix zmike issue w/ surface losing focus when we move/resize.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-12 15:02:59 +01:00
Chris Michael fddd57c7d9 Pass along the evas_event for mouse_in/out on a surface to the smart
callback.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-12 15:02:59 +01:00
Mike Blumenkrantz 964bf73ed9 tweak teamwork default settings to make it more useful 2013-09-12 09:32:42 +01:00
Carsten Haitzler 18bff67cc1 we are already at 62 shutdown entires. push up to 80 as 64 is almost full. 2013-09-12 13:59:27 +09:00
Carsten Haitzler 2ca1a5a5d4 fix comp fullscreen nocomp detection to work properly given comp changes 2013-09-12 01:23:23 +09:00
Chris Michael 0fd9c57ddc Update E18 wayland client application support with recent wayland git
changes.

 - Remove function & calls to wl_*_release as they are redefined in
the client protocol again.
 - Fix up calls for getting resource_user_data.
 - Add WL_HIDE_DEPRECTAED define

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-11 10:12:30 +01:00
Chris Michael 131eb77926 Remove wl_keyboard_release and wl_touch_release functions.
NB: Once again, they are redefined in the protocol (for now), so don't
need them here.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-11 10:12:30 +01:00
Chris Michael 01717bde88 Remove wl_pointer_release function
NB: It's redefined in the client protocol again (for now).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-11 10:12:30 +01:00
Mike Blumenkrantz bdd0bc624d add wl surface -> e_border mapping 2013-09-11 09:02:53 +01:00
Carsten Haitzler 3b539d4a0f reverse tablet enabled/disabled in config dialog. 2013-09-09 18:41:10 +09:00
Chris Michael 0844e29c63 Add missing __UNUSED__
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-09 07:33:08 +01:00
Carsten Haitzler c7694a9e6a add simple tablet acpi button event. 2013-09-09 11:29:14 +09:00
discomfitor 2f2df6346c fix harmless cast warning 2013-09-06 15:57:28 +01:00
discomfitor c27a0594c0 delete pager popup timer...always. 2013-09-06 15:55:58 +01:00
discomfitor b5c837b61e fix pager visual fade out 2013-09-05 19:01:17 +01:00
discomfitor 8b57301add ensure post_deactivate menu callbacks run when hiding all menus
fixes shelf autohiding in some cases
2013-09-05 17:26:22 +01:00
discomfitor fb9881e4bf menu callbacks should never deactivate their menus... 2013-09-05 17:25:57 +01:00
discomfitor e61e2e2a76 formatting 2013-09-05 17:03:26 +01:00
Mike Blumenkrantz 68f9e980e7 first we check focus model WITHOUT also applying automatically applied raise option, then we check focus option, THEN we check raise option 2013-09-05 13:44:34 +01:00
Mike Blumenkrantz 6074a0b25f click to raise ALWAYS raises. ALWAYS. 2013-09-05 13:42:48 +01:00
Stefan Schmidt 606b1715c1 Revert "enable subdir-objects for e_fm directory"
This reverts commit 21f4a15c90.

It breaks make distcheck. Hard to track down as the error messages came
in po processing and looked like this:
0:10:58.392 make[4]: *** No rule to make target `.deps/enlightenment_sys-e_sys_main.Po'.  Stop.

The subdir-objects confused our build setup. If anyone thinks this is
still needed and has a better fix go ahead.
2013-09-04 11:48:51 +01:00
Carsten Haitzler af576fcd8f apply show_ready timeout to each new show, not just the first one. 2013-09-04 15:13:26 +09:00
Igor Murzov 928067fa97 Update russian translation 2013-09-04 04:11:14 +04:00
Igor Murzov 519c4de7f6 Revert "updating desktop files"
This reverts commit 22f7a34e23.
2013-09-04 04:11:13 +04:00
Carsten Haitzler ae7d8e2a97 don't consider sigbus a trap/crash signal offense - i/o block error for example 2013-09-04 08:54:02 +09:00
Mike Blumenkrantz d0ddc48425 null check here in case someone decides to try crashing their compositor for fun? 2013-09-03 14:09:38 +01:00
Mike Blumenkrantz 1d2b1340a9 teamwork action can now show any uri on demand 2013-09-02 14:51:08 +01:00
Mike Blumenkrantz ef0f3322ad remove some weird gif hackaround in e_icon which breaks memfile gifs 2013-09-02 14:37:52 +01:00
discomfitor 5ed22b70e7 if out an evas 1.8 function 2013-08-31 15:09:53 +01:00
discomfitor 944cfd246d since we're now requiring an efl version which has the necessary ecore-x functions, remove old and not-compiling ecore-x randr code which obviously has never been compile tested 2013-08-31 15:07:15 +01:00
discomfitor 0b4528f3a4 this job struct member is a job, not a timer 2013-08-31 15:06:39 +01:00
discomfitor 21f4a15c90 enable subdir-objects for e_fm directory 2013-08-31 14:56:42 +01:00
discomfitor 25de811511 in a move which is likely to make me both hugely popular and unpopular, I'm removing the "extra desktops" that we've been shipping for a few years
this was, I guess, an attempt to provide users with an easily accessible ibar icon when starting a new config. problem: xterm isn't installed by default on ANY distributions! so now we end up providing a launcher which is guaranteed to fail, and that makes us look pretty stupid. same thing goes for mplayer.

regardless of whether they're installed, however, these aren't our apps, so we shouldn't be trying to provide .desktops for them: doing that tell users that we support and recommend the use of these apps, and I'm not prepared to make that claim for any app other than powerpoint.
2013-08-31 14:46:17 +01:00
Mike Blumenkrantz 34019ff85a feature: Navigate menu item now opens $HOME 2013-08-30 14:58:17 +01:00
Mike Blumenkrantz a55c3b122e only check for frame input cutting if window is not borderless 2013-08-30 11:00:55 +01:00
Mike Blumenkrantz 6337da1ef9 only cut border frames if they've been calculated 2013-08-30 10:52:21 +01:00
Mike Blumenkrantz 1709c9dda9 end desk flip immediately if there are no animating windows
fixes desk flips with no visible/non-moving windows
2013-08-30 10:39:55 +01:00
Mike Blumenkrantz 135e82e9ca show input window objects on show 2013-08-30 10:29:35 +01:00
Mike Blumenkrantz b1f98748bb only create render update tiler for comp wins that need it 2013-08-30 10:29:03 +01:00
Mike Blumenkrantz f2b4936bfa set precise_is_inside on comp image object to finally fix shaped overrides once and for all 2013-08-30 09:37:24 +01:00
Chris Michael f37f806eff Reduce extra function call to client_get_display
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-28 09:43:25 +01:00
Chris Michael 2aed20988c Get keysym from X on key_up.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-28 09:43:05 +01:00
Chris Michael ac27edb524 Remove redundant useage of grab pointer.
Add safety checks for pointer button_count.
When releasing a busy grab, also check if surface is NULL.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-28 08:16:02 +01:00
Chris Michael 1768ec7518 Increase timeout for spurious e_border mouse up.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-28 08:16:02 +01:00
Chris Michael 8560bc4726 Remove redundant wl_pointer in grab structure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-28 08:16:02 +01:00
Mike Blumenkrantz a7c4552bbe fix manager show request handler to be global and fire before the comp handler; fixes stacking and theme setting 2013-08-27 09:24:00 +01:00
Mike Blumenkrantz 3bcd77cb69 Revert "add border stacking handler as a third line of defense against missionaccomplished.jpg stacking issues"
reverts 895bf4f78f, which totally broke initial stacking of windows in almost all cases
2013-08-27 09:23:30 +01:00
Carsten Haitzler cf3c77aefd allow enter/kp enter/space to select a desktop when pager popup is up 2013-08-25 19:29:39 +09:00
Boris Faure 91668e6e8a improve e on debian kfreebsd (Patch by Petr Salinger)
Closes task 302.
2013-08-24 15:52:27 +02:00
Carsten Haitzler 83e7883ec9 allow cpufreq config to be accessed without a gadget - pstate necessity 2013-08-24 19:22:39 +09:00
Carsten Haitzler 4b08e7991a also dont access null bd pointer here either. 2013-08-24 13:30:32 +09:00
Chris Michael 5392c1884c Hook into mouse_wheel events for surface.
Send wheel event to the pointer interface.

NB: Discomfitor/Zmike .. You Have Mouse Wheel Support Now !! ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-23 11:22:23 +01:00
Chris Michael beda3a827a Handle mouse wheel events in the default pointer grab
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-23 11:21:13 +01:00
Chris Michael cc3fa0b2ba Add callbacks mouse_wheel event to the surface.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-23 11:20:38 +01:00
discomfitor 2be89a21a2 use right check on mouse_x_up to prevent random crashes 2013-08-22 18:32:06 +01:00
Mike Blumenkrantz 2b9c1e3e69 okay, setting action border on move/resize signals was a bad idea 2013-08-22 15:02:11 +01:00
Mike Blumenkrantz b14d484ad1 uniconify+unshade selected window on winlist hide 2013-08-22 14:55:57 +01:00
Mike Blumenkrantz 895bf4f78f add border stacking handler as a third line of defense against missionaccomplished.jpg stacking issues 2013-08-22 14:28:12 +01:00
Mike Blumenkrantz 5d16c96440 also unset take_focus when shading a window 2013-08-22 13:52:50 +01:00
Mike Blumenkrantz 879a260ea5 always force xwindow move during eval; fixes window positioning on shaded clients across restarts 2013-08-22 13:09:46 +01:00
Mike Blumenkrantz d1d6a1fdaf iconic windows once again remain iconic across restarts 2013-08-22 12:52:59 +01:00
Mike Blumenkrantz ce587b8181 allow mouse in focus events on focused windows; this may fix issues for the whiners who say stacking is broken 2013-08-22 12:43:34 +01:00
Mike Blumenkrantz f3643d5146 call window_resize action when beginning a netwm resize and set the direction/gravity after; fixes gtk resize grips 2013-08-22 11:34:45 +01:00
Mike Blumenkrantz 5b499d6ecf enforce action border/input_win setting whenever moving/resizing a window 2013-08-22 11:34:45 +01:00
Mike Blumenkrantz 0775d755fa formatting 2013-08-22 11:34:45 +01:00
Chris Michael 32b1e742c7 Revert "Remove call to ecore_x function for getting keycode."
This reverts commit ccb72c38ca.

Revert this (for now) because it breaks key input for wayland apps running
inside of X. Need more time to look into it....
2013-08-21 14:41:46 +01:00
Mike Blumenkrantz 4ff926f986 set some better focus-raise defaults after recent raise-on-focus fix 2013-08-21 09:29:39 +01:00
Mike Blumenkrantz c93467177a another ecore-x instance in wl_desktop_shell 2013-08-21 07:17:33 +01:00
Chris Michael ccb72c38ca Remove call to ecore_x function for getting keycode.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-20 09:56:19 +01:00
Mike Blumenkrantz d2948e941a remove unnecessary compositing check in engine config...we're always compositing 2013-08-19 14:42:33 +01:00
Mike Blumenkrantz 2c1390e7c8 fix binding upgrades from e17 2013-08-19 10:31:25 +01:00
Mike Blumenkrantz d26ad22720 fix raise on focus setting 2013-08-19 10:00:48 +01:00
Chris Michael 6e226bfd8e Fix surface input region miscalculation after resize.
NB: Try this Mike.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-19 09:23:07 +01:00
Mike Blumenkrantz 71b387deea use inlist for wl surface list 2013-08-19 03:31:24 +01:00
Carsten Haitzler 8b65fe069c pollers by default are in 1/8th of a second in ecore.... 32 made no sense. 2013-08-18 21:36:19 +09:00
Carsten Haitzler d861d10042 setenv - store all strings so they continue to work if putenv is used 2013-08-18 21:31:14 +09:00
Carsten Haitzler 2520c73d04 check permissions on socket dirs and complain if they fail - fallback too 2013-08-18 21:28:03 +09:00
Carsten Haitzler 5f4027dbca save inhibit fd from systemd or fd is closed/lost and inhibit is lost! 2013-08-18 19:49:23 +09:00
Chris Michael 9d2b22553a Revert this button_count change for now (breaking move/resize here).
Revert "Remove button increments/decrements from interface callbacks as these"

This reverts commit 2dce6d935f.
2013-08-16 13:26:19 +01:00
Chris Michael 6a8524259a E configs ping interval for clients is in ticks. Wayland event source
timers are in mils ... let's do some multiplication here to stop
clients from pinging out all the time and getting killed.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-16 13:20:59 +01:00
Chris Michael 2dce6d935f Remove button increments/decrements from interface callbacks as these
are done in the mouse up/down callbacks.

NB: Thanks for the report Mike ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-16 13:03:16 +01:00
Chris Michael e4924a5986 When surface gets destroyed, reset the pointer surface.
When calling pointer cursor set, if no current surface is focused then
unmap any existing pointer surface and set to NULL in the structure.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-16 11:56:17 +01:00
Chris Michael 1dca808f98 Get the pointer grab from the compositor's input
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-16 11:55:50 +01:00
Chris Michael 9e371c10c8 Get surface from the surface_resource data using
wl_resource_get_user_data function.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-16 09:55:23 +01:00
Chris Michael bd9da64552 No need to allocate a grab here if we are just setting busy cursor.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-16 09:51:20 +01:00
Chris Michael 9325324c03 Increment/Decrement button count in the button handlers, not in the
border hooks.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-16 09:49:52 +01:00
Chris Michael 85d881d57b On ping timeout, get grab coordinates from compositor, not from surface.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-16 09:46:27 +01:00
José Roberto de Souza c6ea785a86 Use eldbus_proxy to simplify systemd support 2013-08-15 14:21:23 -03:00
Chris Michael 4ea6be012b Remove call to ecore_evas_free (border tries to free this already).
Fix wayland-client application moving and resizing to work again.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-15 14:22:12 +01:00
Chris Michael 0ac1e9b3b9 Add edges to pointer grab for easier access during resize.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-15 14:22:12 +01:00
Mike Blumenkrantz b285449cfa try precise_is_inside for shaped windows...this may further break shaped overrides 2013-08-15 11:52:08 +01:00
Carsten Haitzler ea88d880a7 add systemd support to e_sys for shutdown/reboot/suspend/hibernate 2013-08-15 19:10:08 +09:00
Mike Blumenkrantz 900cc00b35 highlight correct keybinding when modifying an existing binding
T294
2013-08-15 09:46:44 +01:00
Mike Blumenkrantz 3f2a3848bd ensure that zone bg objects always get moved/resized during an update
T296
2013-08-15 09:46:44 +01:00
Mike Blumenkrantz 2679063067 send ibar icon signals even when app instances exist 2013-08-15 09:46:44 +01:00
Mike Blumenkrantz ca76e0f6e3 event mask comp shapes which set repeat_events more accurately 2013-08-15 09:46:44 +01:00
Mike Blumenkrantz 71d6c94b10 use e list macros for pager event handlers 2013-08-15 09:46:44 +01:00
Chris Michael 54d53d82f2 Define wayland compositor variable as externally visible (for people
using -fvisibility=hidden).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-15 07:23:43 +01:00
Chris Michael 21f267d007 Fix bug in shell which was causing wayland clients to always have
input stuck in upper case if Shift was pressed than released.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-14 14:02:23 +01:00
Mike Blumenkrantz cf76a4b142 remove redundant pager desk selection for pager popups on flip 2013-08-14 13:46:21 +01:00
Mike Blumenkrantz 517d537dfa don't iterate over pager desks to set active/inactive, this is stupid. 2013-08-14 12:53:03 +01:00
Mike Blumenkrantz 5afa40b352 remove some old pre-comp pager cruft 2013-08-14 12:49:17 +01:00
Mike Blumenkrantz 64dff19707 ignore wl shell client move/resize end hooks for now
wayland has no concept of non-pointer-based move/resize, so if these get triggered by, eg. a keyboard action, we're pretty fucked
2013-08-14 08:05:57 +01:00
Mike Blumenkrantz bba1dcfad7 don't wl shell grab on inactive shell surfaces when trying to set busy cursor; fixes infinite loop caused by ping timeout 2013-08-14 07:53:46 +01:00
Chris Michael 37e2134cf7 Fix crash when trying to move wayland client applications.
Add callbacks for e_desktop_shell interface functions (cannot be NULL
anymore).
When we bind the wl_shell, we will create the e_desktop_shell.

NB: The e_desktop_shell was not being created or bound to the display
globals.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-13 14:51:00 +01:00
Chris Michael 3883a82fe9 Move module idler until After the display is connected.
Fix getting keyboard focused resource when a modifier is pressed.
Flush clients before we dispatch events (clients may add events to the
queue).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-13 14:51:00 +01:00
Mike Blumenkrantz bf3ff4a5d1 gadman checks aspect hints during size hint change callback 2013-08-13 11:28:02 +01:00
Mike Blumenkrantz 3f001ea778 changing aspect on a non-layouted gadcon client sets evas aspect hint instead 2013-08-13 11:27:42 +01:00
Mike Blumenkrantz 1d324abd7a changing gadman gadget orientations using menu now guesses new orientation sizes much more accurately 2013-08-13 11:20:39 +01:00
Mike Blumenkrantz f92175c39f only add gadman menu orient callbacks if orient is not current orient 2013-08-13 11:20:15 +01:00
Mike Blumenkrantz 84dc539ddf ibar obeys max size hint 2013-08-13 11:04:55 +01:00
Mike Blumenkrantz 28cc3f0a0a gadman now respects gadget aspect and sets max size hint while resizing gadgets 2013-08-13 11:04:36 +01:00
Mike Blumenkrantz 0cc522d128 add max(w,h) to gadcon client struct, only used as yet-another-gadman-hack 2013-08-13 11:03:50 +01:00
Mike Blumenkrantz 0bb7ceb97c ibar now sets min size on init and then sets ASPECT on resize, since this is how we get correct sizing without being unable to ensmallen the gadget 2013-08-13 11:02:50 +01:00