Chris Michael [Wed, 28 Aug 2013 07:12:01 +0000 (08:12 +0100)]
Remove redundant wl_pointer in grab structure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Tue, 27 Aug 2013 08:21:42 +0000 (09:21 +0100)]
fix manager show request handler to be global and fire before the comp handler; fixes stacking and theme setting
Mike Blumenkrantz [Tue, 27 Aug 2013 07:38:39 +0000 (08:38 +0100)]
Revert "add border stacking handler as a third line of defense against missionaccomplished.jpg stacking issues"
reverts
895bf4f78f00ca8cc7ba4656083ef53df60e23f1, which totally broke initial stacking of windows in almost all cases
Carsten Haitzler (Rasterman) [Sun, 25 Aug 2013 10:29:39 +0000 (19:29 +0900)]
allow enter/kp enter/space to select a desktop when pager popup is up
Boris Faure [Sat, 24 Aug 2013 13:52:27 +0000 (15:52 +0200)]
improve e on debian kfreebsd (Patch by Petr Salinger)
Closes task 302.
Carsten Haitzler (Rasterman) [Sat, 24 Aug 2013 10:22:39 +0000 (19:22 +0900)]
allow cpufreq config to be accessed without a gadget - pstate necessity
Carsten Haitzler (Rasterman) [Sat, 24 Aug 2013 04:30:32 +0000 (13:30 +0900)]
also dont access null bd pointer here either.
Chris Michael [Fri, 23 Aug 2013 10:22:23 +0000 (11:22 +0100)]
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>
Chris Michael [Fri, 23 Aug 2013 10:21:13 +0000 (11:21 +0100)]
Handle mouse wheel events in the default pointer grab
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 23 Aug 2013 10:20:38 +0000 (11:20 +0100)]
Add callbacks mouse_wheel event to the surface.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
discomfitor [Thu, 22 Aug 2013 17:32:06 +0000 (18:32 +0100)]
use right check on mouse_x_up to prevent random crashes
Mike Blumenkrantz [Thu, 22 Aug 2013 14:02:11 +0000 (15:02 +0100)]
okay, setting action border on move/resize signals was a bad idea
Mike Blumenkrantz [Thu, 22 Aug 2013 13:55:57 +0000 (14:55 +0100)]
uniconify+unshade selected window on winlist hide
Mike Blumenkrantz [Thu, 22 Aug 2013 13:28:12 +0000 (14:28 +0100)]
add border stacking handler as a third line of defense against missionaccomplished.jpg stacking issues
Mike Blumenkrantz [Thu, 22 Aug 2013 13:03:35 +0000 (14:03 +0100)]
better fix for gettext macro checking
Mike Blumenkrantz [Thu, 22 Aug 2013 12:29:36 +0000 (13:29 +0100)]
also unset take_focus when shading a window
Gustavo Sverzut Barbieri [Sat, 10 Aug 2013 00:29:18 +0000 (21:29 -0300)]
generate e18.service using prefix, allows disabling systemd.
If one have systemd but installs to ~/ (no root) then installing
e18.service hurts.
Have e18.service to be generated using @prefix@ so it won't hardcode
to /usr/bin, removing "-locked" as that can be configured in the GUI
and in some cases you just want your e18 without lock/password.
Mike Blumenkrantz [Thu, 22 Aug 2013 12:09:46 +0000 (13:09 +0100)]
always force xwindow move during eval; fixes window positioning on shaded clients across restarts
Mike Blumenkrantz [Thu, 22 Aug 2013 11:52:59 +0000 (12:52 +0100)]
iconic windows once again remain iconic across restarts
Mike Blumenkrantz [Thu, 22 Aug 2013 11:43:34 +0000 (12:43 +0100)]
allow mouse in focus events on focused windows; this may fix issues for the whiners who say stacking is broken
Mike Blumenkrantz [Thu, 22 Aug 2013 10:38:32 +0000 (11:38 +0100)]
s/AM_GNU_GETTEXT/AC_GNU_GETTEXT/g
Mike Blumenkrantz [Thu, 22 Aug 2013 10:32:20 +0000 (11:32 +0100)]
call window_resize action when beginning a netwm resize and set the direction/gravity after; fixes gtk resize grips
Mike Blumenkrantz [Thu, 22 Aug 2013 10:31:18 +0000 (11:31 +0100)]
enforce action border/input_win setting whenever moving/resizing a window
Mike Blumenkrantz [Thu, 22 Aug 2013 08:49:39 +0000 (09:49 +0100)]
formatting
Chris Michael [Wed, 21 Aug 2013 13:40:58 +0000 (14:40 +0100)]
Revert "Remove call to ecore_x function for getting keycode."
This reverts commit
ccb72c38ca3197519094ad3fbd4510cd1609cde1.
Revert this (for now) because it breaks key input for wayland apps running
inside of X. Need more time to look into it....
Mike Blumenkrantz [Wed, 21 Aug 2013 08:29:39 +0000 (09:29 +0100)]
set some better focus-raise defaults after recent raise-on-focus fix
Mike Blumenkrantz [Wed, 21 Aug 2013 06:17:33 +0000 (07:17 +0100)]
another ecore-x instance in wl_desktop_shell
Chris Michael [Tue, 20 Aug 2013 08:55:43 +0000 (09:55 +0100)]
Remove call to ecore_x function for getting keycode.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Mon, 19 Aug 2013 13:42:33 +0000 (14:42 +0100)]
remove unnecessary compositing check in engine config...we're always compositing
Mike Blumenkrantz [Mon, 19 Aug 2013 11:59:41 +0000 (12:59 +0100)]
e_init no longer exists, remove lib checks for it
Mike Blumenkrantz [Mon, 19 Aug 2013 09:31:25 +0000 (10:31 +0100)]
fix binding upgrades from e17
Mike Blumenkrantz [Mon, 19 Aug 2013 09:00:13 +0000 (10:00 +0100)]
fix raise on focus setting
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>