Commit Graph

19424 Commits

Author SHA1 Message Date
Mike Blumenkrantz c978a045e6 e_entry -> elm_entry conversion
another dice roll in the board game of enlightenment development. next, I will attempt to roll doubles to get out of jail.

 #teamborker

fix T1906
2015-01-11 12:20:46 -05:00
Mike Blumenkrantz 207a125904 simplify comp usage in e_fm 2015-01-11 12:20:46 -05:00
Mike Blumenkrantz 06895e4036 use elm_win_fake() to create a fake elm_win for widget parenting/focus
ugh
2015-01-11 12:20:46 -05:00
Mike Blumenkrantz 7e3558383d set comp X window hint to normal
ee is broken in that it will never update the withdrawn property for a canvas unless you 1) explicitly set this 2) have an override window
2015-01-11 12:20:46 -05:00
Mike Blumenkrantz 915d3089ea unwrap INLINE_IMAGE window creation 2015-01-10 00:58:49 -05:00
Mike Blumenkrantz a2560d9a09 +e_win_evas_win_get() 2015-01-10 00:58:37 -05:00
Chris Michael 72f1b10ea1 comp-wl: Remove unused variable
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-09 13:44:46 -05:00
Chris Michael b61debdcad comp-wl: Add missing function prototype
Since we call this function before it's actually defined in the
source, we'll just add a small function prototype at the top

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-09 13:43:40 -05:00
Chris Michael cf675ad688 wl-desktop-shell: Fix issue where internal elm windows were not
borderless

This fixes the issue of elementary windows having 2 borders, however
it does expose a new issue where those same internal elm windows now
have a black shadow border around them.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-09 12:48:04 -05:00
Chris Michael 3d5171563f comp_wl: Fix issue with multiple clients being created
This fixes an issue where internal elementary dialogs would end up
creating 2 pixmaps and 2 clients for each window. This happened due to
the pixmap id not matching the elm window id.

This patch also handles reparenting internal elm windows if needed.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-09 12:48:04 -05:00
Duna Oh 576ec9bdc4 fix crash when activating menu that is not in range
Summary: add the condition check code if the pressed key is not in range of menu items

Test Plan:
(1) Left-click on the desktop to bring up the menu.
(2) Press down the number key to activate the menu item.
(3) When you press down the number key that is not in range, you will see the segmentation error.

below is the crash log which I encoutered.
-------------------------------------------------------------------
Program received signal SIGSEGV, Segmentation fault.
_e_menu_item_activate_nth (n=n@entry=5) at src/bin/e_menu.c:2318
2318       _e_menu_item_ensure_onscreen(mi);

Reviewers: zmike, gwanglim, raster

Reviewed By: raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1845
2015-01-09 14:51:40 +09:00
Carsten Haitzler 5d74b399e0 e zone - add stow/unstow apis 2015-01-09 11:50:51 +09:00
Mike Blumenkrantz 66f28829a1 don't change shade.x/y during unshade or after shade
fix T1930
2015-01-08 18:23:05 -05:00
Mike Blumenkrantz 781bfd7537 check focus after X nocomp end
fix T1768
2015-01-08 18:23:05 -05:00
Chris Michael a8b4717fdf fix issue where wayland modules were always creating a new compositor
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-06 13:04:04 -05:00
Chris Michael f2e7bd7204 wl-desktop-shell: Remove use of deprecated e_comp_get function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-06 09:30:30 -05:00
Chris Michael a0e92e2868 remove use of deprecated e_comp_get function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-06 09:28:58 -05:00
Mike Blumenkrantz ba5c079152 add E_VERSION_MAJOR define for external module usage
this should simplify writing modules with conditional code for different versions of e
2015-01-05 15:49:57 -05:00
Mike Blumenkrantz 7732bcef3b unused param-- 2015-01-05 15:39:34 -05:00
Mike Blumenkrantz 0bac875290 remove some e_comp_get() usage in core comp/client files 2015-01-05 15:39:34 -05:00
Mike Blumenkrantz f4d376be2f disable client stack debugging
this should have been turned off for e19 release but I forgot
2015-01-05 15:39:34 -05:00
Mike Blumenkrantz 922af2c52f remove e_comp_list(), deprecate all related functions for pending removal
there is only one E_Comp which can now be accessed by the e_comp global.

if you're editing a file with some uses of these deprecated functions, replace their usages with appropriate references to this variable

pass -Wno-deprecated-declarations to ignore these warnings during build
2015-01-05 15:39:15 -05:00
Mike Blumenkrantz 2d580a2f87 enforce no multihead in X compositor
this hasn't worked since E17, may was well stop trying
2015-01-05 15:36:11 -05:00
Seunghun Lee c61efa7c55 wl_drm: Add event handler for session activation signal.
Summary:
Compositor need to change the compositing mode to offscreen or render state depend on session activation state.
this patch is for it.

Test Plan:
(1) Run enlightenment on X.
(2) Change another VT.
(3) Run enlightenment on wayland and drm.
(4) Change the VT to enlightenment which is ran (1).
enlightenment on wayland will not render during session deactivation state.

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1816
2015-01-05 09:09:59 -05:00
Tom Hacohen 0bc3399274 Tiling: don't try to change the border of borderless windows.
@fix
2015-01-04 13:45:16 +00:00
Mike Blumenkrantz 701e2d914a add support for new netwm csd X atoms
nothing uses these yet so there's no way to test them.

fix T1963
2015-01-03 00:42:42 -05:00
Mike Blumenkrantz 9ff9de799a completely block border changes on MWM borderless windows
ref T1963

seriously.
2015-01-03 00:07:48 -05:00
Mike Blumenkrantz 5bf04eed8f don't set gravity on client windows during X move/resize
fix T1940
2015-01-02 23:56:11 -05:00
Mike Blumenkrantz 6f1d4a9f4f remove e_box from POTFILES.in
seriously why is a file with no translatable text in here
2015-01-01 17:57:28 -05:00
Yomi b34ca20578 update copyright year
Summary: update copyright year

Reviewers: zmike, bu5hm4n

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1836
2015-01-01 17:46:13 -05:00
Mike Blumenkrantz 493690412a add compile warning note for elm hack 2015-01-01 17:46:13 -05:00
Mike Blumenkrantz 1caf4250da set elm log level to CRI
current elm usage triggers infinite (harmless) widget-parenting errors. to avoid filling hard disks with log files, shut this up for now
2015-01-01 17:46:13 -05:00
Mike Blumenkrantz 4e947b00bc don't recalc winlist on client add event if client is not added to winlist 2015-01-01 17:46:13 -05:00
Mike Blumenkrantz a11e8d5f2e e_box -> elm_box conversion
the next installment in the exciting adventure game Elementary Wars!

happy new year from #teamborker
2015-01-01 17:45:34 -05:00
Mike Blumenkrantz 41f4f28114 comp pending resizes should not require both w+h to change 2014-12-30 17:00:23 -05:00
Mike Blumenkrantz ac7a786b59 don't show mixer popup during nocomp
fix T1270
2014-12-30 17:00:23 -05:00
Mike Blumenkrantz 521a7f071e use frame geometry in win resize trap to get accurate sizes
ref T1905
2014-12-30 17:00:23 -05:00
Mike Blumenkrantz 5f1a0b4dcd add back notification merging
this was removed without warning or explanation in r82118:

    e: Change notification module to use internal notification API
    Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>

currently broken by T1954 for lines longer than 36 characters
2014-12-28 17:34:28 -05:00
Marcel Hollerbach 0083aa552a config: Fix segfault
We can pass here NULL, win does not have a specific saved e_comp.
So we pass NULL to e_comp_get and get the current active one.

This fixes T1937.
2014-12-28 11:15:26 +01:00
Carsten Haitzler 6510e8bd0e Revert "all dialogs are now resizable"
This reverts commit 9157ca8ca7.

this also makes all dialogs that have content in a toolbar that goes
off window at min size resizable - this is actually what you wanted ..
bgut this previous "all dialogs are resizable" thing was uber-lazy.

Conflicts:
	src/modules/bluez4/e_mod_main.c
	src/modules/conf_bindings/e_int_config_signalbindings.c
	src/modules/conf_theme/e_int_config_theme.c
	src/modules/mixer/conf_gadget.c
	src/modules/shot/e_mod_main.c
2014-12-22 23:02:05 +09:00
Chris Michael b63b2d548e call e_powersave_init Before we call e_screensaver_init because the
init of e_screensaver sets up an event handler for the
powersave_update event (which would be 0 unless powersave is init
first).

Thanks to dt9 for the report ! ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-12-18 10:14:36 -05:00
Jee-Yong Um 7a1c6c0725 e_actions: Fix to parse syntax correctly in key binding settings
Summary:
Correct the way to parse syntax in key bindings for launching application according to syntax guide
and pop an error dialog when a space is detected while activating the action.

Example:
Guide is given like "exe:xterm" with "No whitespace" between param's name and contents.
However, existing way to parse syntax should require "ONE whitespace" between name and contents.
This modification will parse syntax correctly.

@fix

Reviewers: seoz, zmike, Hermet

Subscribers: raster, cippp, cedric

Differential Revision: https://phab.enlightenment.org/D1699
2014-12-18 16:08:34 +09:00
Carsten Haitzler 837fb90c4e e - randr include - move to master includes (only if building for x) 2014-12-18 14:19:07 +09:00
Sebastian Dransfeld 27c1f17984 randr: improve code readability in lid update
Be sure we have active non-lids before deactivating lids.
2014-12-17 11:39:19 +01:00
Sebastian Dransfeld 0ec2bdfd52 randr: fix bad copy paste error 2014-12-17 11:35:23 +01:00
Sebastian Dransfeld 3527942b23 systray: revert change which shouldn't go in 2014-12-17 11:20:22 +01:00
Sebastian Dransfeld d69848f63c randr: add error print 2014-12-17 11:19:25 +01:00
Sebastian Dransfeld e7e51c9c12 Revert "randr: always call _e_randr_output_active_set"
This reverts commit 7f14d81e6a.

Broke LID open/close for me, note to self, more testing before commit.
2014-12-17 11:18:13 +01:00
Sebastian Dransfeld f92f1ff4cc randr: TODO++ and error print 2014-12-17 10:35:54 +01:00
Sebastian Dransfeld 9b4bace831 randr: don't try to enable crtc with no outputs 2014-12-17 10:35:12 +01:00