Chris Michael [Tue, 13 Aug 2013 13:49:30 +0000 (14:49 +0100)]
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>
Chris Michael [Tue, 13 Aug 2013 13:44:52 +0000 (14:44 +0100)]
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>
Mike Blumenkrantz [Tue, 13 Aug 2013 10:28:02 +0000 (11:28 +0100)]
gadman checks aspect hints during size hint change callback
Mike Blumenkrantz [Tue, 13 Aug 2013 10:27:42 +0000 (11:27 +0100)]
changing aspect on a non-layouted gadcon client sets evas aspect hint instead
Mike Blumenkrantz [Tue, 13 Aug 2013 10:20:39 +0000 (11:20 +0100)]
changing gadman gadget orientations using menu now guesses new orientation sizes much more accurately
Mike Blumenkrantz [Tue, 13 Aug 2013 10:20:15 +0000 (11:20 +0100)]
only add gadman menu orient callbacks if orient is not current orient
Mike Blumenkrantz [Tue, 13 Aug 2013 10:04:55 +0000 (11:04 +0100)]
ibar obeys max size hint
Mike Blumenkrantz [Tue, 13 Aug 2013 10:04:36 +0000 (11:04 +0100)]
gadman now respects gadget aspect and sets max size hint while resizing gadgets
Mike Blumenkrantz [Tue, 13 Aug 2013 10:03:50 +0000 (11:03 +0100)]
add max(w,h) to gadcon client struct, only used as yet-another-gadman-hack
Mike Blumenkrantz [Tue, 13 Aug 2013 10:02:50 +0000 (11:02 +0100)]
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
Mike Blumenkrantz [Tue, 13 Aug 2013 09:22:24 +0000 (10:22 +0100)]
bugfix: setting min size on a gadget now propagates to desktop gadgets
Chris Michael [Thu, 8 Aug 2013 08:34:54 +0000 (09:34 +0100)]
Bump required wayland library versions.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Sebastian Dransfeld [Wed, 7 Aug 2013 08:46:39 +0000 (10:46 +0200)]
e: Use same XDG_RUNTIME_DIR template as efreet
Chris Michael [Tue, 6 Aug 2013 12:27:54 +0000 (13:27 +0100)]
Fix Wayland Client Application Support to work again !! :)
- Add NULL handler for desktop_ready callback
- Add separate binding callback function for the desktop shell
- Create desktop shell resource with proper version.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 6 Aug 2013 11:38:48 +0000 (12:38 +0100)]
Add desktop_ready request to desktop_shell interface.
Fix desktop_shell events for recent protocol changes.
Bump number of desktop_shell requests.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 6 Aug 2013 11:37:11 +0000 (12:37 +0100)]
Add "desktop_ready" function to desktop_shell interface.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 6 Aug 2013 11:36:48 +0000 (12:36 +0100)]
Update desktop_shell xml file for version 2.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 6 Aug 2013 11:35:55 +0000 (12:35 +0100)]
Add functions to surface interface for buffer_transform and
buffer_scale set.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 5 Aug 2013 07:57:57 +0000 (08:57 +0100)]
When we try to re-enable a monitor, check the Crtc Mode (not the smart
object Current mode) to determine if it is already disabled.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 5 Aug 2013 07:08:33 +0000 (08:08 +0100)]
Don't do randr restore if we have fake screens. (requested by release
master) ;)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Mon, 5 Aug 2013 07:06:24 +0000 (08:06 +0100)]
+e_xinerama_fake_screens_exist
Chris Michael [Fri, 2 Aug 2013 16:06:55 +0000 (17:06 +0100)]
When we have to calculate screen size, it May actually Help to get the
crtc id that we need to fetch values for.
NB: Phab Ticket T258
NB: /me slaps self
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Chris Michael [Fri, 2 Aug 2013 15:59:11 +0000 (16:59 +0100)]
Only create primary output frame if we have more than one monitor to
choose from.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Carsten Haitzler (Rasterman) [Fri, 2 Aug 2013 14:06:22 +0000 (23:06 +0900)]
as of e18 - we now are compositing only, which means we also don't
have to do a revers then forward paass in eval... which can cause ugly
things like reverse-evaluation :)
Chris Michael [Fri, 2 Aug 2013 10:36:52 +0000 (11:36 +0100)]
Remove duplicated local variable.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 2 Aug 2013 10:36:07 +0000 (11:36 +0100)]
Remove return value in function returning void.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 2 Aug 2013 10:06:02 +0000 (11:06 +0100)]
Add a disabled state to the indicator event rectangle
NB: This is so that the indicator mouse events can be disabled, thus
not allowing Silly people to turn off their Only single monitor.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 2 Aug 2013 10:04:21 +0000 (11:04 +0100)]
When we have finished creating all monitors, if there is only One
monitor existing, then disable the ability to toggle the indicator.
NB: This is for silly people who (for whatever reason) decide that
it's a good idea to try and turn off their Only monitor.
NB: Fixes Phab Ticket T257
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 2 Aug 2013 10:04:04 +0000 (11:04 +0100)]
Add function to allow disable/enable of the indicator toggle.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 2 Aug 2013 10:03:49 +0000 (11:03 +0100)]
Add function prototype for disable/enable of the toggle indicator.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Carsten Haitzler (Rasterman) [Fri, 2 Aug 2013 07:57:06 +0000 (16:57 +0900)]
solve a race condition for stacking of windows if opened at the same
time by the same client.
Chris Michael [Thu, 1 Aug 2013 07:58:37 +0000 (08:58 +0100)]
Handle case of snapping for monitor being moved.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 1 Aug 2013 07:16:39 +0000 (08:16 +0100)]
Big giant Monitor Snapping Fix when we resize or move !! ;)
- Add previous monitor geometry to smart data structure.
- When we set the crtc, also set the monitor current geometry.
- Add function to return the previous monitor geometry.
- On a mouse up, check for monitor location difference versus previous
geometry, if nothing changed then we have no 'move' to do.
- When we start a resize, record the previous geometry and raise the
monitor.
- When a monitor is moved/resized we call the position_update function
which already loops all monitors, so no need to loop them twice.
- Fix position_update function to allow some Snapping Fuzziness so
that on a move/resize any adjoining monitors (within tolerance) will
more reliably snap to each other.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 1 Aug 2013 07:15:49 +0000 (08:15 +0100)]
Add function prototype for returning previous geometry.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
maxerba [Wed, 31 Jul 2013 10:08:42 +0000 (12:08 +0200)]
updating desktop files
maxerba [Wed, 31 Jul 2013 10:05:46 +0000 (12:05 +0200)]
updating esperanto and french translations
Chris Michael [Wed, 31 Jul 2013 09:52:06 +0000 (10:52 +0100)]
Implement rudamentary monitor snapping after move.
After a monitor has been moved, snap it to the closest monitor.
NB: This should fix cases where a monitor could not be positioned next
to another monitor which had a resolution of 1368. Previously, the
second monitor could only move to 1366 due to a rounding issue when
converting coordinates to virtual. Now, the second monitor (when
finished moving) will Snap to the proper position.
NB: (Currently) In order for the snapping to work, either the
monitors' X axis or Y axis must be equal. Ideally, this should be
fixed to allow for some percentage of position flexibility.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Carsten Haitzler (Rasterman) [Tue, 30 Jul 2013 11:30:19 +0000 (20:30 +0900)]
THIS like was a dos newline. it switched jed to dos newline mode! aaagh!
Carsten Haitzler (Rasterman) [Tue, 30 Jul 2013 11:26:28 +0000 (20:26 +0900)]
Revert "errr. why is git saying every line changed? wth?"
This reverts commit
3c3e076f1524473e37dce856cc8a14ce4fbfb4b2.
Carsten Haitzler (Rasterman) [Tue, 30 Jul 2013 11:20:49 +0000 (20:20 +0900)]
errr. why is git saying every line changed? wth?
Yossi Kantor [Mon, 29 Jul 2013 14:24:41 +0000 (17:24 +0300)]
Bugfix: ibar popup doent show on additional screens just on main
Chris Michael [Fri, 26 Jul 2013 15:35:23 +0000 (16:35 +0100)]
When we are re-enabling a monitor, do not free the mode info from the
smart data's list of modes. This will get freed when the dialog closes.
Fix some formatting for 80 columns.
NB: Should fix etrunko crash ;)
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Mike Blumenkrantz [Fri, 26 Jul 2013 15:13:06 +0000 (16:13 +0100)]
shouldn't be setting ignore on systray xembed base, this was needed when we were creating comp wins at the wrong time
Mike Blumenkrantz [Fri, 26 Jul 2013 15:11:49 +0000 (16:11 +0100)]
ensure that comp win's shape is shown when showing windows during comp win update nightmare
Mike Blumenkrantz [Fri, 26 Jul 2013 15:11:18 +0000 (16:11 +0100)]
missed a comment on this debugging else here which may have broken the world if given the chance
Mike Blumenkrantz [Fri, 26 Jul 2013 15:11:00 +0000 (16:11 +0100)]
continue to ignore ignored comp wins in show event
Mike Blumenkrantz [Fri, 26 Jul 2013 13:45:07 +0000 (14:45 +0100)]
fix ibar exe indicator visibility when using vertical orientation
Mike Blumenkrantz [Fri, 26 Jul 2013 13:42:48 +0000 (14:42 +0100)]
fix ibar client menu to track multiple windows per exe
Mike Blumenkrantz [Fri, 26 Jul 2013 12:54:53 +0000 (13:54 +0100)]
block gadman drags originating from other gadcons
T251
Mike Blumenkrantz [Fri, 26 Jul 2013 12:42:29 +0000 (13:42 +0100)]
better fix for border theme remembers that doesn't break all borders...
Mike Blumenkrantz [Fri, 26 Jul 2013 12:15:48 +0000 (13:15 +0100)]
bugfix: border style remembers
T248
Mike Blumenkrantz [Fri, 26 Jul 2013 11:50:28 +0000 (12:50 +0100)]
bugfix: fileman double click auto-resizing now accounts for toolbar/sidebar and accounts for maximized state
T208
Mike Blumenkrantz [Fri, 26 Jul 2013 11:32:18 +0000 (12:32 +0100)]
move comp focus-out color class to Window Manager section in color config
T242
Mike Blumenkrantz [Fri, 26 Jul 2013 11:25:31 +0000 (12:25 +0100)]
only show a comp win when it is no longer animating from a hide() call
this should greatly reduce pixmap tearing when mousing through menus quickly
Mike Blumenkrantz [Fri, 26 Jul 2013 11:24:11 +0000 (12:24 +0100)]
creating comp wins on X win creation is totally broken: no X functions will work here until a window is mapped!
instead, create them after MapRequest event
Mike Blumenkrantz [Fri, 26 Jul 2013 11:23:28 +0000 (12:23 +0100)]
add a bunch of commented debug messages in comp
Mike Blumenkrantz [Fri, 26 Jul 2013 11:22:42 +0000 (12:22 +0100)]
simplify comp win dmg update adding on show; no functional changes
Mike Blumenkrantz [Fri, 26 Jul 2013 11:21:41 +0000 (12:21 +0100)]
a comp win resize is only a damage event if the window is visible
Mike Blumenkrantz [Fri, 26 Jul 2013 11:20:30 +0000 (12:20 +0100)]
unset damage updates when hiding window
Mike Blumenkrantz [Fri, 26 Jul 2013 11:19:34 +0000 (12:19 +0100)]
only update comp win pixmap if there are damage updates since this will fail otherwise
Mike Blumenkrantz [Fri, 26 Jul 2013 11:18:45 +0000 (12:18 +0100)]
get comp win attrs when e_border not present; this is just a simplification and not functionally different
Mike Blumenkrantz [Fri, 26 Jul 2013 10:06:12 +0000 (11:06 +0100)]
don't set comp dumps/flushes for deleted comp wins
Mike Blumenkrantz [Fri, 26 Jul 2013 10:05:17 +0000 (11:05 +0100)]
add delete flag to e_border to alert us that this client window is dead
Mike Blumenkrantz [Fri, 26 Jul 2013 10:04:36 +0000 (11:04 +0100)]
don't set managed/mapped atoms during hide if window was delete requested
Mike Blumenkrantz [Fri, 26 Jul 2013 10:04:04 +0000 (11:04 +0100)]
only set client hints for withdrawn if client is not dead
Mike Blumenkrantz [Fri, 26 Jul 2013 09:09:17 +0000 (10:09 +0100)]
comp pixmap fetching before the window's first map will always fail, so it's enough to just let the render queue handle updating here
Mike Blumenkrantz [Fri, 26 Jul 2013 09:09:04 +0000 (10:09 +0100)]
only move/resize client lock_win if it exists
Mike Blumenkrantz [Fri, 26 Jul 2013 09:04:26 +0000 (10:04 +0100)]
don't try sibling stacking the comp canvas to a non-sibling window
Mike Blumenkrantz [Fri, 26 Jul 2013 09:04:01 +0000 (10:04 +0100)]
make e_hints setup slightly more clue-ful
Chris Michael [Fri, 26 Jul 2013 11:05:52 +0000 (12:05 +0100)]
Setup XDG_RUNTIME_DIR before doing ecore_imf init.
NB: Ecore_IMF (when it uses the wayland module) needs to have
xdg_runtime_dir set. This change ensures that env variable is set
before we init ecore_imf.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 26 Jul 2013 11:05:31 +0000 (12:05 +0100)]
Use wl_resource_get_link when creating keyboard resource
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Stefan Schmidt [Thu, 25 Jul 2013 12:35:24 +0000 (13:35 +0100)]
wl_screenshot: Remove non-existing file from SOURCES to fix distcheck
Chris Michael [Thu, 25 Jul 2013 12:28:46 +0000 (13:28 +0100)]
Properly check for primary output during new configurations.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Thu, 25 Jul 2013 12:15:09 +0000 (13:15 +0100)]
fix evry edc calc error
Chris Michael [Thu, 25 Jul 2013 07:19:59 +0000 (08:19 +0100)]
Remove dead wl_shell module. Was replaced by wl_desktop_shell.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Wed, 24 Jul 2013 06:09:12 +0000 (07:09 +0100)]
placeholder commit because I screwed up a rebase somehow: previous two commits were to revert
09b4dfb940f020e087acdc2537db3bc4e27cebeb and
f55e5e86cfe2b3dfb8caf5382feb185aa3d37874 which were reported to have broken some things for users
Mike Blumenkrantz [Wed, 24 Jul 2013 06:05:41 +0000 (07:05 +0100)]
asdf
Mike Blumenkrantz [Wed, 24 Jul 2013 06:05:24 +0000 (07:05 +0100)]
asdf
Carsten Haitzler (Rasterman) [Tue, 23 Jul 2013 16:24:03 +0000 (01:24 +0900)]
adjust battery sizing
Chris Michael [Tue, 23 Jul 2013 13:30:49 +0000 (14:30 +0100)]
Update Makefile.am for wl_screenshot module
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 23 Jul 2013 13:30:35 +0000 (14:30 +0100)]
Update configure.ac for wl_screenshot module
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 23 Jul 2013 13:30:09 +0000 (14:30 +0100)]
Update wayland screenshot module code and make it functional again.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 23 Jul 2013 13:29:16 +0000 (14:29 +0100)]
Update screenshot protocol files for addition of done event
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 23 Jul 2013 13:28:02 +0000 (14:28 +0100)]
Add wl_screenshot module makefile
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 23 Jul 2013 13:27:52 +0000 (14:27 +0100)]
Add wl_screenshot module desktop file
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 23 Jul 2013 12:01:45 +0000 (13:01 +0100)]
Update screenshot protocol for done event.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Carsten Haitzler (Rasterman) [Fri, 19 Jul 2013 00:31:55 +0000 (09:31 +0900)]
zoomap always on popups - i enabled this before.
shelves are almost always around. that means that unless you magically
can do partial rendering, comp updates re-render shelf AND all
contents. for systems this means much mofre gl overhead thatn with
e17. to do a mid-way house, force zoomaps on for shelves, until evas
can auto stuff smart objects into buffers on its own based on behavior.
Chris Michael [Mon, 15 Jul 2013 12:40:32 +0000 (13:40 +0100)]
Update wayland-client support for recent Wayland api changes (replace
wl_display_add_global with wl_global_create, and fix wl_client calls
to create resources with wl_resource).
NB: This brings client support up to par with version 1.2 of Wayland
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 15 Jul 2013 12:25:05 +0000 (13:25 +0100)]
struct wl_buffer is deprecated now so just use a void pointer.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Carsten Haitzler (Rasterman) [Mon, 15 Jul 2013 07:34:14 +0000 (16:34 +0900)]
enlarge taskbar buttons a bit so those with 24px shelves.. can use
them. :)
Carsten Haitzler (Rasterman) [Mon, 15 Jul 2013 02:45:19 +0000 (11:45 +0900)]
fix warnings in build so new ones turn up and get fixed.
Carsten Haitzler (Rasterman) [Mon, 15 Jul 2013 02:25:14 +0000 (11:25 +0900)]
store startup id in exehist as e restart was not self-exec as of e17
Carsten Haitzler (Rasterman) [Sun, 14 Jul 2013 09:04:27 +0000 (18:04 +0900)]
fix mounted fs used/free/reserved display to work again...
Iván Briano [Fri, 12 Jul 2013 18:13:45 +0000 (15:13 -0300)]
Look for edje_cc in the right place when importing wallpapers
Some of us do funky things like not having a proper PATH set when E
starts, so let's not rely on such black magics when we have better methods.
Mike Blumenkrantz [Fri, 12 Jul 2013 12:59:24 +0000 (13:59 +0100)]
revert last, useless commit; what I really meant was to remove the unnecessary evas image calls
Mike Blumenkrantz [Fri, 12 Jul 2013 11:52:40 +0000 (12:52 +0100)]
minor comp optimization: reduce frequency of ecore-x calls when updating pixmaps for non-gl surfaces
Mike Blumenkrantz [Wed, 10 Jul 2013 15:04:01 +0000 (16:04 +0100)]
return correct layer value when getting comp layer for border objects
Mike Blumenkrantz [Tue, 9 Jul 2013 10:50:10 +0000 (11:50 +0100)]
get window geometry for overrides during shape update, not pixmap geometry
Chris Michael [Tue, 9 Jul 2013 10:43:29 +0000 (11:43 +0100)]
Remove duplicate call to layer_set.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 9 Jul 2013 09:27:25 +0000 (10:27 +0100)]
Update e_comp_wl with recent wayland changes
- wl_client functions have been deprecated. replaced with wl_resource
functions
Signed-off-by: Chris Michael <cp.michael@samsung.com>