Wolfgang Lux
b4aead1b19
Revise detection of window miniaturization and deminiaturization based
...
on the ICCCM WM_STATE property and use _NET_WM_STATE only to avoid
generating bogus miniaturize events when using an emwh compliant
window manager. This makes the code more portable and allows
generating reliable window deminiaturize events.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29283 72102866-910b-0410-8b05-ffd578937521
2010-01-14 22:27:03 +00:00
Richard Frith-MacDonald
fc841e8186
pply fix from Doug Simons
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29062 72102866-910b-0410-8b05-ffd578937521
2009-11-26 11:15:59 +00:00
David Chisnall
ed0e764447
Make terminating on signal via NSApp conditional on NSApp actually existing. This allows you to kill applications with ^C if they are using AppKit but not NSApplication.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@29016 72102866-910b-0410-8b05-ffd578937521
2009-11-15 13:57:34 +00:00
Fred Kiefer
ca51d23b97
Don't return a static variable as the window device.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28975 72102866-910b-0410-8b05-ffd578937521
2009-11-08 16:14:53 +00:00
Wolfgang Lux
20d75aac56
Partially revert the (defunct) recent window miniaturization changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28930 72102866-910b-0410-8b05-ffd578937521
2009-11-01 12:55:52 +00:00
Thomas Gamper
eefc79f2de
TG: Change GLX_VERSION_1_4 check
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28927 72102866-910b-0410-8b05-ffd578937521
2009-10-31 11:56:01 +00:00
Thomas Gamper
f1db2bf071
TG: Check for GLX_VERSION_1_4
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28905 72102866-910b-0410-8b05-ffd578937521
2009-10-28 20:09:21 +00:00
Thomas Gamper
38ab851c26
TG: Check for GLX_VERSION_1_4
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28904 72102866-910b-0410-8b05-ffd578937521
2009-10-28 20:06:44 +00:00
Riccardo Mottola
71d0bbdcaa
cleaned up c99-isms
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28903 72102866-910b-0410-8b05-ffd578937521
2009-10-28 18:46:31 +00:00
Thomas Gamper
1f84a6a21f
TG: Implement setMouseLocation:onScreen
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28898 72102866-910b-0410-8b05-ffd578937521
2009-10-27 18:42:33 +00:00
Thomas Gamper
c0abc9a675
TG: OpenGL cleanup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28877 72102866-910b-0410-8b05-ffd578937521
2009-10-25 13:49:19 +00:00
Richard Frith-MacDonald
d7dc549a3e
code for deminiaturisation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28836 72102866-910b-0410-8b05-ffd578937521
2009-10-18 06:28:50 +00:00
Fred Kiefer
5371332f41
Protect the XSHM code parts with #ifdef statements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28314 72102866-910b-0410-8b05-ffd578937521
2009-05-31 19:57:18 +00:00
Riccardo Mottola
42abff09f9
reordered instructions for c89 compatibility
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28176 72102866-910b-0410-8b05-ffd578937521
2009-04-04 10:24:19 +00:00
Gregory John Casamento
afb33293d1
Minor formatting change in ChangeLog and temporary removal/commenting out of code until a fix for bug#26046 can be resolved.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28151 72102866-910b-0410-8b05-ffd578937521
2009-03-30 05:37:42 +00:00
Fred Kiefer
4f3b8457a3
Correct the memory management of XWindowBuffer.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28141 72102866-910b-0410-8b05-ffd578937521
2009-03-27 23:16:48 +00:00
Fred Kiefer
76a7888859
Correct formatting, replaced tabs.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28070 72102866-910b-0410-8b05-ffd578937521
2009-03-12 22:12:31 +00:00
Thomas Gamper
605c77fe48
Thomas Gamper: implement key repeat support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28068 72102866-910b-0410-8b05-ffd578937521
2009-03-12 12:13:35 +00:00
Xavier Glattard
a764159165
Fix a bug (from rev.28036)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28049 72102866-910b-0410-8b05-ffd578937521
2009-03-07 20:47:55 +00:00
Xavier Glattard
6226804e56
Missing var initialization.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28046 72102866-910b-0410-8b05-ffd578937521
2009-03-06 09:31:18 +00:00
Xavier Glattard
08a079606a
Fix typo and oversights - Comes along with the previous changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28037 72102866-910b-0410-8b05-ffd578937521
2009-03-04 14:48:19 +00:00
Xavier Glattard
7e3dbdf741
OpenGL sub-windows: prevent back-store flush, handle expose events, and small fix/improvements
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28036 72102866-910b-0410-8b05-ffd578937521
2009-03-04 09:58:41 +00:00
Fred Kiefer
85052ab206
Set black background pixel for OpenGL subwindow.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27945 72102866-910b-0410-8b05-ffd578937521
2009-02-21 22:32:33 +00:00
Fred Kiefer
19b62c7318
Remove special code in GLContext subwindow for different border handling
...
cases.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27944 72102866-910b-0410-8b05-ffd578937521
2009-02-21 22:23:38 +00:00
Richard Frith-MacDonald
8bb746dd57
minor fixes to compile with GC
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27843 72102866-910b-0410-8b05-ffd578937521
2009-02-11 08:45:56 +00:00
Wolfgang Lux
1101ab7f8f
Add an asterisk before the window's title if its document is edited
...
and the window manager is not capable of displaying the document's
status (i.e., any window manager other than Window Maker for now).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27821 72102866-910b-0410-8b05-ffd578937521
2009-02-08 23:04:34 +00:00
Fred Kiefer
db2999ee4d
Patch by Matt Rice to get OpenGL working again on X11.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27816 72102866-910b-0410-8b05-ffd578937521
2009-02-08 18:36:25 +00:00
Richard Frith-MacDonald
e71618164d
Fix typo in method to set parent window of a child, optimise color handling in themes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27742 72102866-910b-0410-8b05-ffd578937521
2009-01-31 09:59:32 +00:00
Fred Kiefer
f99e97c43e
Implement new method -setPartentWindow:forChildWindow: for X and
...
Windows.
Adjust y coordinate of point in compositeGState:... for cairo. This
solves bug #24709 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27718 72102866-910b-0410-8b05-ffd578937521
2009-01-29 09:32:32 +00:00
Wolfgang Lux
993a5d976b
Set the WM protocols supported by a window according to its style
...
mask. This fixes an issue where an application could be deactivated
under Window Maker when a submenu is closed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27623 72102866-910b-0410-8b05-ffd578937521
2009-01-17 17:48:19 +00:00
Wolfgang Lux
f45b5b41a2
Fix an issue where the X11 backend could use incorrect modifier key
...
settings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27358 72102866-910b-0410-8b05-ffd578937521
2008-12-19 23:01:04 +00:00
Nicola Pero
39076b64a9
Removed GNUSTEP_CORE_SOFTWARE=YES from makefiles and instead set PACKAGE_NAME=gnustep-back
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27349 72102866-910b-0410-8b05-ffd578937521
2008-12-19 13:05:05 +00:00
Nicola Pero
417a0e2cbf
Set GNUSTEP_CORE_SOFTWARE to YES so that gnustep-back is installed by default in SYSTEM if gnustep-make has been configured with --disable-packages
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27335 72102866-910b-0410-8b05-ffd578937521
2008-12-18 18:51:49 +00:00
Wolfgang Lux
0981aebea3
Fix two issues with Window Maker.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27296 72102866-910b-0410-8b05-ffd578937521
2008-12-15 20:47:06 +00:00
Wolfgang Lux
418cae5d53
Add method to XGServer to avoid blocking the run loop when the X event
...
queue is not empty.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27275 72102866-910b-0410-8b05-ffd578937521
2008-12-10 20:30:09 +00:00
Richard Frith-MacDonald
aeddc7b908
Fix #24671
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27192 72102866-910b-0410-8b05-ffd578937521
2008-12-02 22:51:34 +00:00
Wolfgang Lux
8dddc6afcb
Fix for bug #24707 .
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27101 72102866-910b-0410-8b05-ffd578937521
2008-11-20 16:51:33 +00:00
Fred Kiefer
ad0a88c152
Check whether the X server supports shm pixmaps.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26970 72102866-910b-0410-8b05-ffd578937521
2008-10-26 20:12:43 +00:00
Fred Kiefer
1802f35b22
In XwindowBuffer get the default visual and depth from the XGServer.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26961 72102866-910b-0410-8b05-ffd578937521
2008-10-24 16:42:38 +00:00
Fred Kiefer
c6c8160a30
Correct code for double parent handling.
...
Patch by Wolfgang Lux <wolfgang.lux@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26950 72102866-910b-0410-8b05-ffd578937521
2008-10-22 07:36:10 +00:00
Fred Kiefer
d6fc8b8e74
Try to keep the visual of art consistent with the one used by X.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26849 72102866-910b-0410-8b05-ffd578937521
2008-09-14 21:22:54 +00:00
Fred Kiefer
fc441f9bc5
Add missing window caching for minimized check.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26809 72102866-910b-0410-8b05-ffd578937521
2008-08-14 06:33:04 +00:00
Fred Kiefer
ff0796c5d4
Patch by Hubert Chathi <hubert@uhoreg.ca> to handle window minimization
...
on EWMH systems better.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26795 72102866-910b-0410-8b05-ffd578937521
2008-07-19 21:17:42 +00:00
Fred Kiefer
865a89a647
Disable new active window handling again, as it leads to flickering
...
windows on KDE 4.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26752 72102866-910b-0410-8b05-ffd578937521
2008-07-11 07:03:22 +00:00
Fred Kiefer
97d1847e6a
Better focus setting for EWMH window managers.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26749 72102866-910b-0410-8b05-ffd578937521
2008-07-07 23:02:46 +00:00
Fred Kiefer
4e04ca9ea8
Convert X event millisecond timestamp to NSEvent second timestamp.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26634 72102866-910b-0410-8b05-ffd578937521
2008-06-12 19:55:09 +00:00
Adam Fedor
250ebdfad0
Revert library license version to 2 until applications can be converted
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26620 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:12:46 +00:00
Gregory John Casamento
8026904d7f
* Headers/x11/XGGeneric.h:
...
* Source/x11/XGServerWindow.m: Added code to automatically make
any window which uses the NSDesktopWindowLevel also be omnipresent.
This capability will be added as a style later.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26588 72102866-910b-0410-8b05-ffd578937521
2008-06-01 22:01:08 +00:00
Fred Kiefer
b45697c04e
Faster check for modifier keys.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26578 72102866-910b-0410-8b05-ffd578937521
2008-05-27 20:22:17 +00:00
Fred Kiefer
bec7259309
Try to avoid value flip in window border computation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26136 72102866-910b-0410-8b05-ffd578937521
2008-02-26 00:32:33 +00:00
Fred Kiefer
47ca0b471e
Correct creation of screen object and treat primary screen the same as
...
others.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@26132 72102866-910b-0410-8b05-ffd578937521
2008-02-25 19:13:53 +00:00
Fred Kiefer
e2c622bad5
Get to work with newer versions of GLX.
...
Patch by Thomas Gamper <icicle@cg.tuwien.ac.at>,
slightly reworked.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25990 72102866-910b-0410-8b05-ffd578937521
2008-01-21 21:27:58 +00:00
Fred Kiefer
0f0191c547
Rework of context window device setting. Requires corresponding change
...
in gui.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25981 72102866-910b-0410-8b05-ffd578937521
2008-01-19 13:12:03 +00:00
Richard Frith-MacDonald
0f9d79fc58
Find offsets using off-screen windows unless GSBackChecksOffsetsOnScreen = YES
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25932 72102866-910b-0410-8b05-ffd578937521
2008-01-11 20:09:38 +00:00
Richard Frith-MacDonald
ff99e19fe9
Fixup coordinated of cursor hotpoint for MacOS-X compatibility.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25631 72102866-910b-0410-8b05-ffd578937521
2007-11-29 11:34:41 +00:00
Fred Kiefer
b5fc3678f3
Remove non-normal windows from task list.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25626 72102866-910b-0410-8b05-ffd578937521
2007-11-29 00:56:11 +00:00
Fred Kiefer
a9e8d647b2
Use objectForKey: instead of stringForKey:.
...
Patch by Wolfgang Lux <wolfgang.lux@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25548 72102866-910b-0410-8b05-ffd578937521
2007-10-31 16:50:32 +00:00
Fred Kiefer
0f8c5487c7
Change files to use GPL 3 and LGPL 3.
...
Prepare for next release.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25538 72102866-910b-0410-8b05-ffd578937521
2007-10-29 23:25:10 +00:00
Fred Kiefer
18f790a690
Allow non-resizable windows to be resized programmatically.
...
Clean up compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25527 72102866-910b-0410-8b05-ffd578937521
2007-10-12 09:32:27 +00:00
Fred Kiefer
7edb569d70
Add missing include.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25508 72102866-910b-0410-8b05-ffd578937521
2007-10-01 16:37:33 +00:00
Fred Kiefer
355aa2db1e
New methods to store and get last event time.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25457 72102866-910b-0410-8b05-ffd578937521
2007-09-05 14:35:06 +00:00
Fred Kiefer
1100345667
Use defScreen istead of 0.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25452 72102866-910b-0410-8b05-ffd578937521
2007-09-04 23:59:54 +00:00
Nicolas Roard
09ce663feb
AlpenStep stuff with Fred Kiefer's help:
...
- Added support for 32 bit surfaces when it's possible (use of Xrender extension..).
- Modified the Cairo backend to take advantage of that: we can now draw windows with partial transparency.
- Fixed a bug in the Cairo backend (copy of a surface to itself) using the cairo "groups". Scrolling is still wrong, but we're closer to something good ;-)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25441 72102866-910b-0410-8b05-ffd578937521
2007-09-02 14:23:03 +00:00
Fred Kiefer
4bd371d64a
Use CurrentTime instead of generic.lastTime.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25405 72102866-910b-0410-8b05-ffd578937521
2007-08-21 13:37:20 +00:00
Fred Kiefer
d164d499c2
Made handling of focus in and out more explicit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25403 72102866-910b-0410-8b05-ffd578937521
2007-08-20 22:31:09 +00:00
Fred Kiefer
79b9caf27f
Set lastTime to CurrentTime not 1 to get setinputfocus working for the
...
first activation of the application.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25395 72102866-910b-0410-8b05-ffd578937521
2007-08-16 14:14:33 +00:00
Fred Kiefer
b7b431cd43
Removed left over NSLog statements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25394 72102866-910b-0410-8b05-ffd578937521
2007-08-15 14:26:55 +00:00
Fred Kiefer
05a23a6aae
Correct minor bugs in last changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25393 72102866-910b-0410-8b05-ffd578937521
2007-08-15 13:42:36 +00:00
Fred Kiefer
32d116c7b2
Add more EWMH methods and helper methods.
...
Simplify dragging support code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25389 72102866-910b-0410-8b05-ffd578937521
2007-08-14 22:44:40 +00:00
Fred Kiefer
efb48fbccb
Handle SIGINT by calling ([NSApp terminate: NSApp]) to shut down
...
cleanly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25368 72102866-910b-0410-8b05-ffd578937521
2007-08-02 07:31:37 +00:00
Fred Kiefer
8b9b2102f3
XDnD improvements by Matt Rice.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25071 72102866-910b-0410-8b05-ffd578937521
2007-04-25 00:12:46 +00:00
Fred Kiefer
452d7fb89f
Completed and corrected drag type mapping.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24847 72102866-910b-0410-8b05-ffd578937521
2007-03-11 17:42:46 +00:00
Nicola Pero
c35b6f2940
Removed some obsolete code from makefiles
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24700 72102866-910b-0410-8b05-ffd578937521
2007-02-27 12:07:55 +00:00
Adam Fedor
7bc423f962
Patch #5434
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24363 72102866-910b-0410-8b05-ffd578937521
2007-01-16 05:25:26 +00:00
Richard Frith-MacDonald
156ba79e6e
Fix coordinate conversion missed in last change.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24350 72102866-910b-0410-8b05-ffd578937521
2007-01-14 18:26:14 +00:00
Richard Frith-MacDonald
d5fd72a3e4
Coordinate bugfix for opengl
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24349 72102866-910b-0410-8b05-ffd578937521
2007-01-14 17:03:44 +00:00
Matt Rice
ec7b7e4742
* Source/x11/XGServerWindow.m (-flushwindowrect::): Don't convert
...
rect origin sent to handleExposeRect:forDriver: to int and back to
float.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24287 72102866-910b-0410-8b05-ffd578937521
2006-12-28 19:41:56 +00:00
Fred Kiefer
142f3510a3
Prevent some window types from showing up in the taskbar for old window
...
managers that cannot handle window types. Patch by Yen-Ju Chen
<yjchenx@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24246 72102866-910b-0410-8b05-ffd578937521
2006-12-26 14:55:18 +00:00
Richard Frith-MacDonald
2f33c0b784
Improve help key support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24193 72102866-910b-0410-8b05-ffd578937521
2006-12-08 09:09:40 +00:00
Richard Frith-MacDonald
4bd0a9f1b5
Use accessor for affine transform internals which should otherwise be private.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24131 72102866-910b-0410-8b05-ffd578937521
2006-11-19 11:08:09 +00:00
Nicola Pero
e708ccb6e6
Use GNUSTEP_INSTALLATION_DOMAIN instead of GNUSTEP_INSTALLATION_DIR, and DESTDIR instead of INSTALL_ROOT_DIR
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24095 72102866-910b-0410-8b05-ffd578937521
2006-11-15 17:06:17 +00:00
Matt Rice
8e248cb078
* Source/x11/XGServerEvent.m (_handleTakeFocusAtom:forContext:):
...
Unset ignore_take_focus for the key window.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24001 72102866-910b-0410-8b05-ffd578937521
2006-10-31 12:48:23 +00:00
Fred Kiefer
d1722446b4
Small correction to adopt to base change also remove annoying warning.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23971 72102866-910b-0410-8b05-ffd578937521
2006-10-27 12:25:26 +00:00
Matt Rice
782d9d7d3f
* Source/win32/WIN32Server.m: Update -windowlist implementation.
...
* Source/x11/XGServerWindow.m (-orderwin:::): Replace
desiredOrderedWindow with ignore_take_focus.
(windowlist): Implement.
(setinputfocus:): Replace desiredOrderedWindow with
ignore_take_focus.
* Headers/x11/XGGeneric.h (XGGeneric): Remove
desiredOrderedWindow.
* Headers/x11/XGServerWindow.h (gswindow_device_t):
Add ignore_take_focus.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23937 72102866-910b-0410-8b05-ffd578937521
2006-10-21 19:16:47 +00:00
Richard Frith-MacDonald
a78523847e
Improve help key support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23748 72102866-910b-0410-8b05-ffd578937521
2006-10-04 05:24:58 +00:00
Richard Frith-MacDonald
a459507bc2
Add help key mask support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23745 72102866-910b-0410-8b05-ffd578937521
2006-10-03 18:54:22 +00:00
Richard Frith-MacDonald
2bc0704e72
Use a single user default to turn on backend handling of window decorations.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23652 72102866-910b-0410-8b05-ffd578937521
2006-09-28 13:09:57 +00:00
Richard Frith-MacDonald
2fcb1806cc
iUse extens info where provided by window manager
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23632 72102866-910b-0410-8b05-ffd578937521
2006-09-27 06:15:45 +00:00
Richard Frith-MacDonald
f21f913f53
Add hack to wait a while for visibility events when checking style offsets.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23626 72102866-910b-0410-8b05-ffd578937521
2006-09-26 12:58:34 +00:00
Richard Frith-MacDonald
9b0cac8c46
Add more debug
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23619 72102866-910b-0410-8b05-ffd578937521
2006-09-26 08:38:53 +00:00
Richard Frith-MacDonald
e0024db991
Some more style/offset checking.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23613 72102866-910b-0410-8b05-ffd578937521
2006-09-25 13:49:32 +00:00
Richard Frith-MacDonald
12d46e24ea
Revert exposure event change as it causes too many problems
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23608 72102866-910b-0410-8b05-ffd578937521
2006-09-24 19:19:21 +00:00
Richard Frith-MacDonald
c5ef09b08c
Fix minor coordinate mapping issue
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23606 72102866-910b-0410-8b05-ffd578937521
2006-09-24 18:58:43 +00:00
Richard Frith-MacDonald
38c35f71c3
Don't request colormap and property notifications that we don't use
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23605 72102866-910b-0410-8b05-ffd578937521
2006-09-24 18:21:21 +00:00
Richard Frith-MacDonald
1b6a91ff4d
Send expose events to the front end.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23601 72102866-910b-0410-8b05-ffd578937521
2006-09-24 07:39:51 +00:00
Richard Frith-MacDonald
012ff3eecb
applies patch for improved shm debugging
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23484 72102866-910b-0410-8b05-ffd578937521
2006-09-13 05:00:08 +00:00
Richard Frith-MacDonald
3b5ee43d94
fix for bug 17713
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23483 72102866-910b-0410-8b05-ffd578937521
2006-09-13 04:50:13 +00:00
Richard Frith-MacDonald
657222ee92
Fixup for art flush
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23467 72102866-910b-0410-8b05-ffd578937521
2006-09-12 14:46:25 +00:00
Richard Frith-MacDonald
9021fec40a
fixup flushwindowrect coordinate handling.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23466 72102866-910b-0410-8b05-ffd578937521
2006-09-12 13:00:10 +00:00
Richard Frith-MacDonald
eedc280b9d
Window frame/coordinate handling cleanups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23461 72102866-910b-0410-8b05-ffd578937521
2006-09-12 09:50:14 +00:00
Richard Frith-MacDonald
c15fdb8e9c
Fix transform error.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23439 72102866-910b-0410-8b05-ffd578937521
2006-09-09 07:59:59 +00:00
Richard Frith-MacDonald
5c32e57883
Clarify names/comments for rectangle invalidation mechanism
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23405 72102866-910b-0410-8b05-ffd578937521
2006-09-06 17:28:54 +00:00
Richard Frith-MacDonald
85f156bb70
Fix offset error setting frame position
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23403 72102866-910b-0410-8b05-ffd578937521
2006-09-06 16:42:38 +00:00
Richard Frith-MacDonald
caf6538867
Only adjust position to allow for decorations when setting hints, not size.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23401 72102866-910b-0410-8b05-ffd578937521
2006-09-06 13:53:02 +00:00
Richard Frith-MacDonald
1548f0617f
Window frame handling fixups (bug #17377 )
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23400 72102866-910b-0410-8b05-ffd578937521
2006-09-06 11:29:32 +00:00
Fred Kiefer
0cbcc4f296
Added handlign of _NET_WM_PING.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23148 72102866-910b-0410-8b05-ffd578937521
2006-07-08 23:33:50 +00:00
Richard Frith-MacDonald
8cc7985bd4
Shut down cleanly on receipt of SIGTERM
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23144 72102866-910b-0410-8b05-ffd578937521
2006-07-07 04:14:14 +00:00
Richard Frith-MacDonald
940a0eabbe
Avoid spurious warnings produced by gcc-4.1
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@23127 72102866-910b-0410-8b05-ffd578937521
2006-07-04 21:54:48 +00:00
Fred Kiefer
ea2d620a27
Don't set cursor on root window.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22989 72102866-910b-0410-8b05-ffd578937521
2006-05-27 22:00:44 +00:00
Fred Kiefer
f4868d3a43
New method -_XFrameToXHints:for:.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22923 72102866-910b-0410-8b05-ffd578937521
2006-05-13 20:56:18 +00:00
Fred Kiefer
c7e1737369
Better styleoffsets implementation by Yen-Ju Chen <yjchenx@hotmail.com>.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22853 72102866-910b-0410-8b05-ffd578937521
2006-05-03 23:14:08 +00:00
Fred Kiefer
6a98deaae9
Support method to wrap an X window inside of GNUstep.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22852 72102866-910b-0410-8b05-ffd578937521
2006-05-03 21:12:37 +00:00
David Ayers
c352f79a30
* Source/x11/raster.c (RCreateImage): Remove unused variables.
...
* Source/x11/XGServerEvent.m (gotShmCompletion:) Declare privat
interface for shared memory handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22840 72102866-910b-0410-8b05-ffd578937521
2006-04-30 08:56:51 +00:00
Adam Fedor
e4c0a90bfb
* Source/x11/XGServerWindow.m (titlewindow::): Set NAME and ICON_NAME
...
WM properties (Patch #5014 from Yen-Ju Chen).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22829 72102866-910b-0410-8b05-ffd578937521
2006-04-26 14:50:08 +00:00
Fred Kiefer
ea871f3be2
Reset the window cache, when terminating the currnt window.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22645 72102866-910b-0410-8b05-ffd578937521
2006-03-12 23:28:26 +00:00
Fred Kiefer
23e714f886
Don't set NSHost from X display name.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22445 72102866-910b-0410-8b05-ffd578937521
2006-02-06 20:31:39 +00:00
Richard Frith-Macdonald
783e7162c7
More 64bit fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22311 72102866-910b-0410-8b05-ffd578937521
2006-01-14 17:02:51 +00:00
Richard Frith-Macdonald
fe123cdc96
Some amd64 fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22305 72102866-910b-0410-8b05-ffd578937521
2006-01-14 11:34:55 +00:00
Adam Fedor
d9db95f880
* Source/art/ARTContext.m ([ARTContext -beep]): Respect user setting
...
of bell volume.
* Source/x11/XGServe.m: Idem.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22191 72102866-910b-0410-8b05-ffd578937521
2005-12-20 20:36:59 +00:00
Adam Fedor
e33d340cd6
configure.in: Check for Xutf8LookupString
...
Source/x11/XIMInputServer.m: Use it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22172 72102866-910b-0410-8b05-ffd578937521
2005-12-17 02:45:16 +00:00
Fred Kiefer
684c01e984
Use UTF8 window title for X where possible.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22165 72102866-910b-0410-8b05-ffd578937521
2005-12-10 17:41:06 +00:00
Fred Kiefer
b846b79559
Don't user NET WM icon on Window Maker.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22043 72102866-910b-0410-8b05-ffd578937521
2005-11-18 17:53:53 +00:00
Richard Frith-Macdonald
08c5a3d3d0
Coding style fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@22020 72102866-910b-0410-8b05-ffd578937521
2005-11-16 11:40:31 +00:00
Fred Kiefer
5de50d17fd
Small cairo fixes plus NET WM icon setting.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21964 72102866-910b-0410-8b05-ffd578937521
2005-11-07 00:11:09 +00:00
Adam Fedor
85bf065924
Add/fix copyright and licenses.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21392 72102866-910b-0410-8b05-ffd578937521
2005-07-01 20:43:10 +00:00
Adam Fedor
7a3f75f9ac
Update FSF Address
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21263 72102866-910b-0410-8b05-ffd578937521
2005-05-26 22:51:53 +00:00
Fred Kiefer
47ddc6186d
Fix bug #12578 .
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21072 72102866-910b-0410-8b05-ffd578937521
2005-04-07 19:05:32 +00:00
Richard Frith-Macdonald
f9c0246d47
DnD cleanups and fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@21028 72102866-910b-0410-8b05-ffd578937521
2005-04-01 14:10:39 +00:00
Richard Frith-Macdonald
d7737164ec
Make XGDragView a subclass of GSDragView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20999 72102866-910b-0410-8b05-ffd578937521
2005-03-29 10:11:16 +00:00
Adam Fedor
aa0a031904
* configure.ac: Rewrite, avoid setting vars unecessarily. Use
...
pkg-config if possible. Switch back to xlib/winlib when other backends
don't satisfy dependancies.
* config.make, config.h: Update to match.
* GNUmakefile (SUBPROJECTS): Add Fonts
* Fonts: New folder with default nfont
* Source/x11/GNUmakefile: Remove unneeded file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20783 72102866-910b-0410-8b05-ffd578937521
2005-02-23 03:47:34 +00:00
Fred Kiefer
716fa5212a
Implemented window alpha handling for X servers that support it.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20698 72102866-910b-0410-8b05-ffd578937521
2005-02-12 18:30:56 +00:00
Alexander Malmberg
41d945a4e2
2005-02-12 13:54 Alexander Malmberg <alexander@malmberg.org>
...
* Source/x11/XGServerWindow.m (setNormalHints): If the window isn't
resizable, force the min and max sizes to be equal to the current
size.
(-placewindow::): Set the hints after updating xframe.
Fixes bug #11713 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20693 72102866-910b-0410-8b05-ffd578937521
2005-02-12 12:50:23 +00:00
Alexander Malmberg
82ca6dd14a
2005-01-21 21:51 Alexander Malmberg <alexander@malmberg.org>
...
Various warning and whitespace cleanups.
* Headers/x11/XGServerWindow.h,
* Source/art/ftfont.m,
* Source/gsc/GSGState.m,
* Source/win32/WIN32Server.m,
* Source/x11/XGDragView.m,
* Source/x11/XGServerEvent.m,
* Source/x11/XGServerWindow.m: Change signedness of various
variables.
* Tools/gpbs.m: Add missing ctype.h include.
* Source/x11/XGDrawView.m (-_setCursor): Initialize variables.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20591 72102866-910b-0410-8b05-ffd578937521
2005-01-21 20:49:29 +00:00
Adrian Robert
d64abeb81b
compute XdndPosition coordinates from X function as cached may be wrong for app icon
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20557 72102866-910b-0410-8b05-ffd578937521
2005-01-15 02:28:13 +00:00
Alexander Malmberg
455372bfec
2005-01-11 21:57 Alexander Malmberg <alexander@malmberg.org>
...
* Headers/x11/XWindowBuffer.h: Make the pending_rect ivar a struct
of int:s.
* Source/x11/XWindowBuffer.m: Add casts to remove pointer sign
warnings.
(-_exposeRect:, -_gotShmCompletion): Update uses of pending_rect.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20537 72102866-910b-0410-8b05-ffd578937521
2005-01-11 21:00:14 +00:00
Gregory John Casamento
6a708ea7a2
Correction for bug with dragview.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20504 72102866-910b-0410-8b05-ffd578937521
2004-12-30 23:36:06 +00:00
Fred Kiefer
93045595ed
Don't provide defaults for missing standard cursors.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20429 72102866-910b-0410-8b05-ffd578937521
2004-12-08 23:57:06 +00:00
Fred Kiefer
0929578d2b
Reworked KDE window level handling ones more.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20424 72102866-910b-0410-8b05-ffd578937521
2004-12-06 19:47:32 +00:00
Matt Rice
3e10117de9
2004-11-28 Matt Rice <ratmice@yahoo.com>
...
* Source/x11/XGGLFormat.m (-initWithAttributes:,append,append1): Add
missing curly brackets, fix append and append1 macros so they can safely
be used without curly brackets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20392 72102866-910b-0410-8b05-ffd578937521
2004-11-29 00:19:46 +00:00
Alexander Malmberg
34d406f5d9
2004-11-10 18:41 Alexander Malmberg <alexander@malmberg.org>
...
* Source/x11/XWindowBuffer.m (test_xshm): New function.
(test_xshm_error_handler): New function.
(+windowBufferForWindow:depthInfo:): Move XShm detection code
to test_xshm and use it to decide whether to use XShm or not.
(+initialize): Move use_xshm setting code to test_xshm.
(+_gotShmCompletion:): Don't warn if we can't find an XWindowBuffer
for the event.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20338 72102866-910b-0410-8b05-ffd578937521
2004-11-10 17:47:38 +00:00
Matt Rice
e71ab02698
2004-11-10 Matt Rice <ratmice@yahoo.com>
...
* Source/x11/XGServerWindow.m (-iconSize): Implement new method.
(-iconTileImage:): ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20337 72102866-910b-0410-8b05-ffd578937521
2004-11-10 17:14:58 +00:00
Alexander Malmberg
218d2082d9
2004-11-09 22:42 Alexander Malmberg <alexander@malmberg.org>
...
* Source/x11/XGBitmapImageRep.m: Remove dead file.
* Source/x11/GNUmakefile: Remove reference.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20333 72102866-910b-0410-8b05-ffd578937521
2004-11-09 21:44:53 +00:00
Adrian Robert
106c7e3674
new default 'GSModifiersAreKeys', if set XGServerEvent will always interpret the same key as the same keysym/modifier; also, fix typo in xlib/XGBitmap error message
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20297 72102866-910b-0410-8b05-ffd578937521
2004-11-05 04:31:26 +00:00
Fred Kiefer
e9a6af10d5
Corrected typo for GSSecondAlternateKey.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20172 72102866-910b-0410-8b05-ffd578937521
2004-09-28 18:07:25 +00:00
Adrian Robert
765884244c
final fixes after feedback from Kazunobu Kuriyama on previous commit - lookup keysym properly when key combinations are pressed in process_key_event; also, improve interpretation of modifier state on keymapnotify events (processEvent:)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20129 72102866-910b-0410-8b05-ffd578937521
2004-09-24 19:25:50 +00:00
Adam Fedor
0f4e4f317e
* Headers/x11/XGServer.h: Add 8bit fast drawing.
...
* Source/x11/XGServer.m ([XGScreenContext
-initForDisplay:screen:]): For 8bit, test for RGB_BEST_MAP.
* Source/xlib/XGBitmap.m (_pixmap_combine_alpha,
_bitmap_combine_alpha, _pixmap_read_alpha): Add 8 bit case.
(patch from Paul Secchia <paul@worldnet.att.net>).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@20033 72102866-910b-0410-8b05-ffd578937521
2004-09-08 16:22:00 +00:00
Adrian Robert
9ab8685d13
changed mapping of GNUstep modifier keys to X11 KeySyms instead of KeyCodes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19943 72102866-910b-0410-8b05-ffd578937521
2004-08-31 16:36:39 +00:00
Alexander Malmberg
0d356e9733
Update window frame handling to match -gui. Improve window resizing behavior in x11 backends.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19854 72102866-910b-0410-8b05-ffd578937521
2004-08-09 12:42:12 +00:00
Alexander Malmberg
431d4006bf
Create a icon pixmap for windowmaker.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19777 72102866-910b-0410-8b05-ffd578937521
2004-07-26 13:48:41 +00:00
Fred Kiefer
b829fc0758
Added more standard cursors.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@19639 72102866-910b-0410-8b05-ffd578937521
2004-06-28 12:27:33 +00:00