Chris Michael [Mon, 19 Aug 2013 08:23:07 +0000 (09:23 +0100)]
Fix surface input region miscalculation after resize.
NB: Try this Mike.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Mon, 19 Aug 2013 05:26:35 +0000 (06:26 +0100)]
remove shadow from fullscreen comp edc
Mike Blumenkrantz [Mon, 19 Aug 2013 05:26:13 +0000 (06:26 +0100)]
hide client swallow during shade
Mike Blumenkrantz [Mon, 19 Aug 2013 02:31:24 +0000 (03:31 +0100)]
use inlist for wl surface list
Carsten Haitzler (Rasterman) [Sun, 18 Aug 2013 12:36:19 +0000 (21:36 +0900)]
pollers by default are in 1/8th of a second in ecore.... 32 made no sense.
Carsten Haitzler (Rasterman) [Sun, 18 Aug 2013 10:50:01 +0000 (19:50 +0900)]
setenv - store all strings so they continue to work if putenv is used
Carsten Haitzler (Rasterman) [Sun, 18 Aug 2013 10:51:03 +0000 (19:51 +0900)]
check permissions on socket dirs and complain if they fail - fallback too
Carsten Haitzler (Rasterman) [Sun, 18 Aug 2013 10:49:23 +0000 (19:49 +0900)]
save inhibit fd from systemd or fd is closed/lost and inhibit is lost!
Chris Michael [Fri, 16 Aug 2013 12:26:19 +0000 (13:26 +0100)]
Revert this button_count change for now (breaking move/resize here).
Revert "Remove button increments/decrements from interface callbacks as these"
This reverts commit
2dce6d935f0b80624743c0e1382b924f2c31e137.
Chris Michael [Fri, 16 Aug 2013 12:20:59 +0000 (13:20 +0100)]
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>
Chris Michael [Fri, 16 Aug 2013 12:03:16 +0000 (13:03 +0100)]
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>
Chris Michael [Fri, 16 Aug 2013 10:56:17 +0000 (11:56 +0100)]
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>
Chris Michael [Fri, 16 Aug 2013 10:55:50 +0000 (11:55 +0100)]
Get the pointer grab from the compositor's input
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 16 Aug 2013 08:55:23 +0000 (09:55 +0100)]
Get surface from the surface_resource data using
wl_resource_get_user_data function.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 16 Aug 2013 08:51:20 +0000 (09:51 +0100)]
No need to allocate a grab here if we are just setting busy cursor.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 16 Aug 2013 08:49:52 +0000 (09:49 +0100)]
Increment/Decrement button count in the button handlers, not in the
border hooks.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 16 Aug 2013 08:46:27 +0000 (09:46 +0100)]
On ping timeout, get grab coordinates from compositor, not from surface.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
José Roberto de Souza [Thu, 15 Aug 2013 17:03:04 +0000 (14:03 -0300)]
Use eldbus_proxy to simplify systemd support
Chris Michael [Thu, 15 Aug 2013 13:21:09 +0000 (14:21 +0100)]
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>
Chris Michael [Thu, 15 Aug 2013 13:19:47 +0000 (14:19 +0100)]
Add edges to pointer grab for easier access during resize.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Thu, 15 Aug 2013 10:51:21 +0000 (11:51 +0100)]
try precise_is_inside for shaped windows...this may further break shaped overrides
Carsten Haitzler (Rasterman) [Thu, 15 Aug 2013 10:09:33 +0000 (19:09 +0900)]
add systemd support to e_sys for shutdown/reboot/suspend/hibernate
Mike Blumenkrantz [Thu, 15 Aug 2013 08:46:06 +0000 (09:46 +0100)]
highlight correct keybinding when modifying an existing binding
T294
Mike Blumenkrantz [Thu, 15 Aug 2013 08:38:04 +0000 (09:38 +0100)]
ensure that zone bg objects always get moved/resized during an update
T296
Mike Blumenkrantz [Thu, 15 Aug 2013 08:18:00 +0000 (09:18 +0100)]
send ibar icon signals even when app instances exist
Mike Blumenkrantz [Thu, 15 Aug 2013 08:16:12 +0000 (09:16 +0100)]
event mask comp shapes which set repeat_events more accurately
Mike Blumenkrantz [Wed, 14 Aug 2013 12:52:27 +0000 (13:52 +0100)]
use e list macros for pager event handlers
Chris Michael [Thu, 15 Aug 2013 06:22:01 +0000 (07:22 +0100)]
Define wayland compositor variable as externally visible (for people
using -fvisibility=hidden).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 14 Aug 2013 13:01:35 +0000 (14:01 +0100)]
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>
Mike Blumenkrantz [Wed, 14 Aug 2013 12:46:21 +0000 (13:46 +0100)]
remove redundant pager desk selection for pager popups on flip
Mike Blumenkrantz [Wed, 14 Aug 2013 12:46:05 +0000 (13:46 +0100)]
pager unselect program now stops the select program
Mike Blumenkrantz [Wed, 14 Aug 2013 11:53:03 +0000 (12:53 +0100)]
don't iterate over pager desks to set active/inactive, this is stupid.
Mike Blumenkrantz [Wed, 14 Aug 2013 11:49:17 +0000 (12:49 +0100)]
remove some old pre-comp pager cruft
Mike Blumenkrantz [Wed, 14 Aug 2013 07:05:57 +0000 (08:05 +0100)]
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
Mike Blumenkrantz [Wed, 14 Aug 2013 06:53:46 +0000 (07:53 +0100)]
don't wl shell grab on inactive shell surfaces when trying to set busy cursor; fixes infinite loop caused by ping timeout
U. Artie Eoff [Tue, 13 Aug 2013 15:24:52 +0000 (08:24 -0700)]
configure: relax xkbcommon version requirement
In corollary to:
https://phab.enlightenment.org/D203
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
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