platform/upstream/enlightenment.git
11 years agoReduce extra function call to client_get_display
Chris Michael [Wed, 28 Aug 2013 08:43:25 +0000 (09:43 +0100)]
Reduce extra function call to client_get_display

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoGet keysym from X on key_up.
Chris Michael [Wed, 28 Aug 2013 08:43:05 +0000 (09:43 +0100)]
Get keysym from X on key_up.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoRemove redundant useage of grab pointer.
Chris Michael [Wed, 28 Aug 2013 07:14:51 +0000 (08:14 +0100)]
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>
11 years agoIncrease timeout for spurious e_border mouse up.
Chris Michael [Wed, 28 Aug 2013 07:12:16 +0000 (08:12 +0100)]
Increase timeout for spurious e_border mouse up.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoRemove redundant wl_pointer in grab structure.
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>
11 years agofix manager show request handler to be global and fire before the comp handler; fixes...
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

11 years agoRevert "add border stacking handler as a third line of defense against missionaccompl...
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

11 years agoallow enter/kp enter/space to select a desktop when pager popup is up
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

11 years agoimprove e on debian kfreebsd (Patch by Petr Salinger)
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.

11 years agoallow cpufreq config to be accessed without a gadget - pstate necessity
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

11 years agoalso dont access null bd pointer here either.
Carsten Haitzler (Rasterman) [Sat, 24 Aug 2013 04:30:32 +0000 (13:30 +0900)]
also dont access null bd pointer here either.

11 years agoHook into mouse_wheel events for surface.
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>
11 years agoHandle mouse wheel events in the default pointer grab
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>
11 years agoAdd callbacks mouse_wheel event to the surface.
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>
11 years agouse right check on mouse_x_up to prevent random crashes
discomfitor [Thu, 22 Aug 2013 17:32:06 +0000 (18:32 +0100)]
use right check on mouse_x_up to prevent random crashes

11 years agookay, setting action border on move/resize signals was a bad idea
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

11 years agouniconify+unshade selected window on winlist hide
Mike Blumenkrantz [Thu, 22 Aug 2013 13:55:57 +0000 (14:55 +0100)]
uniconify+unshade selected window on winlist hide

11 years agoadd border stacking handler as a third line of defense against missionaccomplished...
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

11 years agobetter fix for gettext macro checking
Mike Blumenkrantz [Thu, 22 Aug 2013 13:03:35 +0000 (14:03 +0100)]
better fix for gettext macro checking

11 years agoalso unset take_focus when shading a window
Mike Blumenkrantz [Thu, 22 Aug 2013 12:29:36 +0000 (13:29 +0100)]
also unset take_focus when shading a window

11 years agogenerate e18.service using prefix, allows disabling systemd.
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.

11 years agoalways force xwindow move during eval; fixes window positioning on shaded clients...
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

11 years agoiconic windows once again remain iconic across restarts
Mike Blumenkrantz [Thu, 22 Aug 2013 11:52:59 +0000 (12:52 +0100)]
iconic windows once again remain iconic across restarts

11 years agoallow mouse in focus events on focused windows; this may fix issues for the whiners...
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

11 years agos/AM_GNU_GETTEXT/AC_GNU_GETTEXT/g
Mike Blumenkrantz [Thu, 22 Aug 2013 10:38:32 +0000 (11:38 +0100)]
s/AM_GNU_GETTEXT/AC_GNU_GETTEXT/g

11 years agocall window_resize action when beginning a netwm resize and set the direction/gravity...
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

11 years agoenforce action border/input_win setting whenever moving/resizing a window
Mike Blumenkrantz [Thu, 22 Aug 2013 10:31:18 +0000 (11:31 +0100)]
enforce action border/input_win setting whenever moving/resizing a window

11 years agoformatting
Mike Blumenkrantz [Thu, 22 Aug 2013 08:49:39 +0000 (09:49 +0100)]
formatting

11 years agoRevert "Remove call to ecore_x function for getting keycode."
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....

11 years agoset some better focus-raise defaults after recent raise-on-focus fix
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

11 years agoanother ecore-x instance in wl_desktop_shell
Mike Blumenkrantz [Wed, 21 Aug 2013 06:17:33 +0000 (07:17 +0100)]
another ecore-x instance in wl_desktop_shell

11 years agoRemove call to ecore_x function for getting keycode.
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>
11 years agoremove unnecessary compositing check in engine config...we're always compositing
Mike Blumenkrantz [Mon, 19 Aug 2013 13:42:33 +0000 (14:42 +0100)]
remove unnecessary compositing check in engine config...we're always compositing

11 years agoe_init no longer exists, remove lib checks for it
Mike Blumenkrantz [Mon, 19 Aug 2013 11:59:41 +0000 (12:59 +0100)]
e_init no longer exists, remove lib checks for it

11 years agofix binding upgrades from e17
Mike Blumenkrantz [Mon, 19 Aug 2013 09:31:25 +0000 (10:31 +0100)]
fix binding upgrades from e17

11 years agofix raise on focus setting
Mike Blumenkrantz [Mon, 19 Aug 2013 09:00:13 +0000 (10:00 +0100)]
fix raise on focus setting

11 years agoFix surface input region miscalculation after resize.
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>
11 years agoremove shadow from fullscreen comp edc
Mike Blumenkrantz [Mon, 19 Aug 2013 05:26:35 +0000 (06:26 +0100)]
remove shadow from fullscreen comp edc

11 years agohide client swallow during shade
Mike Blumenkrantz [Mon, 19 Aug 2013 05:26:13 +0000 (06:26 +0100)]
hide client swallow during shade

11 years agouse inlist for wl surface list
Mike Blumenkrantz [Mon, 19 Aug 2013 02:31:24 +0000 (03:31 +0100)]
use inlist for wl surface list

11 years agopollers by default are in 1/8th of a second in ecore.... 32 made no sense.
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.

11 years agosetenv - store all strings so they continue to work if putenv is used
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

11 years agocheck permissions on socket dirs and complain if they fail - fallback too
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

11 years agosave inhibit fd from systemd or fd is closed/lost and inhibit is lost!
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!

11 years agoRevert this button_count change for now (breaking move/resize here).
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.

11 years agoE configs ping interval for clients is in ticks. Wayland event source
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>
11 years agoRemove button increments/decrements from interface callbacks as these
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>
11 years agoWhen surface gets destroyed, reset the pointer surface.
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>
11 years agoGet the pointer grab from the compositor's input
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>
11 years agoGet surface from the surface_resource data using
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>
11 years agoNo need to allocate a grab here if we are just setting busy cursor.
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>
11 years agoIncrement/Decrement button count in the button handlers, not in the
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>
11 years agoOn ping timeout, get grab coordinates from compositor, not from surface.
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>
11 years agoUse eldbus_proxy to simplify systemd support
José Roberto de Souza [Thu, 15 Aug 2013 17:03:04 +0000 (14:03 -0300)]
Use eldbus_proxy to simplify systemd support

11 years agoRemove call to ecore_evas_free (border tries to free this already).
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>
11 years agoAdd edges to pointer grab for easier access during resize.
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>
11 years agotry precise_is_inside for shaped windows...this may further break shaped overrides
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

11 years agoadd systemd support to e_sys for shutdown/reboot/suspend/hibernate
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

11 years agohighlight correct keybinding when modifying an existing binding
Mike Blumenkrantz [Thu, 15 Aug 2013 08:46:06 +0000 (09:46 +0100)]
highlight correct keybinding when modifying an existing binding

T294

11 years agoensure that zone bg objects always get moved/resized during an update
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

11 years agosend ibar icon signals even when app instances exist
Mike Blumenkrantz [Thu, 15 Aug 2013 08:18:00 +0000 (09:18 +0100)]
send ibar icon signals even when app instances exist

11 years agoevent mask comp shapes which set repeat_events more accurately
Mike Blumenkrantz [Thu, 15 Aug 2013 08:16:12 +0000 (09:16 +0100)]
event mask comp shapes which set repeat_events more accurately

11 years agouse e list macros for pager event handlers
Mike Blumenkrantz [Wed, 14 Aug 2013 12:52:27 +0000 (13:52 +0100)]
use e list macros for pager event handlers

11 years agoDefine wayland compositor variable as externally visible (for people
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>
11 years agoFix bug in shell which was causing wayland clients to always have
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>
11 years agoremove redundant pager desk selection for pager popups on flip
Mike Blumenkrantz [Wed, 14 Aug 2013 12:46:21 +0000 (13:46 +0100)]
remove redundant pager desk selection for pager popups on flip

11 years agopager unselect program now stops the select program
Mike Blumenkrantz [Wed, 14 Aug 2013 12:46:05 +0000 (13:46 +0100)]
pager unselect program now stops the select program

11 years agodon't iterate over pager desks to set active/inactive, this is stupid.
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.

11 years agoremove some old pre-comp pager cruft
Mike Blumenkrantz [Wed, 14 Aug 2013 11:49:17 +0000 (12:49 +0100)]
remove some old pre-comp pager cruft

11 years agoignore wl shell client move/resize end hooks for now
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

11 years agodon't wl shell grab on inactive shell surfaces when trying to set busy cursor; fixes...
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

11 years agoconfigure: relax xkbcommon version requirement
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>
11 years agoFix crash when trying to move wayland client applications.
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>
11 years agoMove module idler until After the display is connected.
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>
11 years agogadman checks aspect hints during size hint change callback
Mike Blumenkrantz [Tue, 13 Aug 2013 10:28:02 +0000 (11:28 +0100)]
gadman checks aspect hints during size hint change callback

11 years agochanging aspect on a non-layouted gadcon client sets evas aspect hint instead
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

11 years agochanging gadman gadget orientations using menu now guesses new orientation sizes...
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

11 years agoonly add gadman menu orient callbacks if orient is not current orient
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

11 years agoibar obeys max size hint
Mike Blumenkrantz [Tue, 13 Aug 2013 10:04:55 +0000 (11:04 +0100)]
ibar obeys max size hint

11 years agogadman now respects gadget aspect and sets max size hint while resizing gadgets
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

11 years agoadd max(w,h) to gadcon client struct, only used as yet-another-gadman-hack
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

11 years agoibar now sets min size on init and then sets ASPECT on resize, since this is how...
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

11 years agobugfix: setting min size on a gadget now propagates to desktop gadgets
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

11 years agoBump required wayland library versions.
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>
11 years agoe: Use same XDG_RUNTIME_DIR template as efreet
Sebastian Dransfeld [Wed, 7 Aug 2013 08:46:39 +0000 (10:46 +0200)]
e: Use same XDG_RUNTIME_DIR template as efreet

11 years agoFix Wayland Client Application Support to work again !! :)
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>
11 years agoAdd desktop_ready request to desktop_shell interface.
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>
11 years agoAdd "desktop_ready" function to desktop_shell interface.
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>
11 years agoUpdate desktop_shell xml file for version 2.
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>
11 years agoAdd functions to surface interface for buffer_transform and
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>
11 years agoWhen we try to re-enable a monitor, check the Crtc Mode (not the smart
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>
11 years agoDon't do randr restore if we have fake screens. (requested by release
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>
11 years ago+e_xinerama_fake_screens_exist
Mike Blumenkrantz [Mon, 5 Aug 2013 07:06:24 +0000 (08:06 +0100)]
+e_xinerama_fake_screens_exist

11 years agoWhen we have to calculate screen size, it May actually Help to get the
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>
11 years agoOnly create primary output frame if we have more than one monitor to
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>
11 years agoas of e18 - we now are compositing only, which means we also don't
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 :)

11 years agoRemove duplicated local variable.
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>
11 years agoRemove return value in function returning void.
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>
11 years agoAdd a disabled state to the indicator event rectangle
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>
11 years agoWhen we have finished creating all monitors, if there is only One
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>