discomfitor pushed a commit to branch devs/discomfitor/comp-border.
commit 4384022001f5394f9aed0325151e1dbc68fc4716
Author: Mike Blumenkrantz <[email protected]>
Date: Wed Mar 6 11:49:15 2013 +0000
e_win no longer constantly overwrites netwm properties
---
src/bin/e_win.c | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/bin/e_win.c b/src/bin/e_win.c
index 430706e..da732b1 100644
--- a/src/bin/e_win.c
+++ b/src/bin/e_win.c
@@ -335,6 +335,16 @@ e_win_show(E_Win *win)
win->border->internal_no_reopen = win->state.no_reopen;
}
_e_win_prop_update(win);
+ if (win->state.dialog)
+ {
+ ecore_x_icccm_transient_for_set(win->evas_win,
win->container->manager->root);
+ ecore_x_netwm_window_type_set(win->evas_win,
ECORE_X_WINDOW_TYPE_DIALOG);
+ }
+ else
+ {
+ ecore_x_icccm_transient_for_unset(win->evas_win);
+ ecore_x_netwm_window_type_set(win->evas_win,
ECORE_X_WINDOW_TYPE_NORMAL);
+ }
e_border_show(win->border);
// done now by e_border specially
// ecore_evas_show(win->ecore_evas);
@@ -702,16 +712,6 @@ _e_win_prop_update(E_Win *win)
win->base_w, win->base_h,
win->step_x, win->step_y,
win->min_aspect, win->max_aspect);
- if (win->state.dialog)
- {
- ecore_x_icccm_transient_for_set(win->evas_win,
win->container->manager->root);
- ecore_x_netwm_window_type_set(win->evas_win,
ECORE_X_WINDOW_TYPE_DIALOG);
- }
- else
- {
- ecore_x_icccm_transient_for_unset(win->evas_win);
- ecore_x_netwm_window_type_set(win->evas_win,
ECORE_X_WINDOW_TYPE_NORMAL);
- }
}
static void
--
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev